Re: [PATCH] lib/spinlock_debug: Tweak the loop time to fit different _delay()

From: Peter Zijlstra
Date: Wed Apr 30 2014 - 04:55:20 EST


On Wed, Apr 30, 2014 at 06:40:38PM -0400, Wang, Xiaoming wrote:
> loops_per_jiffy*Hz is not always 1 second exactly
> it depends on the realization of _delay() .
> delay_tsc is used as _delay() in arch/x86/lib/delay.c

This just states delay() is broken. The primary response should be to
try and fix that, no?
--
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/