The patch titled Subject: mem-memcg-cache-rightmost-node-fix has been added to the -mm tree. Its filename is mem-memcg-cache-rightmost-node-fix.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mem-memcg-cache-rightmost-node-fix.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mem-memcg-cache-rightmost-node-fix.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Davidlohr Bueso <dave@xxxxxxxxxxxx> Subject: mem-memcg-cache-rightmost-node-fix Brain fart #2, please fold. index fdc25b3f9421..309f36522bdb 100644 Link: http://lkml.kernel.org/r/20170731160114.GE21328@xxxxxxxxxxxxxxx Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/memcontrol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN mm/memcontrol.c~mem-memcg-cache-rightmost-node-fix mm/memcontrol.c --- a/mm/memcontrol.c~mem-memcg-cache-rightmost-node-fix +++ a/mm/memcontrol.c @@ -427,7 +427,7 @@ static void __mem_cgroup_remove_exceeded return; if (&mz->tree_node == mctz->rb_rightmost) - mctz->rb_rightmost = rb_next(&mz->tree_node); + mctz->rb_rightmost = rb_prev(&mz->tree_node); rb_erase(&mz->tree_node, &mctz->rb_root); mz->on_tree = false; _ Patches currently in -mm which might be from dave@xxxxxxxxxxxx are rbtree-cache-leftmost-node-internally.patch rbtree-optimize-root-check-during-rebalancing-loop.patch rbtree-add-some-additional-comments-for-rebalancing-cases.patch lib-rbtree_testc-make-input-module-parameters.patch lib-rbtree_testc-add-inorder-traversal-test.patch lib-rbtree_testc-support-rb_root_cached.patch sched-fair-replace-cfs_rq-rb_leftmost.patch sched-deadline-replace-earliest-dl-and-rq-leftmost-caching.patch locking-rtmutex-replace-top-waiter-and-pi_waiters-leftmost-caching.patch block-cfq-replace-cfq_rb_root-leftmost-caching.patch lib-interval_tree-fast-overlap-detection.patch lib-interval-tree-correct-comment-wrt-generic-flavor.patch procfs-use-faster-rb_first_cached.patch fs-epoll-use-faster-rb_first_cached.patch mem-memcg-cache-rightmost-node.patch mem-memcg-cache-rightmost-node-fix.patch block-cfq-cache-rightmost-rb_node.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html