aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorVlastimil Babka <[email protected]>2022-11-21 11:44:54 +0100
committerVlastimil Babka <[email protected]>2022-11-27 23:38:53 +0100
commit90ce872c22b248724d1c87232410e3b38536e107 (patch)
treed1b3d89e7c05361bef1b3317fc5599e13112396f /drivers/fpga/fpga-mgr.c
parent5a8a3c1f73c6488d1a2c18ac1f5308b1fd2aa5f0 (diff)
mm, slub: lower the default slub_max_order with CONFIG_SLUB_TINY
With CONFIG_SLUB_TINY we want to minimize memory overhead. By lowering the default slub_max_order we can make slab allocations use smaller pages. However depending on object sizes, order-0 might not be the best due to increased fragmentation. When testing on a 8MB RAM k210 system by Damien Le Moal [1], slub_max_order=1 had the best results, so use that as the default for CONFIG_SLUB_TINY. [1] https://lore.kernel.org/all/[email protected]/ Signed-off-by: Vlastimil Babka <[email protected]> Acked-by: Roman Gushchin <[email protected]> Reviewed-by: Hyeonggon Yoo <[email protected]> Acked-by: Mike Rapoport <[email protected]> Reviewed-by: Christoph Lameter <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions