lkml.org 
[lkml]   [2014]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/3] mm: sl[aou]b: introduce kmem_cache_zalloc_node()
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.


\
 
 \ /
  Last update: 2014-11-21 00:01    [W:1.952 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site