Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754177AbbGPI0P (ORCPT ); Thu, 16 Jul 2015 04:26:15 -0400 Received: from mail-pd0-f171.google.com ([209.85.192.171]:35081 "EHLO mail-pd0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753459AbbGPI0L (ORCPT ); Thu, 16 Jul 2015 04:26:11 -0400 Date: Thu, 16 Jul 2015 17:26:43 +0900 From: Sergey Senozhatsky To: Julia Lawall Cc: Sergey Senozhatsky , David Rientjes , Andrew Morton , Minchan Kim , Christoph Lameter , Pekka Enberg , Joonsoo Kim , Michal Hocko , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Sergey Senozhatsky Subject: Re: [RFC][PATCH 1/5] mm/slab_common: allow NULL cache pointer in kmem_cache_destroy() Message-ID: <20150716082643.GA622@swordfish> References: <1433851493-23685-1-git-send-email-sergey.senozhatsky@gmail.com> <1433851493-23685-2-git-send-email-sergey.senozhatsky@gmail.com> <20150617235205.GA3422@swordfish> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23+102 (2ca89bed6448) (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1214 Lines: 35 On (06/20/15 18:25), Julia Lawall wrote: > > On (06/17/15 16:14), David Rientjes wrote: > > [..] > > > > > > > > Signed-off-by: Sergey Senozhatsky > > > > Reported-by: Andrew Morton > > > > LKML-reference: https://lkml.org/lkml/2015/6/8/583 > > > > > > Acked-by: David Rientjes > > > > > > kmem_cache_destroy() isn't a fastpath, this is long overdue. Now where's > > > the patch to remove the NULL checks from the callers? ;) > > > > > > > Thanks. > > > > Yes, Julia Lawall (Cc'd) already has a patch set ready for submission. > > The patch for making these functions able to tolerate NULL doesn't seem to > be in linux-next yet, so I will wait until it appears. Hello Julia, The patches are in -next now. mm/dmapool: 8bf49946ed8fa01a0b5e7d0de94655c072525344 mm/mempool: eb54bc8469e2977bcef4e284d24cbf3578ce9cd9 mm/slab_common: e88672f95907c14cf8ab2cce592c41bbb9cefc5f -ss -- 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/