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

2020-06-29 Thread Vlastimil Babka
On 6/16/20 8:16 AM, js1...@gmail.com wrote: > From: Joonsoo Kim > > 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

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

2020-06-16 Thread Johannes Weiner
On Tue, Jun 16, 2020 at 03:16:44PM +0900, js1...@gmail.com wrote: > From: Joonsoo Kim > > 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

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

2020-06-16 Thread js1304
From: Joonsoo Kim 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 --- mm/memory.c | 8