• Masami Hiramatsu's avatar
    kprobes: Disable booster when CONFIG_PREEMPT=y · 615d0ebb
    Masami Hiramatsu authored
    Disable kprobe booster when CONFIG_PREEMPT=y at this time,
    because it can't ensure that all kernel threads preempted on
    kprobe's boosted slot run out from the slot even using
    freeze_processes().
    
    The booster on preemptive kernel will be resumed if
    synchronize_tasks() or something like that is introduced.
    Signed-off-by: default avatarMasami Hiramatsu <mhiramat@redhat.com>
    Cc: systemtap <systemtap@sources.redhat.com>
    Cc: DLE <dle-develop@lists.sourceforge.net>
    Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
    Cc: Frederic Weisbecker <fweisbec@gmail.com>
    Cc: Jim Keniston <jkenisto@us.ibm.com>
    Cc: Mathieu Desnoyers <compudj@krystal.dyndns.org>
    Cc: Steven Rostedt <rostedt@goodmis.org>
    LKML-Reference: <20100202214904.4694.24330.stgit@dhcp-100-2-132.bos.redhat.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    615d0ebb
kprobes.c 29.5 KB