From: Bodo Eggert <7eggert@gmx.de>
To: Con Kolivas <kernel@kolivas.org>
Cc: "Daniel Marjamäki" <daniel.marjamaki@comhem.se>,
linux-kernel@vger.kernel.org, 7eggert@gmx.de,
nish.aravamudan@gmail.com
Subject: Re: I made a patch and would like feedback/testers (drivers/cdrom/aztcd.c)
Date: Mon, 21 Nov 2005 17:33:48 +0100 (CET) [thread overview]
Message-ID: <Pine.LNX.4.58.0511211729510.2082@be1.lrz> (raw)
In-Reply-To: <200511211919.11429.kernel@kolivas.org>
On Mon, 21 Nov 2005, Con Kolivas wrote:
> On Mon, 21 Nov 2005 19:09, Daniel Marjamäki wrote:
> > The way I do it:
> > All systems will give me a delay for at least a few ms.
> > I get the shortest timeout possible on each computer.
>
> Convention in the kernel would be
> aztTimeOut = HZ / 100 ? : 1;
> to be at least one tick (works for HZ even below 100) and is at least 10ms.
You have to add one to the timeout, since you might be just before the end
of the timeslice when the delay starts. aztTimeOut = (HZ / 100 ? : 1) + 1;
--
Top 100 things you don't want the sysadmin to say:
11. Can you get VMS for this Sparc thingy?
next prev parent reply other threads:[~2005-11-21 16:32 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <5aZsv-3CJ-17@gated-at.bofh.it>
2005-11-20 20:58 ` Bodo Eggert
2005-11-20 21:07 ` Nish Aravamudan
2005-11-21 8:09 ` Daniel Marjamäki
2005-11-21 8:19 ` Con Kolivas
2005-11-21 8:42 ` Daniel Marjamäki
2005-11-21 9:11 ` Con Kolivas
2005-11-21 10:47 ` Nick Piggin
2005-11-21 15:08 ` Nish Aravamudan
2005-11-21 16:33 ` Bodo Eggert [this message]
2005-11-20 15:29 Daniel Marjamäki
2005-11-20 15:38 ` Arjan van de Ven
2005-11-20 17:15 ` Thomas Gleixner
2005-11-20 21:04 ` Nish Aravamudan
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=Pine.LNX.4.58.0511211729510.2082@be1.lrz \
--to=7eggert@gmx.de \
--cc=daniel.marjamaki@comhem.se \
--cc=kernel@kolivas.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nish.aravamudan@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®