[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110111090615.GH12552@n2100.arm.linux.org.uk>
Date: Tue, 11 Jan 2011 09:06:15 +0000
From: Russell King - ARM Linux <linux@....linux.org.uk>
To: Stephen Boyd <sboyd@...eaurora.org>
Cc: linux-kernel@...r.kernel.org, linux-arm-msm@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] arm: mm: Poison freed init memory
On Mon, Jan 10, 2011 at 09:00:17PM -0800, Stephen Boyd wrote:
> Ok it seems that 0xcc was chosen by Pavel since it's a breakpoint
> instruction (sorry for not noticing that earlier [1]).
It may be on x86, but on ARM:
0: cccccccc stclgt 12, cr12, [ip], {204}
That's a co-processor #12 instruction which will only be executed of
the processor condition codes satisfy 'gt'.
> There was some discussion about handling initdata with Pavel's patch
> but it seems that nothing came of it?
I'm not sure who this Pavel is who you keep referring to - the message
you link to is a discussion between William Irvin and hpa.
> How about we use 0xe7fddef0? This seems to satisfy at least your first
> point for both ARM and Thumb mode (Thumb will branch to the 0xdef0
> instruction).
Yup.
--
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