Hi all,

We have been investigating reclaim performance on mobile systems under 
memory pressure and noticed that slab shrinking often accounts for a 
significant portion of reclaim time in both direct reclaim and kswapd contexts.
In some cases, shrink_slab() can take noticeably long when multiple
shrinkers are active, leading to latency spikes and slower overall reclaim
progress.

To address this, we are considering an approach to move slab shrinking
into a dedicated kernel thread. The intention is to decouple slab reclaim 
from the direct reclaim and kswapd paths, allowing it to proceed 
asynchronously under controlled conditions such as system idle periods or 
specific reclaim triggers.

Motivation:

Proposed direction:

We’d like to gather community feedback on:

Thanks for your time and consideration.

Best regards,
Yifan Ji