linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] make RB_DECLARE_CALLBACKS more generic
@ 2019-06-29  0:49 Michel Lespinasse
  2019-06-29  0:49 ` [PATCH 1/2] augmented rbtree: add comments for RB_DECLARE_CALLBACKS macro Michel Lespinasse
  2019-06-29  0:49 ` [PATCH 2/2] augmented rbtree: rework the RB_DECLARE_CALLBACKS macro definition Michel Lespinasse
  0 siblings, 2 replies; 7+ messages in thread
From: Michel Lespinasse @ 2019-06-29  0:49 UTC (permalink / raw)
  To: Davidlohr Bueso, Peter Zijlstra, David Howells
  Cc: Andrew Morton, linux-kernel, Michel Lespinasse

These changes are intended to make the RB_DECLARE_CALLBACKS macro
more generic (allowing the aubmented subtree information to be a struct
instead of a scalar) and tweak the macro arguments to be more similar
to INTERVAL_TREE_DEFINE().

Michel Lespinasse (2):
  augmented rbtree: add comments for RB_DECLARE_CALLBACKS macro
  augmented rbtree: rework the RB_DECLARE_CALLBACKS macro definition

 arch/x86/mm/pat_rbtree.c               | 11 ++++--
 drivers/block/drbd/drbd_interval.c     | 13 ++++---
 include/linux/interval_tree_generic.h  | 13 +++++--
 include/linux/rbtree_augmented.h       | 51 +++++++++++++++-----------
 lib/rbtree_test.c                      | 11 ++++--
 mm/mmap.c                              | 26 ++++++++-----
 tools/include/linux/rbtree_augmented.h | 51 +++++++++++++++-----------
 7 files changed, 107 insertions(+), 69 deletions(-)

-- 
2.22.0.410.gd8fdbe21b5-goog

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-07-02  0:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-29  0:49 [PATCH 0/2] make RB_DECLARE_CALLBACKS more generic Michel Lespinasse
2019-06-29  0:49 ` [PATCH 1/2] augmented rbtree: add comments for RB_DECLARE_CALLBACKS macro Michel Lespinasse
2019-06-29  0:49 ` [PATCH 2/2] augmented rbtree: rework the RB_DECLARE_CALLBACKS macro definition Michel Lespinasse
2019-07-01  7:31   ` Peter Zijlstra
2019-07-01  7:46   ` Peter Zijlstra
2019-07-01 14:40     ` Peter Zijlstra
2019-07-02  0:25       ` Michel Lespinasse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).