Yes, reducing max_inodes also limits dentry growth proportionally. The
number of dentries can exceed the number of inodes, as some dentries are
"negative" (indicating that a file doesn't exist), but only by a
proportion of the inode count.
So setting a sensible inode limit for small-memory machines helps with
both inode and dentry memory.
Regards,
Bill
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html