aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd/commit.c
diff options
context:
space:
mode:
authorMatthew Wilcox <[email protected]>2007-12-03 19:16:24 +0000
committerMatthew Wilcox <[email protected]>2007-12-04 15:39:58 +0000
commite34f44b3517fe545f7fd45a8c2f6ee1e5e4432d3 (patch)
tree826655b80622dee3cff9ddd0e9aa3ee9908627fe /fs/jbd/commit.c
parentChange dmapool free block management (diff)
downloadkernel-e34f44b3517fe545f7fd45a8c2f6ee1e5e4432d3.tar.gz
kernel-e34f44b3517fe545f7fd45a8c2f6ee1e5e4432d3.zip
pool: Improve memory usage for devices which can't cross boundaries
The previous implementation simply refused to allocate more than a boundary's worth of data from an entire page. Some users didn't know this, so specified things like SMP_CACHE_BYTES, not realising the horrible waste of memory that this was. It's fairly easy to correct this problem, just by ensuring we don't cross a boundary within a page. This even helps drivers like EHCI (which can't cross a 4k boundary) on machines with larger page sizes. Signed-off-by: Matthew Wilcox <[email protected]> Acked-by: David S. Miller <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions