summaryrefslogtreecommitdiffstats
path: root/mm/gup.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2021-11-05 13:37:13 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2021-11-06 13:30:34 -0700
commitf8ee8909ac818e555ef18b57b0ee4b9fd0478b82 (patch)
tree9e086f771c7c0a799c1545a48a5995526edd5b29 /mm/gup.c
parentd417b49fff3e2f21043c834841e8623a6098741d (diff)
downloadlinux-f8ee8909ac818e555ef18b57b0ee4b9fd0478b82.tar.gz
linux-f8ee8909ac818e555ef18b57b0ee4b9fd0478b82.tar.bz2
linux-f8ee8909ac818e555ef18b57b0ee4b9fd0478b82.zip
mm: move more expensive part of XA setup out of mapping check
The fast path here is not needing any writeback, yet we spend time setting up the xarray lookup data upfront. Move the part that actually needs to iterate the address space mapping into a separate helper, saving ~30% of the time here. Link: https://lkml.kernel.org/r/49f67983-b802-8929-edab-d807f745c9ca@kernel.dk Signed-off-by: Jens Axboe <axboe@kernel.dk> Cc: Matthew Wilcox <willy@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/gup.c')
0 files changed, 0 insertions, 0 deletions