[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1227691375.5511.73.camel@brick>
Date: Wed, 26 Nov 2008 01:22:55 -0800
From: Harvey Harrison <harvey.harrison@...il.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Steven Rostedt <rostedt@...dmis.org>, linux-kernel@...r.kernel.org,
Ingo Molnar <mingo@...e.hu>,
Frederic Weisbecker <fweisbec@...il.com>,
containers@...ts.osdl.org,
Sukadev Bhattiprolu <sukadev@...ux.vnet.ibm.com>,
"Serge E. Hallyn" <serue@...ibm.com>,
"Eric W. Biederman" <ebiederm@...ssion.com>,
Steven Rostedt <srostedt@...hat.com>
Subject: Re: [PATCH 2/5] ftrace: use code patching for ftrace graph tracer
On Wed, 2008-11-26 at 01:05 -0800, Andrew Morton wrote:
> >
> > Do you want to carry the patches to move to the new helpers until they
> > hit mainline, or would you rather I waited until they can go through
> > maintainer trees?
>
> I don't know what that means, really.
>
> > I've got the pile ready removing all of the get/put_{endian} and moving
> > to the load/store API. Not much left after that to just remove the
> > magical sizeof versions too. Just let me know what timing you'd prefer.
>
> I don't understand the dependencies and relationships here.
The pile I refer to depends on the full set of patches in -mm which
includes (I can give all the patch names if you want):
1) byteorder patches moving all remaining arches to use
include/linux/byteorder.h
2) unaligned access patches consolidating arches in
asm-generic/unaligned.h with no changes
3) move the memset-using arches and ARM to the asm-generic version
by moving __packed onto the struct rather than the struct members
4) introduce the load/store_{endian} API
Timing:
1) - 2) I hope all gets into mainline in 2.6.29.
3) I believe could go in 2.6.29, and I'm pretty confident it is OK after
talking to some compiler folks.
4) can go in with 3)
My pile is just removing users of get_unaligned/put_unaligned/{endian}_to_cpup
and using the new typesafe versions. At the end of the series we remove the old API.
>
> If you have a bunch of patches which are applicable to current mainline
> then just spray 'em out with suitable cc's and we'll see which bits
> stick where. Or is it more complicated than that?
See above, not suitable for mainline.
>
> > Also, all of this ends up being so intertwined in the aligned/unaligned
> > cases that I'd like to move most of Documentation/unaligned_memory_access.txt
> > into a new alignment_and_byteorder.txt to cover all of these new helpers.
> >
> > I started most of a byteorder document, but constantly referring to the other
> > file made it a bit tiresome, would you mind a consolidated document?
>
> Whatever you think is best. Propose something...
Thinking some more, I'll just dump the new endian docs into unaligned_access.txt
and that at least gets the documentation out there. Later on it be renamed to
something more reflective of its contents.
Harvey
--
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