diff options
author | Oleg Nesterov <[email protected]> | 2024-08-01 15:27:14 +0200 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2024-08-02 11:30:30 +0200 |
commit | 300b05621a3f85621130e356ca6ae90f6a4eec0e (patch) | |
tree | 21b66179f7ff2c05c23b8f0a5946860b6c17d3aa /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 84455e6923c79a37812930787aaa141e82afe315 (diff) |
uprobes: is_trap_at_addr: don't use get_user_pages_remote()
get_user_pages_remote() and the comment above it make no sense.
There is no task_struct passed into get_user_pages_remote() anymore, and
nowadays mm_account_fault() increments the current->min/maj_flt counters
regardless of FAULT_FLAG_REMOTE.
Reported-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Oleg Nesterov <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Jiri Olsa <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions