mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
mm/rmap: Convert make_device_exclusive_range() to use folios
Move the PageTail check earlier so we can avoid even taking the folio lock on tail pages. Otherwise, this is a straightforward use of folios throughout. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
This commit is contained in:
parent
4b8554c527
commit
0d2514859c
1 changed files with 31 additions and 27 deletions
58
mm/rmap.c
58
mm/rmap.c
Loading…
Add table
Add a link
Reference in a new issue