Re: jiffies - Where does it get updated in the Kernel ?

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

 



Hi,

Le Fri, 5 Oct 2007 10:37:43 -0400,
"Tony Mouawad" <tonym.ace@xxxxxxxxx> a écrit :

> My problem seems to be that the jiffies variable is not being updated.
>  It looks like jiffies is a common value in the kernel and it looks
> like it gets updated somewhere.  My question is where do I look in the
> kernel to see how the jiffies variable gets updated?

arch/m68k/kernel/time.c:timer_interrupt() calls
kernel/timer.c:do_timer() which updates jiffies_64.

If jiffies is not updated, it's likely that your timer interrupt is not
properly working.

Sincerly,

Thomas
-- 
Thomas Petazzoni - thomas.petazzoni@xxxxxxxx
http://{thomas,sos,kos}.enix.org - http://www.toulibre.org
http://www.{livret,agenda}dulibre.org

--
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