Re: serialize access to ide device
From: Geert Uytterhoeven
Date: Mon Aug 02 2004 - 08:44:01 EST
On Mon, 2 Aug 2004, Jens Axboe wrote:
> + schedule_timeout(HZ/100);
Hmm, we still have a few platforms where HZ < 100.
Probably safer to use `schedule_timeout((HZ+99)/100);'?
BTW, did anyone ever audit the kernel for such usages?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-
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/