lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Thu, 20 May 2010 00:54:01 +0900 (JST)
From:	Round Robinjp <roundrobinjp@...oo.co.jp>
To:	linux-kernel@...r.kernel.org
Subject: timer/hrtimer: how do they work

Hi

I am trying to understand how timer/hrtimer work.
I am not yet clear about the following points. Please help.

I understand that there are two types of timer queues:
   - timer wheel
   - hrtimer

I also understand that there are separate sets of APIs
for adding and removing timers into those queues.

Now I want to  understand:
   - when and how the timers are armed
   - how are they processed when fired

When and how the timers are armed:

For hrtimers, it seems that they are armed in hrtimer_interrupt.
Where are the timer wheel timers armed?

How are they processed when fired:

For hrtimers, it seems that they are processed in hrtimer_run_queues.
Where are the timer wheel timers processed?

Is there any doc or something which may help me understand
the call sequence of the related source code?

Thanks
RR

--------------------------------------
2010 FIFA World Cup News [Yahoo!Sports/sportsnavi]
http://pr.mail.yahoo.co.jp/southafrica2010/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ