Re: [PATCH for v5.8 3/3] mm/memory: fix IO cost for anonymous page

From: Johannes Weiner
Date: Tue Jun 16 2020 - 10:51:19 EST


On Tue, Jun 16, 2020 at 03:16:44PM +0900, js1304@xxxxxxxxx wrote:
> From: Joonsoo Kim <iamjoonsoo.kim@xxxxxxx>
>
> With synchronous IO swap device, swap-in is directly handled in fault
> code. Since IO cost notation isn't added there, with synchronous IO swap
> device, LRU balancing could be wrongly biased. Fix it to count it
> in fault code.
>
> Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@xxxxxxx>

Acked-by: Johannes Weiner <hannes@xxxxxxxxxxx>