| To: | jt@xxxxxxxxxx |
|---|---|
| Subject: | Re: [Kernel-janitors] Re: [patch 1/8] irda/act200l-sir: replace schedule_timeout() with msleep() |
| From: | maximilian attems <janitor@xxxxxxxxxxxxxx> |
| Date: | Thu, 2 Sep 2004 00:58:42 +0200 |
| Cc: | netdev@xxxxxxxxxxx, jgarzik@xxxxxxxxx, kj <kernel-janitors@xxxxxxxx> |
| In-reply-to: | <20040901214815.GA13071@bougret.hpl.hp.com> |
| Mail-followup-to: | jt@xxxxxxxxxx, netdev@xxxxxxxxxxx, jgarzik@xxxxxxxxx, kj <kernel-janitors@xxxxxxxx> |
| References: | <E1C2cIF-0007yy-Lb@sputnik> <20040901210929.GA11442@bougret.hpl.hp.com> <20040901214003.GC7467@stro.at> <20040901214815.GA13071@bougret.hpl.hp.com> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.6+20040722i |
On Wed, 01 Sep 2004, Jean Tourrilhes wrote: > On Wed, Sep 01, 2004 at 11:40:03PM +0200, maximilian attems wrote: > > On Wed, 01 Sep 2004, Jean Tourrilhes wrote: .. > > > > hmm we have still archs were HZ < 100. > > i find msleep use msecs units a lot more readable than > > schedule_timeout((HZ + 99) / 100); > > > > the schedule_timeout(HZ/100) gets safely converted with msleep. > > I don't have complain about converting the (HZ + 99) / 100 > expressions to something saner. My beef is the fact that msleep hide > the fact that a schedule might happen. This is important in the IrDA > code. sorry my woding was confusing: (HZ + 99) / 100 is correct! as msleep(10) -- maks kernel janitor http://janitor.kernelnewbies.org/ |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [Kernel-janitors] Re: [patch 1/8] irda/act200l-sir: replace schedule_timeout() with msleep(), Nishanth Aravamudan |
|---|---|
| Next by Date: | Re: HELP for dccp implementation., Arnaldo Carvalho de Melo |
| Previous by Thread: | Re: [Kernel-janitors] Re: [patch 1/8] irda/act200l-sir: replace schedule_timeout() with msleep(), Nishanth Aravamudan |
| Next by Thread: | [patch 2/8] irda/irtty-sir: replace schedule_timeout() with msleep(), janitor |
| Indexes: | [Date] [Thread] [Top] [All Lists] |