[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1354932192.17101.115.camel@gandalf.local.home>
Date: Fri, 07 Dec 2012 21:03:12 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: Shan Wei <shanwei88@...il.com>
Cc: fweisbec@...il.com, Kernel-Maillist <linux-kernel@...r.kernel.org>,
mingo@...hat.com, cl@...ux-foundation.org,
Tejun Heo <htejun@...il.com>
Subject: Re: [PATCH v4 7/9] trace: use this_cpu_ptr per-cpu helper
On Fri, 2012-11-30 at 14:38 +0800, Shan Wei wrote:
> Shan Wei said, at 2012/11/16 16:34:
> > Shan Wei said, at 2012/11/13 9:53:
> >> From: Shan Wei <davidshan@...cent.com>
> >>
> >> typeof(&buffer) is a pointer to array of 1024 char, or char (*)[1024].
> >> But, typeof(&buffer[0]) is a pointer to char which match the return type of get_trace_buf().
> >> As well-known, the value of &buffer is equal to &buffer[0].
> >> so return this_cpu_ptr(&percpu_buffer->buffer[0]) can avoid type cast.
> >>
> >> Signed-off-by: Shan Wei <davidshan@...cent.com>
> >
> > Steven Rostedt, would you like to pick it up to your tree?
>
> ping......................
Sorry for the late reply. I've been hacking on other things and my queue
of stuff for tip still hasn't been pulled yet. I'll pull this into my
tree, and see if I can get it in by the merge window. If the merge
window opens this weekend, I'll add this to my 3.9 queue.
-- 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