]> 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>
Wed, 5 Apr 2023 23:02:29 +0000 (16:02 -0700)
commita80661af3b30d27d3e051af22d9873458100e33a
tree8f9cb715c9e1500026c33141d6eb550d70c5bc7e
parent69109fb58b12a0e9432d7b6b5488f9c6e62e5cf1
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