commit | 52fb90cc19197f831e5e76e994ae82a29532d89f | [log] [tgz] |
---|---|---|
author | Miaohe Lin <linmiaohe@huawei.com> | Thu Apr 28 23:16:06 2022 -0700 |
committer | akpm <akpm@linux-foundation.org> | Thu Apr 28 23:16:06 2022 -0700 |
tree | f32ffb26ebc403269c3c6d6ecfb0448e7299ed44 | |
parent | 5e36c25b2c1aeee16df21d5e4fef22d7ff2b80cf [diff] |
mm/z3fold: remove redundant list_del_init of zhdr->buddy in z3fold_free do_compact_page() will do list_del_init(&zhdr->buddy) for us. Remove this extra one to save some possible cpu cycles. Link: https://lkml.kernel.org/r/20220308134311.59086-8-linmiaohe@huawei.com Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Reviewed-by: Vitaly Wool <vitaly.wool@konsulko.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>