]> git.ipfire.org Git - thirdparty/linux.git/commit
s390/uv: Implement HAVE_ARCH_MAKE_FOLIO_ACCESSIBLE
authorDavid Hildenbrand <david@redhat.com>
Wed, 8 May 2024 18:29:54 +0000 (20:29 +0200)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Wed, 5 Jun 2024 15:17:25 +0000 (17:17 +0200)
commit99b3f8f76f7a9eb2816d2af5b0b9de4a11dbc721
treeaa47f346298de184f09beb3de661a70377930f85
parent7d17143469879409692dc6279794e71be4bb1196
s390/uv: Implement HAVE_ARCH_MAKE_FOLIO_ACCESSIBLE

Let's also implement HAVE_ARCH_MAKE_FOLIO_ACCESSIBLE, so we can convert
arch_make_page_accessible() to be a simple wrapper around
arch_make_folio_accessible(). Unfortunately, we cannot do that in the
header.

There are only two arch_make_page_accessible() calls remaining in gup.c.
We can now drop HAVE_ARCH_MAKE_PAGE_ACCESSIBLE completely form core-MM.
We'll handle that separately, once the s390x part landed.

Suggested-by: Matthew Wilcox <willy@infradead.org>
Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Link: https://lore.kernel.org/r/20240508182955.358628-10-david@redhat.com
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/include/asm/page.h
arch/s390/kernel/uv.c
arch/s390/mm/fault.c