diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2010-03-11 22:04:37 (GMT) |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2010-03-12 21:40:39 (GMT) |
commit | f55db609042faecd5e518ce372b87f846659b32e (patch) | |
tree | ca544704af0825aad53d39fa517a945ba89e59ad /drivers/pci/pci-stub.c | |
parent | 522dba7134d6b2e5821d3457f7941ec34f668e6d (diff) | |
download | linux-fsl-qoriq-f55db609042faecd5e518ce372b87f846659b32e.tar.xz |
cpu-timers: Simplify RLIMIT_CPU handling
Let always set signal->cputime_expires expiration cache when setting
new itimer, POSIX 1.b timer, and RLIMIT_CPU. Since we are
initializing prof_exp expiration cache during fork(), this allows to
remove "RLIMIT_CPU != inf" check from fastpath_timer_check() and do
some other cleanups.
Checked against regression using test cases from:
http://marc.info/?l=linux-kernel&m=123749066504641&w=4
http://marc.info/?l=linux-kernel&m=123811277916642&w=2
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Cc: Balbir Singh <balbir@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/pci/pci-stub.c')
0 files changed, 0 insertions, 0 deletions