commit | 5af1ab1d24e0842e2ca72c1fd0833864f6fa458a | [log] [tgz] |
---|---|---|
author | Miaohe Lin <linmiaohe@huawei.com> | Tue May 04 18:33:25 2021 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed May 05 11:27:20 2021 -0700 |
tree | 1907856e8b82724b1e2c34927be58438859f8400 | |
parent | 04adbc3f7bff403a97355531da0190a263d66ea5 [diff] |
mm/hugetlb: optimize the surplus state transfer code in move_hugetlb_state() We should not transfer the per-node surplus state when we do not cross the node in order to save some cpu cycles Link: https://lkml.kernel.org/r/20210308112809.26107-3-linmiaohe@huawei.com Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>