]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
posix-cpu-timers: Use dedicated helper to access rlimit values
authorKrzysztof Opasiak <k.opasiak@samsung.com>
Wed, 5 Jul 2017 17:25:48 +0000 (19:25 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 18 Aug 2017 10:44:42 +0000 (12:44 +0200)
commit3cf294962df8fcde710eb5e762e0929e2ba49947
tree5e3e37ad5d62dc1f822263c0146e83bdbfa1cf0a
parentef954844c7ace62f773f4f23e28d2d915adc419f
posix-cpu-timers: Use dedicated helper to access rlimit values

Use rlimit() and rlimit_max() helper instead of manually writing
whole chain from task to rlimit value

Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20170705172548.7911-1-k.opasiak@samsung.com
kernel/time/posix-cpu-timers.c