diff options
| author | 2026-03-03 15:56:00 +0530 | |
|---|---|---|
| committer | 2026-04-05 13:53:17 -0700 | |
| commit | 909632714f687560627f3e8c21fb5f5180373afd (patch) | |
| tree | a83c5d0a30a109865db2cde2dcfe83c4fc623c95 /scripts/Makefile.thinlto | |
| parent | mm/page_reporting: change page_reporting_order to PAGE_REPORTING_ORDER_UNSPECIFIED (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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
