aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2022-04-28 23:16:08 -0700
committerakpm <akpm@linux-foundation.org>2022-04-28 23:16:08 -0700
commit91925ab8cc2a05ab0e524830247e1d66ba4e4e19 (patch)
tree2ada8dd11edef283f3821fbb00b08c5ab6dec699 /fs
parentmm/migration: use helper macro min in do_pages_stat (diff)
downloadwireguard-linux-91925ab8cc2a05ab0e524830247e1d66ba4e4e19.tar.xz
wireguard-linux-91925ab8cc2a05ab0e524830247e1d66ba4e4e19.zip
mm/migration: avoid unneeded nodemask_t initialization
Avoid unneeded next_pass and this_pass initialization as they're always set before using to save possible cpu cycles when there are plenty of nodes in the system. Link: https://lkml.kernel.org/r/20220318111709.60311-8-linmiaohe@huawei.com Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Reviewed-by: Muchun Song <songmuchun@bytedance.com> Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com> Cc: Alistair Popple <apopple@nvidia.com> Cc: "Huang, Ying" <ying.huang@intel.com> Cc: Zi Yan <ziy@nvidia.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions