[Devel] [PATCH] tswap, tcache: Increase shrinkers seeks

Andrey Ryabinin aryabinin at virtuozzo.com
Wed Nov 8 14:43:00 MSK 2017



On 11/08/2017 01:21 PM, Kirill Tkhai wrote:
> Commit e008b95a28ef95dd4bb08f69c89d26fc5fa7411a
> "ms/mm: use sc->priority for slab shrink targets"
> exposed the fact we shrinks too many tcache pages.
> 
> Shrinkers of {in,}active pages shrink up to 32
> pages, while tcache and tswap shrinks 128 pages.
> This became a reason of tcache active test fail.
> 
> This patch makes numbers of shrinked pages of tcache
> and tswap in consistent state with pages shrinkers,
> and restores the test-expected behaviour.
> 
> https://jira.sw.ru/browse/PSBM-72584
> 
> Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>

Acked-by: Andrey Ryabinin <aryabinin at virtuozzo.com>


More information about the Devel mailing list