aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorChristophe Leroy <[email protected]>2022-01-14 14:05:13 -0800
committerLinus Torvalds <[email protected]>2022-01-15 16:30:26 +0200
commit677b2a8c1f25db5b09c1ef5bf72faa39ea81d9cf (patch)
tree663d5a0a7a5fade5b9edaeb0c7ef16fd320b0d23 /tools/perf/scripts/python/bin
parent43b93121056c524e2af77d561900ea856d32029c (diff)
gup: avoid multiple user access locking/unlocking in fault_in_{read/write}able
fault_in_readable() and fault_in_writeable() perform __get_user() and __put_user() in a loop, implying multiple user access locking/unlocking. To avoid that, use user access blocks. Link: https://lkml.kernel.org/r/720dcf79314acca1a78fae56d478cc851952149d.1637084492.git.christophe.leroy@csgroup.eu Signed-off-by: Christophe Leroy <[email protected]> Reviewed-by: Andreas Gruenbacher <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions