Re: [PATCH 1/1] x86: fix text_poke
From: Linus Torvalds
Date: Fri Apr 25 2008 - 11:06:34 EST
On Mon, 28 Apr 2008, Jiri Slaby wrote:
>
> Thanks. Bisected mm down to git-x86.patch, bisected git-x86-latest down to
> x86: enhance DEBUG_RODATA support - alternatives
> The patch below fixes the problem for me. Comments welcome.
You're a hero, Jiri.
And that also explains why I didn't see it - I don't do modules.
Thanks a heap.
> The 0xf0 pattern comes from alternatives_smp_lock:
> text_poke(*ptr, ((unsigned char []){0xf0}), 1);
And we should really add a lot more sanity checking there.
Linus
--
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/