[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1270577758.19685.15557.camel@gandalf.stny.rr.com>
Date: Tue, 06 Apr 2010 14:15:58 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: David Miller <davem@...emloft.net>
Cc: srostedt@...hat.com, fweisbec@...il.com,
sparclinux@...r.kernel.org, linux-kernel@...r.kernel.org,
mingo@...e.hu, acme@...hat.com, a.p.zijlstra@...llo.nl,
paulus@...ba.org
Subject: Re: Random scheduler/unaligned accesses crashes with perf lock
events on sparc 64
On Tue, 2010-04-06 at 10:46 -0700, David Miller wrote:
> From: Steven Rostedt <srostedt@...hat.com>
> Date: Tue, 06 Apr 2010 09:41:04 -0400
>
> > It's best to send to my rostedt@...dmis.org account, just like it is
> > best to send to your davem@...emloft.net ;-)
>
> Ok then you should, like me, use it in your commits :-)
>
My SoB is rostedt@...dmis.org, my commits are srostedt@...hat.com just
because I want to give credit to the one that pays me for making those
commits ;-)
> > What about removing the logic from the ring buffer and moving it to the
> > TRACE_EVENT() macros as I suggested above?
>
> No, that makes no sense, just align the data types properly
> instead of making every single access site pay the price.
OK
>
> Just fix the CPP test to handle 32-bit platforms with slow
> mis-alignment handling, everything else seems to be working properly
> after I fixed the NMI issues on sparc64.
A little more work will need to be done since on 32bit, the page headers
are 12 bytes, not 16, so we start off without being aligned 8bytes. But
that too is fixable.
-- Steve
--
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