Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932271AbbFTQZn (ORCPT ); Sat, 20 Jun 2015 12:25:43 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:34807 "EHLO mail2-relais-roc.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750833AbbFTQZf (ORCPT ); Sat, 20 Jun 2015 12:25:35 -0400 X-IronPort-AV: E=Sophos;i="5.13,649,1427752800"; d="scan'208";a="166429631" Date: Sat, 20 Jun 2015 18:25:33 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@localhost6.localdomain6 To: Sergey Senozhatsky cc: David Rientjes , Julia Lawall , 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() In-Reply-To: <20150617235205.GA3422@swordfish> Message-ID: References: <1433851493-23685-1-git-send-email-sergey.senozhatsky@gmail.com> <1433851493-23685-2-git-send-email-sergey.senozhatsky@gmail.com> <20150617235205.GA3422@swordfish> User-Agent: Alpine 2.02 (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 Content-Length: 859 Lines: 28 On Thu, 18 Jun 2015, Sergey Senozhatsky 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. julia -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in Please read the FAQ at http://www.tux.org/lkml/