diff options
| author | Oleg Nesterov <[email protected]> | 2012-07-29 18:22:49 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2012-07-30 09:27:25 +0000 |
| commit | 194f8dcbe9629d8e9346cf96345a9c0bbf0e67ae (patch) | |
| tree | 10aac2913ee4f9263af68c42682c456788d990fe /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | uprobes: Rename vma_address() and make it return "unsigned long" (diff) | |
| download | kernel-194f8dcbe9629d8e9346cf96345a9c0bbf0e67ae.tar.gz kernel-194f8dcbe9629d8e9346cf96345a9c0bbf0e67ae.zip | |
uprobes: __replace_page() needs munlock_vma_page()
Like do_wp_page(), __replace_page() should do munlock_vma_page()
for the case when the old page still has other !VM_LOCKED
mappings. Unfortunately this needs mm/internal.h.
Also, move put_page() outside of ptl lock. This doesn't really
matter but looks a bit better.
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-perl.c')
0 files changed, 0 insertions, 0 deletions
