• M
    x86: Introduce text_poke_smp_batch() for batch-code modifying · 7deb18dc
    Masami Hiramatsu 提交于
    Introduce text_poke_smp_batch(). This function modifies several
    text areas with one stop_machine() on SMP. Because calling
    stop_machine() is heavy task, it is better to aggregate
    text_poke requests.
    
    ( Note: I've talked with Rusty about this interface, and
      he would not like to expand stop_machine() interface, since
      it is not for generic use. )
    Signed-off-by: NMasami Hiramatsu <mhiramat@redhat.com>
    Acked-by: NSteven Rostedt <rostedt@goodmis.org>
    Cc: Rusty Russell <rusty@rustcorp.com.au>
    Cc: Frederic Weisbecker <fweisbec@gmail.com>
    Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
    Cc: Jason Baron <jbaron@redhat.com>
    Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
    Cc: Jan Beulich <jbeulich@novell.com>
    Cc: 2nddept-manager@sdl.hitachi.co.jp
    LKML-Reference: <20101203095422.2961.51217.stgit@ltc236.sdl.hitachi.co.jp>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    7deb18dc
alternative.h 6.8 KB