Re: [PATCH 1/3] mm: sl[aou]b: introduce kmem_cache_zalloc_node()

From: David Rientjes
Date: Thu Nov 20 2014 - 17:31:17 EST


On Thu, 20 Nov 2014, Andrey Ryabinin wrote:

> > Is there a reason to add this for such a specialized purpose to the slab
> > allocator? I think it can just be handled for struct irq_desc explicitly.
> >
>
> It could be used not only for irq_desc. Grepping sources gave me 7 possible users.
>

It would be best to follow in the example of those users and just use
__GFP_ZERO.
--
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/