Re: [patch] optimize disk_round_stats

From: Jens Axboe
Date: Thu Oct 13 2005 - 14:21:42 EST


On Thu, Oct 13 2005, Chen, Kenneth W wrote:
> Following the same idea, it occurs to me that we should only update
> disk stat when "now" is different from disk->stamp. Otherwise, we
> are again needlessly adding zero to the stats.

Thanks, also applied.

--
Jens Axboe

-
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/