]> git.karo-electronics.de Git - karo-tx-linux.git/commit
posix_cpu_timers: consolidate expired timers check
authorFrederic Weisbecker <fweisbec@gmail.com>
Thu, 27 Jun 2013 23:50:58 +0000 (09:50 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 28 Jun 2013 06:37:13 +0000 (16:37 +1000)
commita10545e7722b927faf371e1efaaaa70d7e7a89e5
treea30623e96bad29b5cc7fdeff0ec5730f0396b6a0
parentf262f2b7ba5b67183511a4e85f6386dd4f93d81f
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