summaryrefslogtreecommitdiff
path: root/mm/debug_page_alloc.c
diff options
context:
space:
mode:
authorYe Liu <liuye@kylinos.cn>2025-04-27 18:04:40 +0800
committerAndrew Morton <akpm@linux-foundation.org>2025-05-12 23:50:37 -0700
commitb94bff767f77bd726e61797bbc1cf4b8cff264ae (patch)
treee7dceab920718851e2c7b9b98054b6d8814c95e2 /mm/debug_page_alloc.c
parentd48e8d27cd61d8485ef2c1187f3048de77af2d11 (diff)
mm/io-mapping: precompute remap protection flags for clarity
Patch series "mm: small cleanups for io-mapping, debug_page_alloc and numa". This series includes three small cleanups to mm/: - io-mapping: simplify remap protection flag calculation - debug_page_alloc: improve error message by printing invalid input - numa: remove unnecessary variable for clarity No functional changes. This patch (of 3): In io_mapping_map_user(), precompute the page protection flags in a local variable before calling remap_pfn_range_notrack(). No functional change. Link: https://lkml.kernel.org/r/20250427100442.958352-1-ye.liu@linux.dev Link: https://lkml.kernel.org/r/20250427100442.958352-2-ye.liu@linux.dev Signed-off-by: Ye Liu <liuye@kylinos.cn> Reviewed-by: David Hildenbrand <david@redhat.com> Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com> Reviewed-by: Mike Rapoport (Microsoft) <rppt@kernel.org> Cc: Liam Howlett <liam.howlett@oracle.com> Cc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com> Cc: Rik van Riel <riel@surriel.com> Cc: Vlastimil Babka <vbabka@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/debug_page_alloc.c')
0 files changed, 0 insertions, 0 deletions