Re: [PATCH] Add a text_poke syscall

From: Steven Rostedt
Date: Thu Nov 21 2013 - 07:49:32 EST


On Wed, Nov 20, 2013 at 08:42:03AM -0800, H. Peter Anvin wrote:
> We're talking user space here, which has different requirement (COW,
> memory protection, ...) which means it is not really the same code. You
> can't take a page fault while patching the kernel.

Well, technically you can take a page fault while patching the kernel. It
happens all the time when patching modules (vmalloc'd).

But I get your point. You don't have to worry about COW or being paged
out. "page fault" is just too general of a term. And yes, I'm being anal ;-)

-- Steve

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/