[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240117-slab-misc-v1-0-fd1c49ccbe70@bytedance.com>
Date: Wed, 17 Jan 2024 11:45:57 +0000
From: Chengming Zhou <zhouchengming@...edance.com>
To: Hyeonggon Yoo <42.hyeyoo@...il.com>, Joonsoo Kim <iamjoonsoo.kim@....com>, Vlastimil Babka <vbabka@...e.cz>,
Christoph Lameter <cl@...ux.com>, Pekka Enberg <penberg@...nel.org>, Andrew Morton <akpm@...ux-foundation.org>,
Roman Gushchin <roman.gushchin@...ux.dev>, David Rientjes <rientjes@...gle.com>
Cc: linux-mm@...ck.org, Chengming Zhou <zhouchengming@...edance.com>, linux-kernel@...r.kernel.org
Subject: [PATCH 0/3] mm/slub: some minor optimization and cleanup
Hi,
This series include a minor optimization of cpu partial slab fastpath,
which directly load freelist from cpu partial slab in the likely case.
It has small performance improvement in testing:
perf bench sched messaging -g 5 -t -l 100000
mm-stable slub-optimize
Total time 7.473 7.209
The other two patches are cleanups, which are included for convenience.
Thanks for review and comment!
To: Christoph Lameter <cl@...ux.com>
To: Pekka Enberg <penberg@...nel.org>
To: David Rientjes <rientjes@...gle.com>
To: Joonsoo Kim <iamjoonsoo.kim@....com>
To: Andrew Morton <akpm@...ux-foundation.org>
To: Vlastimil Babka <vbabka@...e.cz>
To: Roman Gushchin <roman.gushchin@...ux.dev>
To: Hyeonggon Yoo <42.hyeyoo@...il.com>
Cc: linux-mm@...ck.org
Cc: linux-kernel@...r.kernel.org
Signed-off-by: Chengming Zhou <zhouchengming@...edance.com>
---
Chengming Zhou (3):
mm/slub: directly load freelist from cpu partial slab in the likely case
mm/slub: remove full list manipulation for non-debug slab
mm/slub: remove unused parameter in next_freelist_entry()
mm/slub.c | 31 +++++++++++++------------------
1 file changed, 13 insertions(+), 18 deletions(-)
---
base-commit: ab27740f76654ed58dd32ac0ba0031c18a6dea3b
change-id: 20240117-slab-misc-5a5f37a51257
Best regards,
--
Chengming Zhou <zhouchengming@...edance.com>
Powered by blists - more mailing lists