Re: [PATCH 1/1] x86: fix text_poke

From: Linus Torvalds
Date: Fri Apr 25 2008 - 12:53:50 EST




On Fri, 25 Apr 2008, Ingo Molnar wrote:
>
> ah, on 64-bit. That we better make consistent anyway, via the patch
> below. set_pte_phys() needs to become non-init as well.

Make it return the "pte_t *", and now you don't have to walk the page
tables twice to just clear it immediately afterwards. At that point I
think my patch will be happy and useful, but I also worry a bit whether it
was worth the changes..

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/