]> git.baikalelectronics.ru Git - kernel.git/commit
mm: correct the comment when reclaimed pages exceed the scanned pages
authorzhongjiang <zhongjiang@huawei.com>
Fri, 16 Jun 2017 21:02:40 +0000 (14:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 16 Jun 2017 21:37:05 +0000 (06:37 +0900)
commit866344d1f7354ea47b7b18505e5598250b8497f8
treecb5b5117641013f879eb5d0794ece76533d65e72
parentbc9b844b36d477d09d7b3d951b77ccea46a85356
mm: correct the comment when reclaimed pages exceed the scanned pages

Commit 6446092cb9c6 ("mm: vmpressure: fix sending wrong events on
underflow") declared that reclaimed pages exceed the scanned pages due
to the thp reclaim.

That is incorrect because THP will be spilt to normal page and loop
again, which will result in the scanned pages increment.

[akpm@linux-foundation.org: tweak comment text]
Link: http://lkml.kernel.org/r/1496824266-25235-1-git-send-email-zhongjiang@huawei.com
Signed-off-by: zhongjiang <zhongjiang@huawei.com>
Acked-by: Minchan Kim <minchan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/vmpressure.c