Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757665AbaKTWbN (ORCPT ); Thu, 20 Nov 2014 17:31:13 -0500 Received: from mail-ie0-f175.google.com ([209.85.223.175]:65180 "EHLO mail-ie0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757203AbaKTWbI (ORCPT ); Thu, 20 Nov 2014 17:31:08 -0500 Date: Thu, 20 Nov 2014 14:31:05 -0800 (PST) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: Andrey Ryabinin cc: Thomas Gleixner , linux-kernel@vger.kernel.org, Christoph Lameter , Andrew Morton , linux-mm@kvack.org, Pekka Enberg Subject: Re: [PATCH 1/3] mm: sl[aou]b: introduce kmem_cache_zalloc_node() In-Reply-To: <546DAA99.5070402@samsung.com> Message-ID: References: <1415621218-6438-1-git-send-email-a.ryabinin@samsung.com> <546DAA99.5070402@samsung.com> User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/