-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Open
Labels
Description
In linux-initialization-8.md, PID hash initialization section: Missing right parentheses after "(which" in main linux-initialization-8.md
The number of elements of the pid_hash depends on the RAM configuration, but it can be between 2^4 and 2^12. The pidhash_init computes the size and allocates the required storage (which is hlist in our case - the same as doubly linked list, but contains one pointer instead on the struct hlist_head. The alloc_large_system_hash function allocates a large system hash table with memblock_virt_alloc_nopanic if we pass HASH_EARLY flag (as it in our case) or with __vmalloc if we did no pass this flag.