Commit 79bcb67e authored by Matthew Wilcox (Oracle)'s avatar Matthew Wilcox (Oracle) Committed by Greg Kroah-Hartman
Browse files

s390/mm: Convert gmap_make_secure to use a folio



[ Upstream commit d35c34bb ]

Remove uses of deprecated page APIs, and move the check for large
folios to here to avoid taking the folio lock if the folio is too large.
We could do better here by attempting to split the large folio, but I'll
leave that improvement for someone who can test it.

Acked-by: default avatarClaudio Imbrenda <imbrenda@linux.ibm.com>
Signed-off-by: default avatarMatthew Wilcox (Oracle) <willy@infradead.org>
Link: https://lore.kernel.org/r/20240322161149.2327518-3-willy@infradead.org


Signed-off-by: default avatarAlexander Gordeev <agordeev@linux.ibm.com>
Stable-dep-of: 3f29f653 ("s390/uv: Don't call folio_wait_writeback() without a folio reference")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 098ca921
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment