Messages in this thread | | | Date | Mon, 2 Mar 2009 10:28:41 -0800 | From | Arjan van de Ven <> | Subject | Re: [RFC][PATCH] x86: make text_poke() atomic |
| |
> > Use map_vm_area() instead of vmap() in text_poke() for avoiding page > allocation and delayed unmapping, and call vunmap_page_range() and > local_flush_tlb() directly because this mapping is temporary and > local. > > At the result of above change, text_poke() becomes atomic and can be > called from stop_machine() etc.
.... but text_poke() realistically needs to call stop_machine() since you can't poke live code.... so that makes me wonder how useful this is...
| |