aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/parse-events-test.c
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2012-07-29 20:22:49 +0200
committerIngo Molnar <mingo@kernel.org>2012-07-30 11:27:25 +0200
commit194f8dcbe9629d8e9346cf96345a9c0bbf0e67ae (patch)
tree10aac2913ee4f9263af68c42682c456788d990fe /tools/perf/util/parse-events-test.c
parentuprobes: Rename vma_address() and make it return "unsigned long" (diff)
downloadlinux-dev-194f8dcbe9629d8e9346cf96345a9c0bbf0e67ae.tar.xz
linux-dev-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 <oleg@redhat.com> Acked-by: Srikar Dronamraju <srikar.vnet.ibm.com> Cc: Anton Arapov <anton@redhat.com> Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com> Link: http://lkml.kernel.org/r/20120729182249.GA20372@redhat.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/util/parse-events-test.c')
0 files changed, 0 insertions, 0 deletions