Hello, This practically the same as the previous submit but without the first patch which luckily turned out to be a noop. Some commit message have been improved on the way. Dropping the first patch would generate rejects on the later patches so this is a clean submit against v4.3. The cond_resched() for the rmap walks is not only for KSM but it's primarily a KSM improvement as KSM generates much heavier rmap walks than the other rmap mechanisms would, so I'm submitting it in KSM context. All patches in this submit have been acked by Hugh already, thanks for the help! Andrea Arcangeli (5): mm: add cond_resched() to the rmap walks ksm: don't fail stable tree lookups if walking over stale stable_nodes ksm: use the helper method to do the hlist_empty check ksm: use find_mergeable_vma in try_to_merge_with_ksm_page ksm: unstable_tree_search_insert error checking cleanup mm/ksm.c | 49 +++++++++++++++++++++++++++++++++++-------------- mm/rmap.c | 4 ++++ 2 files changed, 39 insertions(+), 14 deletions(-) -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>