The patch titled Subject: augmented-rbtree-add-new-rb_declare_callbacks_max-macro-fix has been added to the -mm tree. Its filename is augmented-rbtree-add-new-rb_declare_callbacks_max-macro-fix.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/augmented-rbtree-add-new-rb_declare_callbacks_max-macro-fix.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/augmented-rbtree-add-new-rb_declare_callbacks_max-macro-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/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Michel Lespinasse <walken@xxxxxxxxxx> Subject: augmented-rbtree-add-new-rb_declare_callbacks_max-macro-fix Syncing up with v5.2, I see that there is a new use for augmented rbtrees in mm/vmalloc.c which does not compile after applying my patchset. RB_DECLARE_CALLBACKS is replaced by RB_DECLARE_CALLBACKS_MAX and the compute_subtree_max_size argument is replaced by va_size. Link: http://lkml.kernel.org/r/CANN689FXgK13wDYNh1zKxdipeTuALG4eKvKpsdZqKFJ-rvtGiQ@xxxxxxxxxxxxxx Cc: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx> Cc: David Howells <dhowells@xxxxxxxxxx> Cc: Davidlohr Bueso <dbueso@xxxxxxx> Cc: "Uladzislau Rezki (Sony)" <urezki@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/vmalloc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) --- a/mm/vmalloc.c~augmented-rbtree-add-new-rb_declare_callbacks_max-macro-fix +++ a/mm/vmalloc.c @@ -396,9 +396,8 @@ compute_subtree_max_size(struct vmap_are get_subtree_max_size(va->rb_node.rb_right)); } -RB_DECLARE_CALLBACKS(static, free_vmap_area_rb_augment_cb, - struct vmap_area, rb_node, unsigned long, subtree_max_size, - compute_subtree_max_size) +RB_DECLARE_CALLBACKS_MAX(static, free_vmap_area_rb_augment_cb, + struct vmap_area, rb_node, unsigned long, subtree_max_size, va_size) static void purge_vmap_area_lazy(void); static BLOCKING_NOTIFIER_HEAD(vmap_notify_list); _ Patches currently in -mm which might be from walken@xxxxxxxxxx are rbtree-sync-up-the-tools-copy-of-the-code-with-the-main-one.patch augmented-rbtree-add-comments-for-rb_declare_callbacks-macro.patch augmented-rbtree-add-new-rb_declare_callbacks_max-macro.patch augmented-rbtree-add-new-rb_declare_callbacks_max-macro-fix.patch augmented-rbtree-rework-the-rb_declare_callbacks-macro-definition.patch