Re: [PATCH v3 3/7] mm, slab: allocate off-slab freelists as reclaimable when appropriate
From: Christopher Lameter <hidden>
Date: 2018-07-30 15:45:04
Also in:
linux-mm, lkml
From: Christopher Lameter <hidden>
Date: 2018-07-30 15:45:04
Also in:
linux-mm, lkml
On Wed, 18 Jul 2018, Vlastimil Babka wrote:
In SLAB, OFF_SLAB caches allocate management structures (currently just the freelist) from kmalloc caches when placement in a slab page together with objects would lead to suboptimal memory usage. For SLAB_RECLAIM_ACCOUNT caches, we can allocate the freelists from the newly introduced reclaimable kmalloc caches, because shrinking the OFF_SLAB cache will in general result to freeing of the freelists as well. This should improve accounting and anti-fragmentation a bit.
Acked-by: Christoph Lameter <redacted>