[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+55aFxJGidV4=ot0z_Va8+y2QWTDYghTm1Gin84StZ+R1SfXg@mail.gmail.com>
Date: Fri, 29 Nov 2013 16:22:01 -0800
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Jiri Kosina <jkosina@...e.cz>
Cc: Oleg Nesterov <oleg@...hat.com>, Andi Kleen <andi@...stfloor.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
"the arch/x86 maintainers" <x86@...nel.org>,
Andi Kleen <ak@...ux.intel.com>,
"H. Peter Anvin" <hpa@...or.com>, Ingo Molnar <mingo@...nel.org>,
Borislav Petkov <bp@...en8.de>
Subject: Re: [PATCH] Add a text_poke syscall v2
On Fri, Nov 29, 2013 at 3:24 PM, Jiri Kosina <jkosina@...e.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists