Hello list,

In "Understanding the Linux kernel" book, it was said that the "size
of pid hash table depends on the size of RAM; for example, for the
systems having 512MB of RAM, each hash table is stored in 4 page
frames and includes 2,048 entries". How is the size of pid hash table
determined? I guess the result in the example comes from

 512MB/8KB(size of THREAD_INFO) = 2048(entries)*32(bytes)

That is say, the size of pid hash table is determined by the maximum
number of process which could stored in physical memory. Is it
correct?

/Adam

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to