Re: [PATCH 1/1] x86: fix text_poke
- From: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 25 Apr 2008 08:03:27 -0700 (PDT)
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/
- Follow-Ups:
- Re: [PATCH 1/1] x86: fix text_poke
- From: David Miller
- Re: [PATCH 1/1] x86: fix text_poke
- From: Ingo Molnar
- Re: [PATCH 1/1] x86: fix text_poke
- From: Andi Kleen
- Re: [PATCH 1/1] x86: fix text_poke
- References:
- Re: 2.6.25-git2: BUG: unable to handle kernel paging request at ffffffffffffffff
- From: David Miller
- [PATCH 1/1] x86: fix text_poke
- From: Jiri Slaby
- Re: 2.6.25-git2: BUG: unable to handle kernel paging request at ffffffffffffffff
- Prev by Date: Re: [ INFO: iconsistent lock state ]
- Next by Date: POHMELFS high performance network filesystem release.
- Previous by thread: [PATCH 1/1] x86: fix text_poke
- Next by thread: Re: [PATCH 1/1] x86: fix text_poke
- Index(es):
Relevant Pages
|