summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorShakeel Butt <shakeelb@google.com>2021-01-23 21:01:15 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2021-01-24 09:20:52 -0800
commit5c447d274f3746fbed6e695e7b9a2d7bd8b31b71 (patch)
tree840806feed7f9418a63e953b8876b83e9b0832cd /.gitignore
parent8a8792f600abacd7e1b9bb667759dca1c153f64c (diff)
mm: fix numa stats for thp migration
Currently the kernel is not correctly updating the numa stats for NR_FILE_PAGES and NR_SHMEM on THP migration. Fix that. For NR_FILE_DIRTY and NR_ZONE_WRITE_PENDING, although at the moment there is no need to handle THP migration as kernel still does not have write support for file THP but to be more future proof, this patch adds the THP support for those stats as well. Link: https://lkml.kernel.org/r/20210108155813.2914586-2-shakeelb@google.com Fixes: e71769ae52609 ("mm: enable thp migration for shmem thp") Signed-off-by: Shakeel Butt <shakeelb@google.com> Acked-by: Yang Shi <shy828301@gmail.com> Reviewed-by: Roman Gushchin <guro@fb.com> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Michal Hocko <mhocko@kernel.org> Cc: Muchun Song <songmuchun@bytedance.com> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions