]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm: prefer fault_around_pages to fault_around_bytes
authorLorenzo Stoakes <lstoakes@gmail.com>
Fri, 17 Mar 2023 21:58:26 +0000 (21:58 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 28 Mar 2023 23:25:07 +0000 (16:25 -0700)
commit05a289fc9f535280148e6943a0689b8601e45835
tree293be52893b07dffe4c94efa1aa8c8881f24d0e3
parent6d27929bea225e62c7c57b851c075661c2c60a28
mm: prefer fault_around_pages to fault_around_bytes

All use of this value is now at page granularity, so specify the variable
as such too.  This simplifies the logic.

We maintain the debugfs entry to ensure that there are no user-visible
changes.

Link: https://lkml.kernel.org/r/4995bad07fe9baa51c786fa0d81819dddfb57654.1679089214.git.lstoakes@gmail.com
Signed-off-by: Lorenzo Stoakes <lstoakes@gmail.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/memory.c