diff options
author | Oleg Nesterov <oleg@redhat.com> | 2012-07-29 18:22:38 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2012-07-30 09:27:22 (GMT) |
commit | 89133786f9408d53361874a8c784fff150fc7f7c (patch) | |
tree | cde422d462e963b5128ea4f103e77b2d806fdc9f /fs | |
parent | 6dab3cc078e3da0d26534410bc9e018a17031d95 (diff) | |
download | linux-89133786f9408d53361874a8c784fff150fc7f7c.tar.xz |
uprobes: Remove insert_vm_struct()->uprobe_mmap()
Remove insert_vm_struct()->uprobe_mmap(). It is not needed, nobody
except arch/ia64/kernel/perfmon.c uses insert_vm_struct(vma)
with vma->vm_file != NULL.
And it is wrong. Again, get_user_pages() can not succeed before
vma_link(vma) makes is visible to find_vma(). And even if this
worked, we must not insert the new bp before this mapping is
visible to vma_prio_tree_foreach() for uprobe_unregister().
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/20120729182238.GA20349@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions