summaryrefslogtreecommitdiffstats
path: root/kernel/fork.c
diff options
context:
space:
mode:
authorThomas Gleixner2007-02-16 10:27:47 +0100
committerLinus Torvalds2007-02-16 17:13:58 +0100
commitfd064b9b7770d5c7705bf9542950c7bd81c30f98 (patch)
tree8b14c81f983e49b5553fd6764139bffb1d4f1648 /kernel/fork.c
parent[PATCH] Fix cascade lookup of next_timer_interrupt (diff)
downloadkernel-qcow2-linux-fd064b9b7770d5c7705bf9542950c7bd81c30f98.tar.gz
kernel-qcow2-linux-fd064b9b7770d5c7705bf9542950c7bd81c30f98.tar.xz
kernel-qcow2-linux-fd064b9b7770d5c7705bf9542950c7bd81c30f98.zip
[PATCH] Extend next_timer_interrupt() to use a reference jiffie
For CONFIG_NO_HZ we need to calculate the next timer wheel event based on a given jiffie value. Extend the existing code to allow the extra 'now' argument. Provide a compability function for the existing implementations to call the function with now == jiffies. (This also solves the racyness of the original code vs. jiffies changing during the iteration.) No functional changes to existing users of this infrastructure. [ remove WARN_ON() that triggered on s390, by Carsten Otte <cotte@de.ibm.com> ] [ made new helper static, Adrian Bunk <bunk@stusta.de> ] Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu> Cc: john stultz <johnstul@us.ibm.com> Cc: Roman Zippel <zippel@linux-m68k.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/fork.c')
0 files changed, 0 insertions, 0 deletions