mbox series

[0/4] Cleanup and fixup for ksm

Message ID 20210330140228.45635-1-linmiaohe@huawei.com (mailing list archive)
Headers show
Series Cleanup and fixup for ksm | expand

Message

Miaohe Lin March 30, 2021, 2:02 p.m. UTC
Hi all,
This series contains cleanups to remove unnecessary VM_BUG_ON_PAGE and
dedicated macro KSM_FLAG_MASK. Also this fixes potential missing rmap_item
for stable_node which would result in failed rmap_walk_ksm(). More details
can be found in the respective changelogs. Thanks!

Miaohe Lin (4):
  ksm: remove redundant VM_BUG_ON_PAGE() on stable_tree_search()
  ksm: use GET_KSM_PAGE_NOLOCK to get ksm page in
    remove_rmap_item_from_tree()
  ksm: remove dedicated macro KSM_FLAG_MASK
  ksm: fix potential missing rmap_item for stable_node

 mm/ksm.c | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)