aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorPeter Xu <[email protected]>2018-10-26 15:09:13 -0700
committerLinus Torvalds <[email protected]>2018-10-26 16:26:35 -0700
commit04d877319e2aa3895cc7998adb32de0967d3927b (patch)
tree4c2852a3c04a8be98df2847c999c45012f783f0a /tools/perf/scripts/python/exported-sql-viewer.py
parent439de0d7443789c688428429874b8e27f693c00e (diff)
userfaultfd: selftest: generalize read and poll
We do very similar things in read and poll modes, but we're copying the codes around. Share the codes properly on reading the message and handling the page fault to make the code cleaner. Meanwhile this solves previous mismatch of behaviors between the two modes on that the old code: - did not check EAGAIN case in read() mode - ignored BOUNCE_VERIFY check in read() mode Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Peter Xu <[email protected]> Acked-by: Mike Rapoport <[email protected]> Cc: Shuah Khan <[email protected]> Cc: Mike Kravetz <[email protected]> Cc: Jerome Glisse <[email protected]> Cc: Zi Yan <[email protected]> Cc: "Kirill A . Shutemov" <[email protected]> Cc: Shaohua Li <[email protected]> Cc: Andrea Arcangeli <[email protected]> Cc: "Dr . David Alan Gilbert" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions