mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-12 09:58:36 +00:00
Fix grammar.
Submitted by: jh MFC after: 1 week
This commit is contained in:
parent
3ff863f1aa
commit
abce621c3a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=239328
@ -476,7 +476,7 @@ proc0_init(void *dummy __unused)
|
||||
knlist_init_mtx(&p->p_klist, &p->p_mtx);
|
||||
STAILQ_INIT(&p->p_ktr);
|
||||
p->p_nice = NZERO;
|
||||
/* pid_max cannot be greater then PID_MAX */
|
||||
/* pid_max cannot be greater than PID_MAX */
|
||||
td->td_tid = PID_MAX + 1;
|
||||
LIST_INSERT_HEAD(TIDHASH(td->td_tid), td, td_hash);
|
||||
td->td_state = TDS_RUNNING;
|
||||
|
@ -271,7 +271,7 @@ threadinit(void)
|
||||
mtx_init(&tid_lock, "TID lock", NULL, MTX_DEF);
|
||||
|
||||
/*
|
||||
* pid_max cannot be greater then PID_MAX.
|
||||
* pid_max cannot be greater than PID_MAX.
|
||||
* leave one number for thread0.
|
||||
*/
|
||||
tid_unrhdr = new_unrhdr(PID_MAX + 2, INT_MAX, &tid_lock);
|
||||
|
@ -98,7 +98,7 @@ nlm_client_init(void *dummy)
|
||||
int i;
|
||||
|
||||
mtx_init(&nlm_svid_lock, "NLM svid lock", NULL, MTX_DEF);
|
||||
/* pid_max cannot be greater then PID_MAX */
|
||||
/* pid_max cannot be greater than PID_MAX */
|
||||
nlm_svid_allocator = new_unrhdr(PID_MAX + 2, INT_MAX, &nlm_svid_lock);
|
||||
for (i = 0; i < NLM_SVID_HASH_SIZE; i++)
|
||||
LIST_INIT(&nlm_file_svids[i]);
|
||||
|
Loading…
Reference in New Issue
Block a user