Home
last modified time | relevance | path

Searched hist:e34f44b3517fe545f7fd45a8c2f6ee1e5e4432d3 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/mm/
H A Ddmapool.cdiff e34f44b3517fe545f7fd45a8c2f6ee1e5e4432d3 Mon Dec 03 13:16:24 CST 2007 Matthew Wilcox <matthew@wil.cx> 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>