[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.20.1608050919410.27772@east.gentwo.org>
Date: Fri, 5 Aug 2016 09:21:56 -0500 (CDT)
From: Christoph Lameter <cl@...ux.com>
To: Joonsoo Kim <js1304@...il.com>
cc: Aruna Ramakrishna <aruna.ramakrishna@...cle.com>,
Linux Memory Management List <linux-mm@...ck.org>,
LKML <linux-kernel@...r.kernel.org>,
Mike Kravetz <mike.kravetz@...cle.com>,
Pekka Enberg <penberg@...nel.org>,
David Rientjes <rientjes@...gle.com>,
Joonsoo Kim <iamjoonsoo.kim@....com>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH v2] mm/slab: Improve performance of gathering slabinfo
stats
On Fri, 5 Aug 2016, Joonsoo Kim wrote:
> If above my comments are fixed, all counting would be done with
> holding a lock. So, atomic definition isn't needed for the SLAB.
Ditto for slub. struct kmem_cache_node is alrady defined in mm/slab.h.
Thus it is a common definition already and can be used by both.
Making nr_slabs and total_objects unsigned long would be great.
Powered by blists - more mailing lists