[PATCH AUTOSEL 4.18 48/48] mm: slowly shrink slabs with a relatively small number of objects

2018-10-05 Thread Sasha Levin
From: Roman Gushchin [ Upstream commit 172b06c32b949759fe6313abec514bc4f15014f4 ] 9092c71bb724 ("mm: use sc->priority for slab shrink targets") changed the way that the target slab pressure is calculated and made it priority-based: delta = freeable >> priority; delta *= 4;

[PATCH AUTOSEL 4.18 48/48] mm: slowly shrink slabs with a relatively small number of objects

2018-10-05 Thread Sasha Levin
From: Roman Gushchin [ Upstream commit 172b06c32b949759fe6313abec514bc4f15014f4 ] 9092c71bb724 ("mm: use sc->priority for slab shrink targets") changed the way that the target slab pressure is calculated and made it priority-based: delta = freeable >> priority; delta *= 4;