2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-16 01:27:50 -08:00
|
|
|
|
2007-02-16 01:28:03 -08:00
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-02-01 03:05:13 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
2007-02-16 01:28:03 -08:00
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
|
|
|
|
|
2008-04-30 00:55:04 -07:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-16 01:28:00 -08:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-03-16 01:18:42 -07:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-16 01:28:00 -08:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-02-01 03:05:11 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
2007-02-16 01:27:50 -08:00
|
|
|
|
|
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
2007-02-16 01:27:50 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
2007-02-16 01:27:50 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
2007-02-16 01:27:50 -08:00
|
|
|
|
|
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-10 01:45:59 -08:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-01-09 20:52:39 -08:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
2006-03-26 01:38:05 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-16 01:27:50 -08:00
|
|
|
|
2006-03-26 01:38:05 -08:00
|
|
|
|
|
|
|
|
|
2007-03-16 13:38:21 -08:00
|
|
|
|
2006-03-26 01:38:05 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-07-24 17:47:43 -07:00
|
|
|
|
2007-03-16 13:38:21 -08:00
|
|
|
|
2006-03-26 01:38:05 -08:00
|
|
|
|
|
|
|
|
|
2007-02-16 01:27:26 -08:00
|
|
|
|
2007-03-16 13:38:21 -08:00
|
|
|
|
2007-02-16 01:27:50 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-03-26 01:38:05 -08:00
|
|
|
|
|
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-16 01:27:50 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
2007-02-16 01:27:50 -08:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-16 01:27:50 -08:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-16 01:27:50 -08:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-16 01:27:50 -08:00
|
|
|
|
|
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
2007-02-16 01:27:50 -08:00
|
|
|
|
|
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
2007-02-16 01:27:50 -08:00
|
|
|
|
|
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-16 01:27:50 -08:00
|
|
|
|
|
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-16 01:27:50 -08:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
2007-02-16 01:27:50 -08:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
2007-02-16 01:27:50 -08:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-04-27 15:31:24 -07:00
|
|
|
|
|
|
|
|
|
2007-08-19 17:16:05 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
timerfd: new timerfd API
This is the new timerfd API as it is implemented by the following patch:
int timerfd_create(int clockid, int flags);
int timerfd_settime(int ufd, int flags,
const struct itimerspec *utmr,
struct itimerspec *otmr);
int timerfd_gettime(int ufd, struct itimerspec *otmr);
The timerfd_create() API creates an un-programmed timerfd fd. The "clockid"
parameter can be either CLOCK_MONOTONIC or CLOCK_REALTIME.
The timerfd_settime() API give new settings by the timerfd fd, by optionally
retrieving the previous expiration time (in case the "otmr" parameter is not
NULL).
The time value specified in "utmr" is absolute, if the TFD_TIMER_ABSTIME bit
is set in the "flags" parameter. Otherwise it's a relative time.
The timerfd_gettime() API returns the next expiration time of the timer, or
{0, 0} if the timerfd has not been set yet.
Like the previous timerfd API implementation, read(2) and poll(2) are
supported (with the same interface). Here's a simple test program I used to
exercise the new timerfd APIs:
http://www.xmailserver.org/timerfd-test2.c
[akpm@linux-foundation.org: coding-style cleanups]
[akpm@linux-foundation.org: fix ia64 build]
[akpm@linux-foundation.org: fix m68k build]
[akpm@linux-foundation.org: fix mips build]
[akpm@linux-foundation.org: fix alpha, arm, blackfin, cris, m68k, s390, sparc and sparc64 builds]
[heiko.carstens@de.ibm.com: fix s390]
[akpm@linux-foundation.org: fix powerpc build]
[akpm@linux-foundation.org: fix sparc64 more]
Signed-off-by: Davide Libenzi <davidel@xmailserver.org>
Cc: Michael Kerrisk <mtk-manpages@gmx.net>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Davide Libenzi <davidel@xmailserver.org>
Cc: Michael Kerrisk <mtk-manpages@gmx.net>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Michael Kerrisk <mtk.manpages@gmail.com>
Cc: Davide Libenzi <davidel@xmailserver.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-04 22:27:26 -08:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
2008-05-22 19:25:11 -03:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
2008-05-22 19:25:11 -03:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
timerfd: new timerfd API
This is the new timerfd API as it is implemented by the following patch:
int timerfd_create(int clockid, int flags);
int timerfd_settime(int ufd, int flags,
const struct itimerspec *utmr,
struct itimerspec *otmr);
int timerfd_gettime(int ufd, struct itimerspec *otmr);
The timerfd_create() API creates an un-programmed timerfd fd. The "clockid"
parameter can be either CLOCK_MONOTONIC or CLOCK_REALTIME.
The timerfd_settime() API give new settings by the timerfd fd, by optionally
retrieving the previous expiration time (in case the "otmr" parameter is not
NULL).
The time value specified in "utmr" is absolute, if the TFD_TIMER_ABSTIME bit
is set in the "flags" parameter. Otherwise it's a relative time.
The timerfd_gettime() API returns the next expiration time of the timer, or
{0, 0} if the timerfd has not been set yet.
Like the previous timerfd API implementation, read(2) and poll(2) are
supported (with the same interface). Here's a simple test program I used to
exercise the new timerfd APIs:
http://www.xmailserver.org/timerfd-test2.c
[akpm@linux-foundation.org: coding-style cleanups]
[akpm@linux-foundation.org: fix ia64 build]
[akpm@linux-foundation.org: fix m68k build]
[akpm@linux-foundation.org: fix mips build]
[akpm@linux-foundation.org: fix alpha, arm, blackfin, cris, m68k, s390, sparc and sparc64 builds]
[heiko.carstens@de.ibm.com: fix s390]
[akpm@linux-foundation.org: fix powerpc build]
[akpm@linux-foundation.org: fix sparc64 more]
Signed-off-by: Davide Libenzi <davidel@xmailserver.org>
Cc: Michael Kerrisk <mtk-manpages@gmx.net>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Davide Libenzi <davidel@xmailserver.org>
Cc: Michael Kerrisk <mtk-manpages@gmx.net>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Michael Kerrisk <mtk.manpages@gmail.com>
Cc: Davide Libenzi <davidel@xmailserver.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-04 22:27:26 -08:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-02-13 09:20:43 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-04-30 00:55:04 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-09-29 15:47:42 +02:00
|
|
|
|
|
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-09-29 15:47:42 +02:00
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
2008-04-30 00:55:04 -07:00
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-03-06 01:42:08 -08:00
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
2007-07-21 04:37:36 -07:00
|
|
|
|
|
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-03-06 01:42:08 -08:00
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-07-21 04:37:36 -07:00
|
|
|
|
|
|
|
|
|
2007-03-06 01:42:08 -08:00
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-10-29 16:35:29 +11:00
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
2007-03-06 01:42:08 -08:00
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
|
|
|
|
|
2008-04-28 09:23:24 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-03-06 01:42:08 -08:00
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-01-25 21:08:31 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-04-28 09:23:24 +02:00
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[PATCH] Add debugging feature /proc/timer_stat
Add /proc/timer_stats support: debugging feature to profile timer expiration.
Both the starting site, process/PID and the expiration function is captured.
This allows the quick identification of timer event sources in a system.
Sample output:
# echo 1 > /proc/timer_stats
# cat /proc/timer_stats
Timer Stats Version: v0.1
Sample period: 4.010 s
24, 0 swapper hrtimer_stop_sched_tick (hrtimer_sched_tick)
11, 0 swapper sk_reset_timer (tcp_delack_timer)
6, 0 swapper hrtimer_stop_sched_tick (hrtimer_sched_tick)
2, 1 swapper queue_delayed_work_on (delayed_work_timer_fn)
17, 0 swapper hrtimer_restart_sched_tick (hrtimer_sched_tick)
2, 1 swapper queue_delayed_work_on (delayed_work_timer_fn)
4, 2050 pcscd do_nanosleep (hrtimer_wakeup)
5, 4179 sshd sk_reset_timer (tcp_write_timer)
4, 2248 yum-updatesd schedule_timeout (process_timeout)
18, 0 swapper hrtimer_restart_sched_tick (hrtimer_sched_tick)
3, 0 swapper sk_reset_timer (tcp_delack_timer)
1, 1 swapper neigh_table_init_no_netlink (neigh_periodic_timer)
2, 1 swapper e1000_up (e1000_watchdog)
1, 1 init schedule_timeout (process_timeout)
100 total events, 25.24 events/sec
[ cleanups and hrtimers support from Thomas Gleixner <tglx@linutronix.de> ]
[bunk@stusta.de: nr_entries can become static]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: john stultz <johnstul@us.ibm.com>
Cc: Roman Zippel <zippel@linux-m68k.org>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-02-16 01:28:13 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
2007-10-20 01:56:53 +02:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-16 01:27:50 -08:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-03-26 01:38:06 -08:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-01-16 15:58:55 -07:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
timerfd: new timerfd API
This is the new timerfd API as it is implemented by the following patch:
int timerfd_create(int clockid, int flags);
int timerfd_settime(int ufd, int flags,
const struct itimerspec *utmr,
struct itimerspec *otmr);
int timerfd_gettime(int ufd, struct itimerspec *otmr);
The timerfd_create() API creates an un-programmed timerfd fd. The "clockid"
parameter can be either CLOCK_MONOTONIC or CLOCK_REALTIME.
The timerfd_settime() API give new settings by the timerfd fd, by optionally
retrieving the previous expiration time (in case the "otmr" parameter is not
NULL).
The time value specified in "utmr" is absolute, if the TFD_TIMER_ABSTIME bit
is set in the "flags" parameter. Otherwise it's a relative time.
The timerfd_gettime() API returns the next expiration time of the timer, or
{0, 0} if the timerfd has not been set yet.
Like the previous timerfd API implementation, read(2) and poll(2) are
supported (with the same interface). Here's a simple test program I used to
exercise the new timerfd APIs:
http://www.xmailserver.org/timerfd-test2.c
[akpm@linux-foundation.org: coding-style cleanups]
[akpm@linux-foundation.org: fix ia64 build]
[akpm@linux-foundation.org: fix m68k build]
[akpm@linux-foundation.org: fix mips build]
[akpm@linux-foundation.org: fix alpha, arm, blackfin, cris, m68k, s390, sparc and sparc64 builds]
[heiko.carstens@de.ibm.com: fix s390]
[akpm@linux-foundation.org: fix powerpc build]
[akpm@linux-foundation.org: fix sparc64 more]
Signed-off-by: Davide Libenzi <davidel@xmailserver.org>
Cc: Michael Kerrisk <mtk-manpages@gmx.net>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Davide Libenzi <davidel@xmailserver.org>
Cc: Michael Kerrisk <mtk-manpages@gmx.net>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Michael Kerrisk <mtk.manpages@gmail.com>
Cc: Davide Libenzi <davidel@xmailserver.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-04 22:27:26 -08:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
timerfd: new timerfd API
This is the new timerfd API as it is implemented by the following patch:
int timerfd_create(int clockid, int flags);
int timerfd_settime(int ufd, int flags,
const struct itimerspec *utmr,
struct itimerspec *otmr);
int timerfd_gettime(int ufd, struct itimerspec *otmr);
The timerfd_create() API creates an un-programmed timerfd fd. The "clockid"
parameter can be either CLOCK_MONOTONIC or CLOCK_REALTIME.
The timerfd_settime() API give new settings by the timerfd fd, by optionally
retrieving the previous expiration time (in case the "otmr" parameter is not
NULL).
The time value specified in "utmr" is absolute, if the TFD_TIMER_ABSTIME bit
is set in the "flags" parameter. Otherwise it's a relative time.
The timerfd_gettime() API returns the next expiration time of the timer, or
{0, 0} if the timerfd has not been set yet.
Like the previous timerfd API implementation, read(2) and poll(2) are
supported (with the same interface). Here's a simple test program I used to
exercise the new timerfd APIs:
http://www.xmailserver.org/timerfd-test2.c
[akpm@linux-foundation.org: coding-style cleanups]
[akpm@linux-foundation.org: fix ia64 build]
[akpm@linux-foundation.org: fix m68k build]
[akpm@linux-foundation.org: fix mips build]
[akpm@linux-foundation.org: fix alpha, arm, blackfin, cris, m68k, s390, sparc and sparc64 builds]
[heiko.carstens@de.ibm.com: fix s390]
[akpm@linux-foundation.org: fix powerpc build]
[akpm@linux-foundation.org: fix sparc64 more]
Signed-off-by: Davide Libenzi <davidel@xmailserver.org>
Cc: Michael Kerrisk <mtk-manpages@gmx.net>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Davide Libenzi <davidel@xmailserver.org>
Cc: Michael Kerrisk <mtk-manpages@gmx.net>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Michael Kerrisk <mtk.manpages@gmail.com>
Cc: Davide Libenzi <davidel@xmailserver.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-04 22:27:26 -08:00
|
|
|
|
2006-03-26 01:38:06 -08:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
2008-09-01 15:02:30 -07:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-01-12 11:47:34 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
2006-03-26 01:38:11 -08:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
2008-09-01 15:02:30 -07:00
|
|
|
|
|
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-09-01 15:02:30 -07:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-05-08 00:31:58 -07:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-16 01:27:50 -08:00
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-07-21 04:37:36 -07:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
2008-04-30 00:55:04 -07:00
|
|
|
|
|
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-09-01 15:02:30 -07:00
|
|
|
|
|
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
2007-07-21 04:37:36 -07:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
2007-07-21 04:37:36 -07:00
|
|
|
|
|
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-01-12 11:25:54 +01:00
|
|
|
|
|
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
2007-07-21 04:37:36 -07:00
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
2007-02-16 01:27:51 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-01-12 11:25:54 +01:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
2007-02-16 01:27:50 -08:00
|
|
|
|
2007-02-16 01:27:51 -08:00
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-16 01:27:51 -08:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-16 01:27:50 -08:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
2007-02-16 01:27:51 -08:00
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-04-30 00:55:04 -07:00
|
|
|
|
[PATCH] Add debugging feature /proc/timer_stat
Add /proc/timer_stats support: debugging feature to profile timer expiration.
Both the starting site, process/PID and the expiration function is captured.
This allows the quick identification of timer event sources in a system.
Sample output:
# echo 1 > /proc/timer_stats
# cat /proc/timer_stats
Timer Stats Version: v0.1
Sample period: 4.010 s
24, 0 swapper hrtimer_stop_sched_tick (hrtimer_sched_tick)
11, 0 swapper sk_reset_timer (tcp_delack_timer)
6, 0 swapper hrtimer_stop_sched_tick (hrtimer_sched_tick)
2, 1 swapper queue_delayed_work_on (delayed_work_timer_fn)
17, 0 swapper hrtimer_restart_sched_tick (hrtimer_sched_tick)
2, 1 swapper queue_delayed_work_on (delayed_work_timer_fn)
4, 2050 pcscd do_nanosleep (hrtimer_wakeup)
5, 4179 sshd sk_reset_timer (tcp_write_timer)
4, 2248 yum-updatesd schedule_timeout (process_timeout)
18, 0 swapper hrtimer_restart_sched_tick (hrtimer_sched_tick)
3, 0 swapper sk_reset_timer (tcp_delack_timer)
1, 1 swapper neigh_table_init_no_netlink (neigh_periodic_timer)
2, 1 swapper e1000_up (e1000_watchdog)
1, 1 init schedule_timeout (process_timeout)
100 total events, 25.24 events/sec
[ cleanups and hrtimers support from Thomas Gleixner <tglx@linutronix.de> ]
[bunk@stusta.de: nr_entries can become static]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: john stultz <johnstul@us.ibm.com>
Cc: Roman Zippel <zippel@linux-m68k.org>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-02-16 01:28:13 -08:00
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-20 13:33:36 +02:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
2008-09-07 10:47:46 -07:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-09-07 10:47:46 -07:00
|
|
|
|
|
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
2007-02-16 01:27:50 -08:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
2008-04-28 09:23:24 +02:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-16 01:27:49 -08:00
|
|
|
|
2008-02-13 09:20:43 +01:00
|
|
|
|
2006-02-14 13:53:15 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-02-13 09:20:43 +01:00
|
|
|
|
2006-02-14 13:53:15 -08:00
|
|
|
|
|
|
|
|
|
2008-04-30 00:55:04 -07:00
|
|
|
|
2008-09-07 10:47:46 -07:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
[PATCH] Add debugging feature /proc/timer_stat
Add /proc/timer_stats support: debugging feature to profile timer expiration.
Both the starting site, process/PID and the expiration function is captured.
This allows the quick identification of timer event sources in a system.
Sample output:
# echo 1 > /proc/timer_stats
# cat /proc/timer_stats
Timer Stats Version: v0.1
Sample period: 4.010 s
24, 0 swapper hrtimer_stop_sched_tick (hrtimer_sched_tick)
11, 0 swapper sk_reset_timer (tcp_delack_timer)
6, 0 swapper hrtimer_stop_sched_tick (hrtimer_sched_tick)
2, 1 swapper queue_delayed_work_on (delayed_work_timer_fn)
17, 0 swapper hrtimer_restart_sched_tick (hrtimer_sched_tick)
2, 1 swapper queue_delayed_work_on (delayed_work_timer_fn)
4, 2050 pcscd do_nanosleep (hrtimer_wakeup)
5, 4179 sshd sk_reset_timer (tcp_write_timer)
4, 2248 yum-updatesd schedule_timeout (process_timeout)
18, 0 swapper hrtimer_restart_sched_tick (hrtimer_sched_tick)
3, 0 swapper sk_reset_timer (tcp_delack_timer)
1, 1 swapper neigh_table_init_no_netlink (neigh_periodic_timer)
2, 1 swapper e1000_up (e1000_watchdog)
1, 1 init schedule_timeout (process_timeout)
100 total events, 25.24 events/sec
[ cleanups and hrtimers support from Thomas Gleixner <tglx@linutronix.de> ]
[bunk@stusta.de: nr_entries can become static]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: john stultz <johnstul@us.ibm.com>
Cc: Roman Zippel <zippel@linux-m68k.org>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-02-16 01:28:13 -08:00
|
|
|
|
|
|
|
|
|
2007-03-28 13:17:18 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
2008-04-28 09:23:24 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-07-03 14:31:26 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
2008-04-28 09:23:24 +02:00
|
|
|
|
|
|
|
|
|
2008-07-03 14:31:26 -04:00
|
|
|
|
2008-04-28 09:23:24 +02:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
2008-09-07 10:47:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-20 13:33:36 +02:00
|
|
|
|
2008-09-07 10:47:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-05-30 21:26:09 -07:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
2008-09-07 10:47:46 -07:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-06-25 05:49:15 -07:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-16 01:27:50 -08:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-16 01:27:51 -08:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-05-30 21:26:09 -07:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-04-10 22:54:13 -07:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
2006-05-30 21:26:09 -07:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-16 01:27:50 -08:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-09-01 15:02:30 -07:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-05-30 21:26:09 -07:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
2008-04-20 13:59:33 +01:00
|
|
|
|
2006-03-06 15:42:45 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-16 01:27:50 -08:00
|
|
|
|
|
|
|
|
|
2006-03-06 15:42:45 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-16 01:27:50 -08:00
|
|
|
|
|
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-03-06 15:42:45 -08:00
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
|
|
|
|
|
2007-02-16 01:27:50 -08:00
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
2008-09-01 15:02:30 -07:00
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-03-06 15:42:45 -08:00
|
|
|
|
2007-02-16 01:27:50 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-03-06 15:42:45 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-04-30 00:55:04 -07:00
|
|
|
|
|
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
2007-02-16 01:27:50 -08:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
2006-02-01 03:05:11 -08:00
|
|
|
|
|
|
|
|
|
2007-02-16 01:27:50 -08:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
2007-02-16 01:27:49 -08:00
|
|
|
|
2006-02-01 03:05:11 -08:00
|
|
|
|
|
|
|
|
|
2007-02-16 01:27:50 -08:00
|
|
|
|
2008-01-25 21:08:31 +01:00
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
[PATCH] Add debugging feature /proc/timer_stat
Add /proc/timer_stats support: debugging feature to profile timer expiration.
Both the starting site, process/PID and the expiration function is captured.
This allows the quick identification of timer event sources in a system.
Sample output:
# echo 1 > /proc/timer_stats
# cat /proc/timer_stats
Timer Stats Version: v0.1
Sample period: 4.010 s
24, 0 swapper hrtimer_stop_sched_tick (hrtimer_sched_tick)
11, 0 swapper sk_reset_timer (tcp_delack_timer)
6, 0 swapper hrtimer_stop_sched_tick (hrtimer_sched_tick)
2, 1 swapper queue_delayed_work_on (delayed_work_timer_fn)
17, 0 swapper hrtimer_restart_sched_tick (hrtimer_sched_tick)
2, 1 swapper queue_delayed_work_on (delayed_work_timer_fn)
4, 2050 pcscd do_nanosleep (hrtimer_wakeup)
5, 4179 sshd sk_reset_timer (tcp_write_timer)
4, 2248 yum-updatesd schedule_timeout (process_timeout)
18, 0 swapper hrtimer_restart_sched_tick (hrtimer_sched_tick)
3, 0 swapper sk_reset_timer (tcp_delack_timer)
1, 1 swapper neigh_table_init_no_netlink (neigh_periodic_timer)
2, 1 swapper e1000_up (e1000_watchdog)
1, 1 init schedule_timeout (process_timeout)
100 total events, 25.24 events/sec
[ cleanups and hrtimers support from Thomas Gleixner <tglx@linutronix.de> ]
[bunk@stusta.de: nr_entries can become static]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: john stultz <johnstul@us.ibm.com>
Cc: Roman Zippel <zippel@linux-m68k.org>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-02-16 01:28:13 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
2008-04-30 00:55:04 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-05-30 21:26:09 -07:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-10 01:45:59 -08:00
|
|
|
|
|
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-16 01:27:50 -08:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
2007-02-16 01:27:50 -08:00
|
|
|
|
|
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-05-30 21:26:09 -07:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
2008-01-25 21:08:31 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-25 10:22:38 +05:30
|
|
|
|
2008-01-25 21:08:31 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-04-30 00:55:04 -07:00
|
|
|
|
2008-01-25 21:08:31 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-25 10:22:38 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-01-25 21:08:31 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-25 10:22:38 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-01-25 21:08:31 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-09-01 15:47:08 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
|
|
|
|
|
2008-09-01 15:02:30 -07:00
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-01-25 21:08:31 +01:00
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-09-10 16:06:00 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-20 13:38:11 +02:00
|
|
|
|
2008-10-13 10:32:15 -04:00
|
|
|
|
|
|
|
|
|
2008-09-10 16:06:00 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-20 13:38:11 +02:00
|
|
|
|
|
|
|
|
|
2008-09-10 16:06:00 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
|
|
|
|
|
2008-01-25 21:08:31 +01:00
|
|
|
|
|
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
2008-01-25 21:08:31 +01:00
|
|
|
|
[PATCH] Add debugging feature /proc/timer_stat
Add /proc/timer_stats support: debugging feature to profile timer expiration.
Both the starting site, process/PID and the expiration function is captured.
This allows the quick identification of timer event sources in a system.
Sample output:
# echo 1 > /proc/timer_stats
# cat /proc/timer_stats
Timer Stats Version: v0.1
Sample period: 4.010 s
24, 0 swapper hrtimer_stop_sched_tick (hrtimer_sched_tick)
11, 0 swapper sk_reset_timer (tcp_delack_timer)
6, 0 swapper hrtimer_stop_sched_tick (hrtimer_sched_tick)
2, 1 swapper queue_delayed_work_on (delayed_work_timer_fn)
17, 0 swapper hrtimer_restart_sched_tick (hrtimer_sched_tick)
2, 1 swapper queue_delayed_work_on (delayed_work_timer_fn)
4, 2050 pcscd do_nanosleep (hrtimer_wakeup)
5, 4179 sshd sk_reset_timer (tcp_write_timer)
4, 2248 yum-updatesd schedule_timeout (process_timeout)
18, 0 swapper hrtimer_restart_sched_tick (hrtimer_sched_tick)
3, 0 swapper sk_reset_timer (tcp_delack_timer)
1, 1 swapper neigh_table_init_no_netlink (neigh_periodic_timer)
2, 1 swapper e1000_up (e1000_watchdog)
1, 1 init schedule_timeout (process_timeout)
100 total events, 25.24 events/sec
[ cleanups and hrtimers support from Thomas Gleixner <tglx@linutronix.de> ]
[bunk@stusta.de: nr_entries can become static]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: john stultz <johnstul@us.ibm.com>
Cc: Roman Zippel <zippel@linux-m68k.org>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-02-16 01:28:13 -08:00
|
|
|
|
2008-01-25 21:08:31 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
2008-01-25 21:08:31 +01:00
|
|
|
|
|
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
2008-01-25 21:08:31 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
2008-01-25 21:08:31 +01:00
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
|
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
2008-01-25 21:08:31 +01:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
2008-04-18 13:39:00 -07:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
2006-01-12 11:25:54 +01:00
|
|
|
|
2008-04-18 13:39:00 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
2008-04-18 13:39:00 -07:00
|
|
|
|
2006-03-31 02:31:20 -08:00
|
|
|
|
|
|
|
|
|
2008-04-18 13:39:00 -07:00
|
|
|
|
|
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
2008-04-18 13:39:00 -07:00
|
|
|
|
2008-01-25 21:08:31 +01:00
|
|
|
|
2008-04-18 13:39:00 -07:00
|
|
|
|
2008-09-19 13:13:44 +01:00
|
|
|
|
2008-04-18 13:39:00 -07:00
|
|
|
|
|
|
|
|
|
2006-03-26 01:38:09 -08:00
|
|
|
|
2008-01-25 21:08:31 +01:00
|
|
|
|
2008-04-18 13:39:00 -07:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
2008-04-18 13:39:00 -07:00
|
|
|
|
|
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
2008-04-18 13:39:00 -07:00
|
|
|
|
2008-09-01 15:02:30 -07:00
|
|
|
|
|
|
|
|
|
2008-04-18 13:39:00 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-03-26 01:38:05 -08:00
|
|
|
|
2008-04-18 13:39:00 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
2006-01-09 20:52:35 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-16 01:27:49 -08:00
|
|
|
|
2006-03-31 02:31:17 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-07-03 00:25:41 -07:00
|
|
|
|
2006-03-31 02:31:17 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
2008-09-29 15:47:42 +02:00
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
2006-03-31 02:31:17 -08:00
|
|
|
|
|
|
|
|
|
2006-03-31 02:31:19 -08:00
|
|
|
|
2006-03-26 01:38:08 -08:00
|
|
|
|
2006-03-31 02:31:19 -08:00
|
|
|
|
2006-01-09 20:52:35 -08:00
|
|
|
|
2006-03-26 01:38:08 -08:00
|
|
|
|
|
|
|
|
|
2008-09-01 15:02:30 -07:00
|
|
|
|
2008-01-25 21:08:32 +01:00
|
|
|
|
|
|
|
|
|
2006-03-26 01:38:08 -08:00
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
|
|
|
|
|
2006-03-26 01:38:08 -08:00
|
|
|
|
2006-03-31 02:31:19 -08:00
|
|
|
|
2007-02-16 01:27:49 -08:00
|
|
|
|
2006-03-31 02:31:19 -08:00
|
|
|
|
|
|
|
|
|
2006-03-26 01:38:08 -08:00
|
|
|
|
2008-02-01 17:45:13 +01:00
|
|
|
|
|
|
|
|
|
2006-03-31 02:31:19 -08:00
|
|
|
|
2006-01-09 20:52:35 -08:00
|
|
|
|
|
|
|
|
|
2008-02-01 17:29:05 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-09-01 15:02:30 -07:00
|
|
|
|
2008-02-01 17:29:05 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-09-29 02:00:28 -07:00
|
|
|
|
2006-01-09 20:52:35 -08:00
|
|
|
|
2006-03-31 02:31:19 -08:00
|
|
|
|
2008-02-01 17:29:05 +03:00
|
|
|
|
2008-04-30 00:55:04 -07:00
|
|
|
|
2006-01-09 20:52:35 -08:00
|
|
|
|
2008-04-30 00:55:04 -07:00
|
|
|
|
|
|
|
|
|
2008-09-01 15:02:30 -07:00
|
|
|
|
2006-01-09 20:52:35 -08:00
|
|
|
|
2007-02-16 01:27:49 -08:00
|
|
|
|
2008-04-30 00:55:04 -07:00
|
|
|
|
2006-01-09 20:52:35 -08:00
|
|
|
|
2008-02-10 09:17:43 +01:00
|
|
|
|
2006-03-26 01:38:08 -08:00
|
|
|
|
2008-04-30 00:55:04 -07:00
|
|
|
|
2008-02-01 17:29:05 +03:00
|
|
|
|
2008-04-30 00:55:04 -07:00
|
|
|
|
2006-03-26 01:38:08 -08:00
|
|
|
|
2006-01-09 20:52:35 -08:00
|
|
|
|
|
|
|
|
|
2008-04-30 00:55:04 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-01-09 20:52:35 -08:00
|
|
|
|
|
|
|
|
|
2008-02-01 17:29:05 +03:00
|
|
|
|
2006-01-09 20:52:35 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-03-31 02:31:19 -08:00
|
|
|
|
2008-04-30 00:55:04 -07:00
|
|
|
|
2008-09-08 08:58:59 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-01-09 20:52:35 -08:00
|
|
|
|
2008-04-30 00:55:04 -07:00
|
|
|
|
2008-09-08 08:58:59 -07:00
|
|
|
|
2006-03-26 01:38:08 -08:00
|
|
|
|
2008-04-30 00:55:04 -07:00
|
|
|
|
2006-01-09 20:52:35 -08:00
|
|
|
|
2006-02-01 03:05:11 -08:00
|
|
|
|
2008-04-30 00:55:04 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-01-09 20:52:35 -08:00
|
|
|
|
2006-03-26 01:38:08 -08:00
|
|
|
|
2008-04-30 00:55:04 -07:00
|
|
|
|
2008-02-01 17:29:05 +03:00
|
|
|
|
2008-04-30 00:55:04 -07:00
|
|
|
|
2006-03-26 01:38:08 -08:00
|
|
|
|
2006-01-09 20:52:35 -08:00
|
|
|
|
|
|
|
|
|
2006-09-29 02:00:28 -07:00
|
|
|
|
2008-02-10 09:17:43 +01:00
|
|
|
|
|
|
|
|
|
2008-09-01 15:02:30 -07:00
|
|
|
|
2006-01-09 20:52:35 -08:00
|
|
|
|
2008-04-30 00:55:04 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-01-09 20:52:35 -08:00
|
|
|
|
|
|
|
|
|
2006-01-09 20:52:36 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-02-01 17:29:05 +03:00
|
|
|
|
2006-01-09 20:52:36 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-02-01 17:29:05 +03:00
|
|
|
|
2006-01-09 20:52:36 -08:00
|
|
|
|
|
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-01-21 17:18:24 -08:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
2007-02-16 01:27:50 -08:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
2007-02-16 01:27:50 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-01-25 21:08:31 +01:00
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-09-29 14:09:39 +02:00
|
|
|
|
2008-09-29 15:47:42 +02:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-09-29 14:09:39 +02:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
2008-04-30 00:55:04 -07:00
|
|
|
|
2008-09-29 15:44:46 +02:00
|
|
|
|
2008-09-29 15:47:42 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-09-29 15:44:46 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-09-29 14:09:39 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-09-29 15:47:42 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-09-29 14:09:39 +02:00
|
|
|
|
2008-09-29 15:44:46 +02:00
|
|
|
|
2008-09-29 14:09:39 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-09-29 15:44:46 +02:00
|
|
|
|
|
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
2008-09-29 14:09:39 +02:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
2008-09-29 14:06:45 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
2008-09-29 14:06:45 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
2008-09-29 14:06:45 +02:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-16 01:27:50 -08:00
|
|
|
|
2008-09-29 14:06:45 +02:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
2007-02-16 01:27:50 -08:00
|
|
|
|
|
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
2008-08-20 16:46:04 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-04-04 20:54:10 +02:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
2007-02-16 01:27:50 -08:00
|
|
|
|
2008-09-29 14:09:39 +02:00
|
|
|
|
2008-09-29 15:47:42 +02:00
|
|
|
|
2008-09-29 14:09:39 +02:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
2008-09-29 14:06:45 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-04-04 20:54:10 +02:00
|
|
|
|
2008-08-20 16:46:04 -07:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
2008-09-29 14:06:45 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-07-30 03:03:35 -07:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
2007-07-16 17:17:44 -07:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-05-09 02:35:10 -07:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-05-09 02:35:10 -07:00
|
|
|
|
2007-02-16 01:28:00 -08:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-07-30 03:03:35 -07:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
Remove argument from open_softirq which is always NULL
As git-grep shows, open_softirq() is always called with the last argument
being NULL
block/blk-core.c: open_softirq(BLOCK_SOFTIRQ, blk_done_softirq, NULL);
kernel/hrtimer.c: open_softirq(HRTIMER_SOFTIRQ, run_hrtimer_softirq, NULL);
kernel/rcuclassic.c: open_softirq(RCU_SOFTIRQ, rcu_process_callbacks, NULL);
kernel/rcupreempt.c: open_softirq(RCU_SOFTIRQ, rcu_process_callbacks, NULL);
kernel/sched.c: open_softirq(SCHED_SOFTIRQ, run_rebalance_domains, NULL);
kernel/softirq.c: open_softirq(TASKLET_SOFTIRQ, tasklet_action, NULL);
kernel/softirq.c: open_softirq(HI_SOFTIRQ, tasklet_hi_action, NULL);
kernel/timer.c: open_softirq(TIMER_SOFTIRQ, run_timer_softirq, NULL);
net/core/dev.c: open_softirq(NET_TX_SOFTIRQ, net_tx_action, NULL);
net/core/dev.c: open_softirq(NET_RX_SOFTIRQ, net_rx_action, NULL);
This observation has already been made by Matthew Wilcox in June 2002
(http://www.cs.helsinki.fi/linux/linux-kernel/2002-25/0687.html)
"I notice that none of the current softirq routines use the data element
passed to them."
and the situation hasn't changed since them. So it appears we can safely
remove that extra argument to save 128 (54) bytes of kernel data (text).
Signed-off-by: Carlos R. Mafra <crmafra@ift.unesp.br>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2008-05-15 11:15:37 -03:00
|
|
|
|
2007-02-16 01:28:11 -08:00
|
|
|
|
2006-01-09 20:52:32 -08:00
|
|
|
|
|
|
|
|
|
2008-08-31 08:05:58 -07:00
|
|
|
|
2008-09-01 15:47:08 -07:00
|
|
|
|
2008-08-31 08:05:58 -07:00
|
|
|
|
2008-09-01 15:47:08 -07:00
|
|
|
|
2008-08-31 08:05:58 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-09-01 15:47:08 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-08-31 08:05:58 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-09-01 15:47:08 -07:00
|
|
|
|
2008-08-31 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