diff options
| author | Maninder Singh <maninder1.s@samsung.com> | 2026-03-03 13:26:00 +0300 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-04-05 23:53:17 +0300 |
| commit | 909632714f687560627f3e8c21fb5f5180373afd (patch) | |
| tree | a83c5d0a30a109865db2cde2dcfe83c4fc623c95 /include/linux/timerqueue.h | |
| parent | 4a34e46eb5e9c762ba4cea4b3c4d89c8e39b1608 (diff) | |
| download | linux-909632714f687560627f3e8c21fb5f5180373afd.tar.xz | |
mm/oom_kill.c: simpilfy rcu call with guard(rcu)
guard(rcu)() simplifies code readability and there is no need of extra
goto labels.
Thus replacing rcu_read_lock/unlock with guard(rcu)().
Link: https://lkml.kernel.org/r/20260303102600.105255-1-maninder1.s@samsung.com
Signed-off-by: Maninder Singh <maninder1.s@samsung.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Reviewed-by: Dmitry Ilvokhin <d@ilvokhin.com>
Acked-by: Shakeel Butt <shakeel.butt@linux.dev>
Cc: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
