mm/slub: make the description of slab_min_objects helpful in doc
authorXiongwei Song <xiongwei.song@windriver.com>
Fri, 15 Dec 2023 03:41:50 +0000 (11:41 +0800)
committerVlastimil Babka <vbabka@suse.cz>
Mon, 22 Jan 2024 09:31:08 +0000 (10:31 +0100)
commit98d3b6d98f8013d4e96f40d8d4b22d4da0d3f699
treec6a6b6377bdfad0718aba9b969809edd65947886
parentcb109a9d607056915d6a0dc8e1ebfc5854c72d92
mm/slub: make the description of slab_min_objects helpful in doc

There is no a value assigned to slab_min_objects by default, it always
is 0 that is initialized by compiler if no assigned value by command line.
min_objects is calculated based on processor numbers in calculate_order().
For more details, see commit 9b2cd506e5f2 ("slub: Calculate min_objects
based on number of processors.")

Signed-off-by: Xiongwei Song <xiongwei.song@windriver.com>
Reviewed-by: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Documentation/mm/slub.rst