From: Nicholas Mc Guire
Date: Sat, 23 May 2015 14:46:30 +0200
> API compliance scanning with coccinelle flagged:
>
> Converting milliseconds to jiffies by "val * HZ / 1000" is technically
> is not a clean solution as it does not handle all corner cases correctly.
> By changing the conversion to
API compliance scanning with coccinelle flagged:
Converting milliseconds to jiffies by "val * HZ / 1000" is technically
is not a clean solution as it does not handle all corner cases correctly.
By changing the conversion to use msecs_to_jiffies(val) conversion is
correct in all cases.
in the curr
On Tue, 2015-05-19 at 18:44 -0700, Guenter Roeck wrote:
> On Tue, May 19, 2015 at 02:09:07PM -0700, Joe Perches wrote:
> > The other thing that could be done is to use
> > max(1ul, msecs_to_jiffies())
> > so that there's always some delay even if HZ <= 50
> >
> I may be mistaken, but I am quit
On Tue, May 19, 2015 at 02:09:07PM -0700, Joe Perches wrote:
> On Tue, 2015-05-19 at 16:45 -0400, David Miller wrote:
> > From: Joe Perches
> > Date: Tue, 19 May 2015 07:32:15 -0700
> >
> > > On Tue, 2015-05-19 at 12:51 +0200, Nicholas Mc Guire wrote:
> > >> Converting milliseconds to jiffies by
On Tue, 2015-05-19 at 16:45 -0400, David Miller wrote:
> From: Joe Perches
> Date: Tue, 19 May 2015 07:32:15 -0700
>
> > On Tue, 2015-05-19 at 12:51 +0200, Nicholas Mc Guire wrote:
> >> Converting milliseconds to jiffies by "val * HZ / 1000" is technically
> >> is not a clean solution as it does
From: Joe Perches
Date: Tue, 19 May 2015 07:32:15 -0700
> On Tue, 2015-05-19 at 12:51 +0200, Nicholas Mc Guire wrote:
>> Converting milliseconds to jiffies by "val * HZ / 1000" is technically
>> is not a clean solution as it does not handle all corner cases correctly.
>> By changing the conversio
On Tue, 2015-05-19 at 12:51 +0200, Nicholas Mc Guire wrote:
> Converting milliseconds to jiffies by "val * HZ / 1000" is technically
> is not a clean solution as it does not handle all corner cases correctly.
> By changing the conversion to use msecs_to_jiffies(val) conversion is
> correct in all c
API compliance scanning with coccinelle flagged:
Converting milliseconds to jiffies by "val * HZ / 1000" is technically
is not a clean solution as it does not handle all corner cases correctly.
By changing the conversion to use msecs_to_jiffies(val) conversion is
correct in all cases.
in the curr
8 matches
Mail list logo