]> Git Repo - linux.git/commit
mm: swap: fix vmstats for huge pages
authorShakeel Butt <[email protected]>
Wed, 3 Jun 2020 23:03:16 +0000 (16:03 -0700)
committerLinus Torvalds <[email protected]>
Thu, 4 Jun 2020 03:09:49 +0000 (20:09 -0700)
commit5d91f31faf8ebed2acfc3a1d6ac344f95c488d66
treef877c2ae5d1551b93064bcb08012b2c806a91d61
parentd483a5dd009a091d3dab3bc873335989e2cd5b08
mm: swap: fix vmstats for huge pages

Many of the callbacks called by pagevec_lru_move_fn() does not correctly
update the vmstats for huge pages. Fix that. Also __pagevec_lru_add_fn()
use the irq-unsafe alternative to update the stat as the irqs are
already disabled.

Signed-off-by: Shakeel Butt <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Acked-by: Johannes Weiner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
mm/swap.c
This page took 0.0588 seconds and 4 git commands to generate.