Re: [PATCH 06/13] writeback: bdi write bandwidth estimation

From: Peter Zijlstra
Date: Wed Nov 24 2010 - 08:42:22 EST


On Wed, 2010-11-24 at 21:20 +0800, Wu Fengguang wrote:
> > (jiffies - bdi->write_bandwidth_update_time < elapsed)
>
> this will be true if someone else has _done_ overlapped estimation,
> otherwise it will equal:
>
> jiffies - bdi->write_bandwidth_update_time == elapsed
>
> Sorry the comment needs updating.

Right, but its racy as hell..
--
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/