diff options
author | Jiri Slaby <jslaby@suse.cz> | 2010-03-05 13:42:53 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-06 11:26:32 -0800 |
commit | d4bb527438b4181cd3c564ae04dd344c381283a1 (patch) | |
tree | 0e7afeb6b759f72b136d707db4e5725a92b0d777 /kernel/sys.c | |
parent | f3abd4f9531becb71626bd206955d47d5ea54f06 (diff) | |
download | op-kernel-dev-d4bb527438b4181cd3c564ae04dd344c381283a1.zip op-kernel-dev-d4bb527438b4181cd3c564ae04dd344c381283a1.tar.gz |
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/sys.c')
0 files changed, 0 insertions, 0 deletions