diff options
author | Yang Yang <yang.yang29@zte.com.cn> | 2021-09-08 04:58:18 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-09-08 20:50:26 +0200 |
commit | 3c91dda97eea704ac257ddb138d1154adab8db62 (patch) | |
tree | 8f510dcf5cca69de323726f264058f45159c94bd /kernel/profile.c | |
parent | phy/drivers/stm32: use HZ macros (diff) | |
download | linux-3c91dda97eea704ac257ddb138d1154adab8db62.tar.xz linux-3c91dda97eea704ac257ddb138d1154adab8db62.zip |
kernel/acct.c: use dedicated helper to access rlimit values
Use rlimit() helper instead of manually writing whole chain from
task to rlimit value. See patch "posix-cpu-timers: Use dedicated
helper to access rlimit values".
Link: https://lkml.kernel.org/r/20210728030822.524789-1-yang.yang29@zte.com.cn
Signed-off-by: Yang Yang <yang.yang29@zte.com.cn>
Reported-by: Zeal Robot <zealci@zte.com.cn>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: sh_def@163.com <sh_def@163.com>
Cc: Yang Yang <yang.yang29@zte.com.cn>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/profile.c')
0 files changed, 0 insertions, 0 deletions