• M
    kprobes: No need to unlock kprobe_insn_mutex · 4a2bb6fc
    Masami Hiramatsu 提交于
    Remove needless kprobe_insn_mutex unlocking during safety check
    in garbage collection, because if someone releases a dirty slot
    during safety check (which ensures other cpus doesn't execute
    all dirty slots), the safety check must be fail. So, we need to
    hold the mutex while checking safety.
    Signed-off-by: NMasami Hiramatsu <mhiramat@redhat.com>
    Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
    Cc: Jim Keniston <jkenisto@us.ibm.com>
    Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
    LKML-Reference: <20090630210809.17851.28781.stgit@localhost.localdomain>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    4a2bb6fc
kprobes.c 37.7 KB
新手
引导
客服 返回
顶部