lkml.org 
[lkml]   [2013]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 03/13] workqueue: don't set work cwq until we queued it on pool
Hello, again.

On Fri, Feb 01, 2013 at 02:41:26AM +0800, Lai Jiangshan wrote:
> @@ -110,6 +110,7 @@ struct delayed_work {
> struct work_struct work;
> struct timer_list timer;
> int cpu;
> + struct workqueue_struct *wq;

Can't we just replace delayed_work->cpu with delayed_work->cwq? That
way, we don't enlarge delayed_work while encoding both wq and cpu in
delayed_work proper.

Thanks.

--
tejun


\
 
 \ /
  Last update: 2013-02-04 23:05    [W:0.286 / U:3.416 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site