lkml.org 
[lkml]   [2014]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH tip/core/timers 3/4] timers: Reduce future __run_timers() latency for newly emptied list
On Wed, Jan 15, 2014 at 03:54:05PM -0500, Steven Rostedt wrote:
> On Tue, 14 Jan 2014 21:20:47 -0800
> "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> wrote:
>
>
> > diff --git a/kernel/timer.c b/kernel/timer.c
> > index 295837e5e011..bdd1c00ec4ec 100644
> > --- a/kernel/timer.c
> > +++ b/kernel/timer.c
> > @@ -700,6 +700,7 @@ static int detach_if_pending(struct timer_list *timer, struct tvec_base *base,
> > base->next_timer = base->timer_jiffies;
> > }
> > base->all_timers--;
> > + (void)catchup_timer_jiffies(base);
>
> Why the "(void)" ?

Just a way of saying "I really did intend to ignore the return value."

Thanx, Paul

> -- Steve
>
> > return 1;
> > }
> >
>



\
 
 \ /
  Last update: 2014-01-16 01:21    [W:0.295 / U:2.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site