summaryrefslogtreecommitdiff
path: root/kernel/itimer.c
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2009-07-29 12:15:28 +0200
committerIngo Molnar <mingo@elte.hu>2009-08-03 14:48:36 +0200
commitd1e3b6d195770bd422e3229b88edfc154b6a27dd (patch)
tree153a0bb49967c4d489a510c9e673d07f4e560a6c /kernel/itimer.c
parent8356b5f9c424e5831715abbce747197c30d1fd71 (diff)
itimers: Simplify arm_timer() code a bit
Don't update values in expiration cache when new ones are equal. Add expire_le() and expire_gt() helpers to simplify the code. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Acked-by: Thomas Gleixner <tglx@linutronix.de> Cc: Oleg Nesterov <oleg@redhat.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> LKML-Reference: <1248862529-6063-4-git-send-email-sgruszka@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/itimer.c')
0 files changed, 0 insertions, 0 deletions