lkml.org 
[lkml]   [2011]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/3] writeback: avoid extra sync work at enqueue time
On Thu, May 05, 2011 at 02:41:22PM +0200, Christoph Hellwig wrote:
> On Thu, May 05, 2011 at 08:27:32PM +0800, Wu Fengguang wrote:
> > - wbc.wb_start = jiffies; /* livelock avoidance */
> > + oldest_jif = jiffies;
> > + wbc.older_than_this = &oldest_jif;
>
> Can't you kill the oldest_jif variable now?

Err, -ENOCOFFEE. You could only kill it if you implement Jan's suggestion
of not making older_than_this a pointer..


\
 
 \ /
  Last update: 2011-05-05 14:45    [W:0.055 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site