]> git.karo-electronics.de Git - karo-tx-linux.git/commit
posix_cpu_timers: consolidate expired timers check
authorFrederic Weisbecker <fweisbec@gmail.com>
Tue, 26 Mar 2013 23:24:10 +0000 (10:24 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 4 Apr 2013 06:04:10 +0000 (17:04 +1100)
commit9f849181dbcf5dd1ecf5c9ba8fb3d179fb0ae9ef
tree337c966cfa372af0c1823280539162cbd88f951f
parent8c155afd0a8dc9f20e29d44972ee6aefc38875bc
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