1 --- linux-2.6.32-131.6.1/fs/buffer.c
2 +++ linux-2.6.32-131.6.1-pdo/fs/buffer.c
4 * The LRUs themselves only need locking against invalidate_bh_lrus. We use
5 * a local interrupt disable for that.
9 +#define BH_LRU_SIZE CONFIG_BH_LRU_SIZE
12 struct buffer_head *bhs[BH_LRU_SIZE];
13 --- linux-2.6.32-131.6.1/fs/Kconfig
14 +++ linux-2.6.32-131.6.1-pdo/fs/Kconfig
16 source "fs/nls/Kconfig"
17 source "fs/dlm/Kconfig"
20 + int "buffer head per-CPU LRU size"
24 + This sets the per-CPU LRU size for buffer heads in memory.
25 + More complex filesystems may be modiyfing multiple blocks
26 + within a single transaction, so keeping the buffer heads in
27 + CPU-local cache speeds up modifations significantly.