Re: allowed pages in the block later, was Re: [Ext2-devel] [PATCH] ext3: avoid sending down non-refcounted pages
From: Christoph Hellwig
Date: Mon Dec 12 2005 - 12:26:22 EST
On Thu, Dec 08, 2005 at 03:58:46PM +0200, Pekka Enberg wrote:
> Hi Christoph,
>
> On 12/8/05, Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:
> > One way to work around that would be to detect kmalloced pages and use
> > a slowpath for that. The major issues with that is that we don't have a
> > reliable way to detect if a given struct page comes from the slab allocator
> > or not.
>
> Why doesn't PageSlab work for you?
When I looked last time it was a noop without slab debugging enabled,
but that's not the case in current mainline anymore.
If the VM people agree with that usage we could at least use it to fall
back to slow-path. Even better would be to require normal pages, though.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/