diff options
| author | Maninder Singh <maninder1.s@samsung.com> | 2026-03-03 15:56:00 +0530 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-04-05 13:53:17 -0700 |
| commit | 909632714f687560627f3e8c21fb5f5180373afd (patch) | |
| tree | a83c5d0a30a109865db2cde2dcfe83c4fc623c95 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 4a34e46eb5e9c762ba4cea4b3c4d89c8e39b1608 (diff) | |
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 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
