diff options
author | Oleg Nesterov <oleg@redhat.com> | 2013-10-13 21:18:38 +0200 |
---|---|---|
committer | Oleg Nesterov <oleg@redhat.com> | 2013-10-29 18:02:51 +0100 |
commit | af0d95af79773f7637107cd3871aaabcb425f15a (patch) | |
tree | 0d71695828416dd2bf157dccd608434bdffa8bbf /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 6441ec8b7c108b72789d120562b9f1d976e4aaaf (diff) |
uprobes: Teach __create_xol_area() to accept the predefined vaddr
Currently xol_add_vma() uses get_unmapped_area() for area->vaddr,
but the next patches need to use the fixed address. So this patch
adds the new "vaddr" argument to __create_xol_area() which should
be used as area->vaddr if it is nonzero.
xol_add_vma() doesn't bother to verify that the predefined addr is
not used, insert_vm_struct() should fail if find_vma_links() detects
the overlap with the existing vma.
Also, __create_xol_area() doesn't need __GFP_ZERO to allocate area.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions