Re: [PATCH] mm: fix LRU balancing effect of new transparent huge pages

From: Andrew Morton
Date: Mon May 11 2020 - 17:11:25 EST


On Sat, 9 May 2020 07:19:46 -0700 Shakeel Butt <shakeelb@xxxxxxxxxx> wrote:

> Currently, THP are counted as single pages until they are split right
> before being swapped out. However, at that point the VM is already in
> the middle of reclaim, and adjusting the LRU balance then is useless.
>
> Always account THP by the number of basepages, and remove the fixup
> from the splitting path.

Confused. What kernel is this applicable to?