[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4CB85CF0.1040900@kernel.org>
Date: Fri, 15 Oct 2010 15:53:52 +0200
From: Tejun Heo <tj@...nel.org>
To: Robert Richter <robert.richter@....com>,
oprofile-list@...ts.sf.net, lkml <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2.6.36-rc7] oprofile: don't use flush_scheduled_work()
On 10/15/2010 03:51 PM, Tejun Heo wrote:
> flush_scheduled_work() is deprecated and scheduled to be removed.
> sync_stop() currently cancels cpu_buffer works inside buffer_mutex and
> flushes the system workqueue outside. Instead, split end_cpu_work()
> into two parts - stopping further work enqueues and flushing works -
> and do the former inside buffer_mutex and latter outside.
>
> Signed-off-by: Tejun Heo <tj@...nel.org>
Ooh, BTW, the global symbols in cpu_buffer seem a bit too generic. I
don't think oprofile should be defining alloc/free_cpu_buffers() and
start/end/flush_cpu_work(). Maybe it would be a good idea to add op_
prefix to them?
Thanks.
--
tejun
--
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