[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230908145302.30320-6-vbabka@suse.cz>
Date: Fri, 8 Sep 2023 16:53:03 +0200
From: Vlastimil Babka <vbabka@...e.cz>
To: David Rientjes <rientjes@...gle.com>,
Christoph Lameter <cl@...ux.com>,
Hyeonggon Yoo <42.hyeyoo@...il.com>,
Jay Patel <jaypatel@...ux.ibm.com>
Cc: Roman Gushchin <roman.gushchin@...ux.dev>,
Pekka Enberg <penberg@...nel.org>,
Joonsoo Kim <iamjoonsoo.kim@....com>, linux-mm@...ck.org,
patches@...ts.linux.dev, linux-kernel@...r.kernel.org,
Vlastimil Babka <vbabka@...e.cz>
Subject: [PATCH 0/4] SLUB: calculate_order() cleanups
Since reviewing recent patches made me finally dig into these functions
in details for the first time, I've also noticed some opportunities for
cleanups that should make them simpler and also deliver more consistent
results for some corner case object sizes (probably not seen in
practice). Thus patch 3 can increase slab orders somewhere, but only in
the way that was already intended. Otherwise it's almost no functional
changes.
Vlastimil Babka (4):
mm/slub: simplify the last resort slab order calculation
mm/slub: remove min_objects loop from calculate_order()
mm/slub: attempt to find layouts up to 1/2 waste in calculate_order()
mm/slub: refactor calculate_order() and calc_slab_order()
mm/slub.c | 63 ++++++++++++++++++++++++-------------------------------
1 file changed, 27 insertions(+), 36 deletions(-)
--
2.42.0
Powered by blists - more mailing lists