Re: clean up SLAB_KERNEL non-usage
Christoph Hellwig (hch@infradead.org)
Sat, 15 Feb 2003 16:48:24 +0000
On Sat, Feb 15, 2003 at 04:03:24AM -0800, William Lee Irwin III wrote:
> On Sat, Feb 15, 2003 at 03:40:54AM -0800, William Lee Irwin III wrote:
> >> Use SLAB_KERNEL and SLAB_ATOMIC instead of GFP_KERNEL and GFP_ATOMIC
> >> when passing args to slab allocation functions.
>
> On Sat, Feb 15, 2003 at 11:49:31AM +0000, Christoph Hellwig wrote:
> > Why? I'd prefer to completly get rid of the SLAB_ flags instead.
> > (stupid slowaris compat..)
>
> IMHO different API, different flags. The inverse is not that difficult
> to produce, though.
I don't think this make much sense - kmalloc is a a different interface to
the same slab code and uses GFP_ flags, and __alloc_pages uses it aswell.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/