summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorHongchen Zhang <zhanghongchen@loongson.cn>2022-05-10 04:20:53 +0300
committerAndrew Morton <akpm@linux-foundation.org>2022-05-13 17:20:07 +0300
commitb304c6f0d39d927a87e72a8ac6c89b96ac25f355 (patch)
tree29be4e485440f69532893b652bb4d0a486767577 /include/linux/timerqueue.h
parent5b4494896cb379b0304ba8320589f2ffd08a7b31 (diff)
downloadlinux-b304c6f0d39d927a87e72a8ac6c89b96ac25f355.tar.xz
mm/swapops: make is_pmd_migration_entry more strict
A pmd migration entry should first be a swap pmd,so use is_swap_pmd(pmd) instead of !pmd_present(pmd). On the other hand, some architecture (MIPS for example) may misjudge a pmd_none entry as a pmd migration entry. Link: https://lkml.kernel.org/r/1651131333-6386-1-git-send-email-zhanghongchen@loongson.cn Signed-off-by: Hongchen Zhang <zhanghongchen@loongson.cn> Acked-by: Peter Xu <peterx@redhat.com> Cc: Alistair Popple <apopple@nvidia.com> Cc: Ralph Campbell <rcampbell@nvidia.com> Cc: Naoya Horiguchi <naoya.horiguchi@nec.com> Cc: Hugh Dickins <hughd@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions