diff options
author | 2025-05-14 18:06:04 +0100 | |
---|---|---|
committer | 2025-05-31 22:46:07 -0700 | |
commit | d9736929445e7f4c60f0093af61ff0b52e2d4412 (patch) | |
tree | a48299526fda77f2f7daabdc407e42bf677a7610 /tools/perf/scripts/python/stackcollapse.py | |
parent | ntfs3: use folios more in ntfs_compress_write() (diff) | |
download | wireguard-linux-d9736929445e7f4c60f0093af61ff0b52e2d4412.tar.xz wireguard-linux-d9736929445e7f4c60f0093af61ff0b52e2d4412.zip |
iov: remove copy_page_from_iter_atomic()
All callers now use copy_folio_from_iter_atomic(), so convert
copy_page_from_iter_atomic(). While I'm in there, use kmap_local_folio()
and pagefault_disable() instead of kmap_atomic(). That allows preemption
and/or task migration to happen during the copy_from_user(). Also use the
new folio_test_partial_kmap() predicate instead of open-coding it.
Link: https://lkml.kernel.org/r/20250514170607.3000994-4-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Hugh Dickins <hughd@google.com>
Cc: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions