On 16/05/2025 15:03, Christian König wrote:
On 5/16/25 15:41, Tvrtko Ursulin wrote:
But because TTM shrinker does not currently update shrinkerctl->nr_scanned,
shrinker core assumes TTM looked at full SHRINK_BATCH pages with every call, and
adds and decrements that value to the counters it u
On 5/16/25 15:41, Tvrtko Ursulin wrote:
>>> But because TTM shrinker does not currently update shrinkerctl->nr_scanned,
>>> shrinker core assumes TTM looked at full SHRINK_BATCH pages with every
>>> call, and adds and decrements that value to the counters it uses to
>>> determine when to stop tr
On 16/05/2025 12:46, Christian König wrote:
On 5/16/25 13:21, Tvrtko Ursulin wrote:
On 16/05/2025 09:23, Christian König wrote:
On 5/15/25 22:57, Tvrtko Ursulin wrote:
Currently the TTM pool shrinker ensures it frees at least something every
time it is invoked, but it also lies to the core
On 5/16/25 13:21, Tvrtko Ursulin wrote:
>
> On 16/05/2025 09:23, Christian König wrote:
>> On 5/15/25 22:57, Tvrtko Ursulin wrote:
>>> Currently the TTM pool shrinker ensures it frees at least something every
>>> time it is invoked, but it also lies to the core a bit on how hard it
>>> tried.
>>>
On 16/05/2025 09:23, Christian König wrote:
On 5/15/25 22:57, Tvrtko Ursulin wrote:
Currently the TTM pool shrinker ensures it frees at least something every
time it is invoked, but it also lies to the core a bit on how hard it
tried.
For example core will ask it to free SHRINK_BATCH pages bu
On 5/15/25 22:57, Tvrtko Ursulin wrote:
> Currently the TTM pool shrinker ensures it frees at least something every
> time it is invoked, but it also lies to the core a bit on how hard it
> tried.
>
> For example core will ask it to free SHRINK_BATCH pages but the shrinker
> can, due how it walks
Currently the TTM pool shrinker ensures it frees at least something every
time it is invoked, but it also lies to the core a bit on how hard it
tried.
For example core will ask it to free SHRINK_BATCH pages but the shrinker
can, due how it walks the LRU list of pools, free just a single page and
s
Currently the TTM pool shrinker ensures it frees at least something every
time it is invoked, but it also lies to the core a bit on how hard it
tried.
For example core will ask it to free SHRINK_BATCH pages but the shrinker
can, due how it walks the LRU list of pools, free just a single page and
s