Re: why set a timer to expire at the current value of "jiffies"?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

On Sun, Mar 30, 2008 at 9:22 PM, Robert P. J. Day <rpjday@xxxxxxxxxxxxxx> wrote:
>
>   i'm sure there's a simple answer to this, but what's the value in
>  calling mod_timer() to reset a timer to expire at the current value of
>  jiffies?
>
>  $ grep -rw "mod_timer.*jiffies)" *
>  arch/x86/kernel/pci-calgary_64.c:       mod_timer(&tbl->watchdog_timer, jiffies);

Humm, to expire somewhere right at the start of next tick or at least
several microseconds after that?? (due to deferred timer execution).

regards,

Mulyadi.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux