aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorOleg Nesterov <[email protected]>2012-07-29 20:22:18 +0200
committerIngo Molnar <[email protected]>2012-07-30 11:27:19 +0200
commit089ba999dc881a7549d97c55ac9e0052d061867d (patch)
treee5278f9ecb3a7405545b940b9b64abeb2121b4cc /tools/perf/util/scripting-engines/trace-event-python.c
parentc517ee744b96e441d9c731e245f83c6d08dc0a19 (diff)
uprobes: Kill write_opcode()->lock_page(new_page)
write_opcode() does lock_page(new_page) for no reason. Nobody can see this page until __replace_page() exposes it under ptl lock, and we do nothing with this page after pte_unmap_unlock(). If nothing else, the similar code in do_wp_page() doesn't lock the new page for page_add_new_anon_rmap/set_pte_at_notify. Signed-off-by: Oleg Nesterov <[email protected]> Acked-by: Srikar Dronamraju <srikar.vnet.ibm.com> Cc: Anton Arapov <[email protected]> Cc: Srikar Dronamraju <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions