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

From: Andrey Ryabinin
Date: Fri Nov 21 2014 - 01:30:23 EST


On 11/21/2014 01:31 AM, David Rientjes wrote:
> 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.
>

Fair enough.
--
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/