diff options
author | Matthew Wilcox <matthew@wil.cx> | 2007-12-03 14:16:24 -0500 |
---|---|---|
committer | Matthew Wilcox <matthew@wil.cx> | 2007-12-04 10:39:58 -0500 |
commit | e34f44b3517fe545f7fd45a8c2f6ee1e5e4432d3 (patch) | |
tree | 826655b80622dee3cff9ddd0e9aa3ee9908627fe /mm/Makefile | |
parent | a35a3455142976e3fffdf27027f3082cbaba6e8c (diff) | |
download | linux-e34f44b3517fe545f7fd45a8c2f6ee1e5e4432d3.tar.bz2 |
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 <willy@linux.intel.com>
Acked-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/Makefile')
0 files changed, 0 insertions, 0 deletions