summaryrefslogtreecommitdiffstats
path: root/mm/page_table_check.c
diff options
context:
space:
mode:
authorPasha Tatashin <pasha.tatashin@soleen.com>2022-02-03 20:49:20 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2022-02-04 09:25:04 -0800
commite59a47b8a45353d9ee234aab2d229474e09885df (patch)
treeba6a2ec22142ae72af8e168df16c9da1241b2e1a /mm/page_table_check.c
parent64d8b9e14512ceb7bf11b235faeb8531aeb4d9d3 (diff)
downloadlinux-stable-e59a47b8a45353d9ee234aab2d229474e09885df.tar.gz
linux-stable-e59a47b8a45353d9ee234aab2d229474e09885df.tar.bz2
linux-stable-e59a47b8a45353d9ee234aab2d229474e09885df.zip
mm/khugepaged: unify collapse pmd clear, flush and free
Unify the code that flushes, clears pmd entry, and frees the PTE table level into a new function collapse_and_free_pmd(). This cleanup is useful as in the next patch we will add another call to this function to iterate through PTE prior to freeing the level for page table check. Link: https://lkml.kernel.org/r/20220131203249.2832273-4-pasha.tatashin@soleen.com Signed-off-by: Pasha Tatashin <pasha.tatashin@soleen.com> Acked-by: David Rientjes <rientjes@google.com> Cc: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> Cc: Anshuman Khandual <anshuman.khandual@arm.com> Cc: Dave Hansen <dave.hansen@linux.intel.com> Cc: Greg Thelen <gthelen@google.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Hugh Dickins <hughd@google.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Jiri Slaby <jirislaby@kernel.org> Cc: Mike Rapoport <rppt@kernel.org> Cc: Muchun Song <songmuchun@bytedance.com> Cc: Paul Turner <pjt@google.com> Cc: Wei Xu <weixugc@google.com> Cc: Will Deacon <will@kernel.org> Cc: Zi Yan <ziy@nvidia.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/page_table_check.c')
0 files changed, 0 insertions, 0 deletions