diff options
author | Jiri Slaby <jslaby@suse.cz> | 2010-03-05 22:42:53 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-06 20:26:32 +0100 |
commit | d4bb527438b4181cd3c564ae04dd344c381283a1 (patch) | |
tree | 0e7afeb6b759f72b136d707db4e5725a92b0d777 /kernel/perf_event.c | |
parent | kernel/exit.c: fix shadows sparse warning (diff) | |
download | linux-d4bb527438b4181cd3c564ae04dd344c381283a1.tar.xz linux-d4bb527438b4181cd3c564ae04dd344c381283a1.zip |
posix-cpu-timers: cleanup rlimits usage
Fetch rlimit (both hard and soft) values only once and work on them. It
removes many accesses through sig structure and makes the code cleaner.
Mostly a preparation for writable resource limits support.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: john stultz <johnstul@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/perf_event.c')
0 files changed, 0 insertions, 0 deletions