Re: [PATCH 16/35] writeback: increase min pause time on concurrentdirtiers

From: Peter Zijlstra
Date: Tue Dec 14 2010 - 15:24:54 EST


On Tue, 2010-12-14 at 15:13 -0500, Valdis.Kletnieks@xxxxxx wrote:
> So you're not guaranteed that 10*HZ is 10 seconds. 10*USER_HZ, sure.
> But not HZ.

You're confused. 10*HZ jiffies is always 10 seconds. Hertz means
per-second. We take CONFIG_HZ ticks per second, so waiting HZ jiffies
makes us wait 1 second.

USER_HZ is archaic and only used to stabilize user-interfaces that for
some daft reason depended on HZ.
--
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/