]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm: Add arch_make_folio_accessible()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Sat, 24 Apr 2021 18:50:36 +0000 (14:50 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Sat, 14 Aug 2021 21:26:58 +0000 (17:26 -0400)
commitbc51910a9f3eb023b1322022160ee9e9033fc852
tree76f53ba1f59f34466623bd3d7fba6330296726c2
parent258aa9e135a0088dcec061d479926c9b59b67dde
mm: Add arch_make_folio_accessible()

As a default implementation, call arch_make_page_accessible n times.
If an architecture can do better, it can override this.

Also move the default implementation of arch_make_page_accessible()
from gfp.h to mm.h.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: David Howells <dhowells@redhat.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
include/linux/gfp.h
include/linux/mm.h