ehca guys -- this looks sane to me, and I've had it sitting in my
inbox for a while.  Any objection to merging it for 2.6.25?

 - R.

 > Use round_jiffies() to align the 1 second timer with other timers and
 > potentially save power by sleeping cores for longer.
 > 
 > Signed-off-by: Anton Blanchard <[EMAIL PROTECTED]>
 > ---
 > 
 > diff --git a/drivers/infiniband/hw/ehca/ehca_main.c 
 > b/drivers/infiniband/hw/ehca/ehca_main.c
 > index 403467f..23000b7 100644
 > --- a/drivers/infiniband/hw/ehca/ehca_main.c
 > +++ b/drivers/infiniband/hw/ehca/ehca_main.c
 > @@ -902,7 +902,7 @@ void ehca_poll_eqs(unsigned long data)
 >                              ehca_process_eq(shca, 0);
 >              }
 >      }
 > -    mod_timer(&poll_eqs_timer, jiffies + HZ);
 > +    mod_timer(&poll_eqs_timer, round_jiffies(jiffies + HZ));
 >      spin_unlock(&shca_list_lock);
 >  }
 >  
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to