aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mmdebug.h
diff options
context:
space:
mode:
authorSidhartha Kumar <sidhartha.kumar@oracle.com>2025-05-28 15:20:13 -0400
committerAndrew Morton <akpm@linux-foundation.org>2025-07-09 22:41:54 -0700
commitcdf48aa83279d4369ec6195f716468950c4440ca (patch)
tree654af5d92620431fd21a17b76d59ca682ea1537b /include/linux/mmdebug.h
parenttools/testing/selftests: add VMA merge tests for KSM merge (diff)
downloadlinux-rng-cdf48aa83279d4369ec6195f716468950c4440ca.tar.xz
linux-rng-cdf48aa83279d4369ec6195f716468950c4440ca.zip
mm/hugetlb: convert hugetlb_change_protection() to folios
The for loop inside hugetlb_change_protection() increments by the huge page size: psize = huge_page_size(h); for (; address < end; address += psize) so we are operating on the head page of the huge pages between address and end. We can safely convert the struct page usage to struct folio. Link: https://lkml.kernel.org/r/20250528192013.91130-1-sidhartha.kumar@oracle.com Signed-off-by: Sidhartha Kumar <sidhartha.kumar@oracle.com> Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Oscar Salvador <osalvador@suse.de> Cc: Muchun Song <muchun.song@linux.dev> Cc: Sidhartha Kumar <sidhartha.kumar@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/mmdebug.h')
0 files changed, 0 insertions, 0 deletions