aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAl Viro <[email protected]>2020-02-16 19:56:36 +0000
committerAl Viro <[email protected]>2020-05-29 20:11:28 +0000
commit73e800ecb67bf24c0508c63350c1dc509f00b1ce (patch)
tree7f5d2b239ddd0884a20990caafb3b9a80da2c247 /tools/perf/scripts/python
parentget rid of csum_partial_copy_to_user() (diff)
downloadkernel-73e800ecb67bf24c0508c63350c1dc509f00b1ce.tar.gz
kernel-73e800ecb67bf24c0508c63350c1dc509f00b1ce.zip
x86_64: csum_..._copy_..._user(): switch to unsafe_..._user()
We already have stac/clac pair around the calls of csum_partial_copy_generic(). Stretch that area back, so that it covers the preceding loop (and convert the loop body from __{get,put}_user() to unsafe_{get,put}_user()). That brings the beginning of the areas to the earlier access_ok(), which allows to convert them into user_access_{begin,end}() ones. Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions