From: Jens Axboe <axboe@suse.de>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>,
Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: serialize access to ide device
Date: Mon, 2 Aug 2004 15:49:27 +0200 [thread overview]
Message-ID: <20040802134926.GW10496@suse.de> (raw)
In-Reply-To: <Pine.GSO.4.58.0408021540070.12449@waterleaf.sonytel.be>
On Mon, Aug 02 2004, Geert Uytterhoeven wrote:
> 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?
Good point, or perhaps just 1 instead.
--
Jens Axboe
next prev parent reply other threads:[~2004-08-02 13:51 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-02 13:11 serialize access to ide device Jens Axboe
2004-08-02 13:41 ` Geert Uytterhoeven
2004-08-02 13:49 ` Jens Axboe [this message]
2004-08-19 13:14 ` Bartlomiej Zolnierkiewicz
2004-08-19 12:32 ` Alan Cox
2004-08-21 10:32 ` Jens Axboe
2004-08-21 14:43 ` Bartlomiej Zolnierkiewicz
2004-08-21 16:21 ` Jens Axboe
2004-08-21 17:13 ` Bartlomiej Zolnierkiewicz
2004-08-23 12:15 ` Jens Axboe
2004-08-23 15:02 ` Bartlomiej Zolnierkiewicz
2004-08-23 14:50 ` Alan Cox
2004-08-23 15:10 ` Jens Axboe
2004-08-23 16:07 ` Jeff Garzik
2004-08-23 16:59 ` Jens Axboe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040802134926.GW10496@suse.de \
--to=axboe@suse.de \
--cc=B.Zolnierkiewicz@elka.pw.edu.pl \
--cc=geert@linux-m68k.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.