]> git.karo-electronics.de Git - karo-tx-linux.git/commit
posix_cpu_timers: consolidate expired timers check
authorFrederic Weisbecker <fweisbec@gmail.com>
Wed, 20 Mar 2013 04:06:56 +0000 (15:06 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 21 Mar 2013 05:27:15 +0000 (16:27 +1100)
commitbd231db236ca5166e5cae2661f06dfc824091a58
treefd7c554bfc42dd1ff74033534e66bcb96cc4477e
parentd4a00525d01345456bbba07514a9dc083f4b5b26
posix_cpu_timers: consolidate expired timers check

Consolidate the common code amongst per thread and per process timers list
on tick time.

List traversal, expiry check and subsequent updates can be shared in a
common helper.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Stanislaw Gruszka <sgruszka@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/posix-cpu-timers.c