From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ie0-f172.google.com (mail-ie0-f172.google.com [209.85.223.172]) by kanga.kvack.org (Postfix) with ESMTP id BA65C6B0071 for ; Fri, 21 Nov 2014 04:57:29 -0500 (EST) Received: by mail-ie0-f172.google.com with SMTP id ar1so4615750iec.3 for ; Fri, 21 Nov 2014 01:57:29 -0800 (PST) Received: from mail-ie0-x231.google.com (mail-ie0-x231.google.com. [2607:f8b0:4001:c03::231]) by mx.google.com with ESMTPS id sb4si5229849igb.38.2014.11.21.01.57.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 21 Nov 2014 01:57:28 -0800 (PST) Received: by mail-ie0-f177.google.com with SMTP id rd18so4375816iec.8 for ; Fri, 21 Nov 2014 01:57:28 -0800 (PST) Date: Fri, 21 Nov 2014 01:57:26 -0800 (PST) From: David Rientjes Subject: Re: [PATCH 1/3] mm: sl[aou]b: introduce kmem_cache_zalloc_node() In-Reply-To: <546EDBE0.10103@samsung.com> Message-ID: References: <1415621218-6438-1-git-send-email-a.ryabinin@samsung.com> <546DAA99.5070402@samsung.com> <546EDBE0.10103@samsung.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Andrey Ryabinin Cc: Thomas Gleixner , linux-kernel@vger.kernel.org, Christoph Lameter , Andrew Morton , linux-mm@kvack.org, Pekka Enberg On Fri, 21 Nov 2014, Andrey Ryabinin wrote: > 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. > Thanks, and feel free to add my Acked-by: David Rientjes email@kvack.org