PID hash table entries allocated as 2^N struct hlist_head
s, which on a 64bit system are 8 bytes each. 2^12*8 = 32768
.
Inode/Dentry caches are allocated as 2^N pages, usually 4096 bytes each. 2^15*4096 = 134217728
.
This info is available in the source, kernel/pid.c
and fs/inode.c
respectively.