Messages in this thread | | | Date | Fri, 29 Nov 2013 16:22:01 -0800 | Subject | Re: [PATCH] Add a text_poke syscall v2 | From | Linus Torvalds <> |
| |
On Fri, Nov 29, 2013 at 3:24 PM, Jiri Kosina <jkosina@suse.cz> wrote: > > Do you think this'd be faster than the int3-based aproach?
Unlikely to be faster, but perhaps more robust and more portable. Maybe.
And the reason we use the int3-based approach is that doing TLB shootdowns of kernel mappings is completely out of the question, not to mention not portable (kernel code may not even be in a page table to begin with).
Remember: the current text_poke is all about kernel code. So the rules for user space may well be entirely different.
Linus
| |