]> git.karo-electronics.de Git - karo-tx-linux.git/commit
posix_cpu_timers: consolidate expired timers check
authorFrederic Weisbecker <fweisbec@gmail.com>
Wed, 19 Jun 2013 00:05:32 +0000 (10:05 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Jun 2013 07:12:45 +0000 (17:12 +1000)
commit8ed17a9ad2def5543d5f584ac0fd918289ba7cff
tree92fac5d9111033f1555f7add2245e3f7234034b4
parente73771f8b7bd1ed0f1463f791db25eb93cf0b3fd
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