tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pool_cache, big items and physical address
On Sun, Jan 13, 2008 at 10:37:56PM +0100, Manuel Bouyer wrote:
> On Sun, Jan 13, 2008 at 10:10:32PM +0100, Manuel Bouyer wrote:
> > Hi,
> > when a pool cache is used with items larger than a page size
> > (I want 3 * PAGE_SIZE), do we have any guarantee that the
> > memory returned will be physically contigous ?
> >
> > I couldn't find information on this in the man page.
>
> It looks like pool(9) can't be used for object larger than PAGE_SIZE.
It can, but you have to fake up a "page" allocator as the buffer cache
does. A warning -- the items must then be power-of-2 in size.
Thor
Home |
Main Index |
Thread Index |
Old Index