Thread (67 messages) 67 messages, 6 authors, 2016-06-24

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

From: Minchan Kim <minchan@kernel.org>
Date: 2016-06-08 07:27:21
Also in: lkml

On Mon, Jun 06, 2016 at 03:48:30PM -0400, Johannes Weiner 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.

Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Minchan Kim <minchan@kernel.org>

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help