Re: [PATCH 3/3] writeback: avoid extra sync work at enqueue time

From: Christoph Hellwig
Date: Thu May 05 2011 - 08:41:27 EST


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?

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/