summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/uprobes.h
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2012-08-19 16:15:09 +0200
committerOleg Nesterov <oleg@redhat.com>2012-09-15 17:37:27 +0200
commit9f68f672c47b9bd4cfe0a667ecb0b1382c61e2de (patch)
treeeb389851ce75fa15ad2b5e34c88d4c6af1fb197a /arch/x86/include/asm/uprobes.h
parent6f47caa0e1e4887aa2ddca8388d058d35725d815 (diff)
downloadop-kernel-dev-9f68f672c47b9bd4cfe0a667ecb0b1382c61e2de.zip
op-kernel-dev-9f68f672c47b9bd4cfe0a667ecb0b1382c61e2de.tar.gz
uprobes: Introduce MMF_RECALC_UPROBES
Add the new MMF_RECALC_UPROBES flag, it means that MMF_HAS_UPROBES can be false positive after remove_breakpoint() or uprobe_munmap(). It is also set by uprobe_dup_mmap(), this is not optimal but simple. We could add the new hook, uprobe_dup_vma(), to set MMF_HAS_UPROBES only if the new mm actually has uprobes, but I don't think this makes sense. The next patch will use this flag to clear MMF_HAS_UPROBES. Signed-off-by: Oleg Nesterov <oleg@redhat.com> Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Diffstat (limited to 'arch/x86/include/asm/uprobes.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud