Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mm/zsmalloc.c: fix the migrated zspage statistics.
When zspage is migrated to the other zone, the zone page state should be updated as well, otherwise the NR_ZSPAGE for each zone shows wrong counts including proc/zoneinfo in practice. Link: http://lkml.kernel.org/r/[email protected] Fixes: 91537fe ("mm: add NR_ZSMALLOC to vmstat") Signed-off-by: Chanho Min <[email protected]> Signed-off-by: Jinsuk Choi <[email protected]> Reviewed-by: Sergey Senozhatsky <[email protected]> Acked-by: Minchan Kim <[email protected]> Cc: <[email protected]> [4.9+] Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information