summaryrefslogtreecommitdiffstats
path: root/kernel/perf_event.c
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2010-03-05 22:42:53 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2010-03-06 20:26:32 +0100
commitd4bb527438b4181cd3c564ae04dd344c381283a1 (patch)
tree0e7afeb6b759f72b136d707db4e5725a92b0d777 /kernel/perf_event.c
parentkernel/exit.c: fix shadows sparse warning (diff)
downloadlinux-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