Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1169378

Re: [RFC][PATCH 1/5] mm/slab_common: allow NULL cache pointer in kmem_cache_destroy()

From Julia Lawall <julia.lawall@lip6.fr>
Newsgroups linux.kernel
Subject Re: [RFC][PATCH 1/5] mm/slab_common: allow NULL cache pointer in kmem_cache_destroy()
Date 2015-06-20 18:30 +0200
Message-ID <pDtOx-36l-5@gated-at.bofh.it> (permalink)
References <pzqvT-682-7@gated-at.bofh.it> <pzqvU-682-23@gated-at.bofh.it> <pCuMI-7y2-77@gated-at.bofh.it> <pCvpo-8ib-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On Thu, 18 Jun 2015, Sergey Senozhatsky wrote:

> On (06/17/15 16:14), David Rientjes wrote:
> [..]
> > > 
> > > Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
> > > Reported-by: Andrew Morton <akpm@linux-foundation.org>
> > > LKML-reference: https://lkml.org/lkml/2015/6/8/583
> > 
> > Acked-by: David Rientjes <rientjes@google.com>
> > 
> > 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/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [RFC][PATCH 1/5] mm/slab_common: allow NULL cache pointer in  kmem_cache_destroy() David Rientjes <rientjes@google.com> - 2015-06-18 01:20 +0200
  Re: [RFC][PATCH 1/5] mm/slab_common: allow NULL cache pointer in  kmem_cache_destroy() Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2015-06-18 02:00 +0200
    Re: [RFC][PATCH 1/5] mm/slab_common: allow NULL cache pointer in  kmem_cache_destroy() Julia Lawall <julia.lawall@lip6.fr> - 2015-06-20 18:30 +0200

csiph-web