On Sun, Dec 27, 2020 at 10:13:10AM -0800, Shakeel Butt wrote:
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.
Fixes: e71769ae52609 ("mm: enable thp migration for shmem thp") Signed-off-by: Shakeel Butt shakeelb@google.com Cc: stable@vger.kernel.org
With the typo fix ("__mod_zone_page_tate")
Reviewed-by: Roman Gushchin guro@fb.com
Thanks!