]> git.neil.brown.name Git - history.git/commit
Waste less memory in dentries.
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 8 May 2004 13:38:51 +0000 (06:38 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 8 May 2004 13:38:51 +0000 (06:38 -0700)
commit293889f585892e214fabd84449ea137ab41634c2
tree2870fba3e6299a0b7bea6c1d8f5263dae634ed74
parent82f1671aa016f8529b97c201111f030998a89e5d
Waste less memory in dentries.

We don't bother aligining them on a cacheline boundary, since
that is totally excessive in some configurations (especially
P4's with 128-byte cachelines).

Instead, we make the minimum inline string size a bit longer,
and re-order a few fields that allow for better packing on
64-bit architectures, for better memory utilization.
fs/dcache.c
include/linux/dcache.h