x86: implement atomic text_poke() via fixmap
authorMasami Hiramatsu <mhiramat@redhat.com>
Fri, 6 Mar 2009 15:37:54 +0000 (10:37 -0500)
committerIngo Molnar <mingo@elte.hu>
Fri, 6 Mar 2009 15:49:01 +0000 (16:49 +0100)
Use fixmaps instead of vmap/vunmap in text_poke() for avoiding
page allocation and delayed unmapping.

At the result of above change, text_poke() becomes atomic and can be called
from stop_machine() etc.

Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Acked-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
LKML-Reference: <49B14352.2040705@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found