aboutsummaryrefslogtreecommitdiffstats
path: root/mm/hugetlb.c
diff options
context:
space:
mode:
authorSongtang Liu <[email protected]>2025-04-02 07:41:16 +0000
committerAndrew Morton <[email protected]>2025-05-12 00:48:07 +0000
commitcd348c5e6af3b4220eb37a08fdaf9c924a2e1c19 (patch)
treed4f935b7cd2a51e785cb49e038e93df0a3e4cfb3 /mm/hugetlb.c
parentmemcg, oom: do not bypass oom killer for dying tasks (diff)
downloadkernel-cd348c5e6af3b4220eb37a08fdaf9c924a2e1c19.tar.gz
kernel-cd348c5e6af3b4220eb37a08fdaf9c924a2e1c19.zip
mm: page_alloc: remove redundant READ_ONCE
In the current code, batch is a local variable, and it cannot be concurrently modified. It's unnecessary to use READ_ONCE here, so remove it. Link: https://lkml.kernel.org/r/CAA=HWd1kn01ym8YuVFuAqK2Ggq3itEGkqX8T6eCXs_C7tiv-Jw@mail.gmail.com Fixes: 51a755c56dc0 ("mm: tune PCP high automatically") Signed-off-by: Songtang Liu <[email protected]> Reviewed-by: Qi Zheng <[email protected]> Reviewed-by: Huang Ying <[email protected]> Reviewed-by: Anshuman Khandual <[email protected]> Reviewed-by: Pankaj Gupta <[email protected]> Reviewed-by: Oscar Salvador <[email protected]> Reviewed-by: Vishal Moola (Oracle) <[email protected]> Cc: Muchun Song <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'mm/hugetlb.c')
0 files changed, 0 insertions, 0 deletions