[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090228221944.GG21230@elf.ucw.cz>
Date: Sat, 28 Feb 2009 23:19:44 +0100
From: Pavel Machek <pavel@....cz>
To: Andi Kleen <andi@...stfloor.org>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH 4/6] ftrace, x86: make kernel text writable only for
conversions
On Sat 2009-02-28 23:12:28, Andi Kleen wrote:
> Pavel Machek <pavel@....cz> writes:
>
> [trimmed cc list]
>
> >> If you mean other attributes like large page vs small page: it's normally legal,
> >> with a few exceptions.
> >
> > ...but is it okay on other architectures, like sparc, with funky cache
> > setups?
>
> I don't know for sure (how about you look it up in a sparc manual?), but
> I would assume it's also not safe there. I know it's not allowed in IA64
> at least, with even some stricter rules than on x86.
So using aliases for kernel text rewriting is bad idea because it
would break ia64? That was what the thread was about. (Sorry, no ia64
or sparc manuals nearby).
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
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