+ rbtree-include-rcuh-because-we-use-it.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: rbtree: include rcu.h
has been added to the -mm tree.  Its filename is
     rbtree-include-rcuh-because-we-use-it.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/rbtree-include-rcuh-because-we-use-it.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/rbtree-include-rcuh-because-we-use-it.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: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
Subject: rbtree: include rcu.h

Since c1adf20052d8 ("Introduce rb_replace_node_rcu()") rbtree_augmented.h
uses RCU related data structures but does not include the header file.  It
works as long as it gets somehow included before that and fails otherwise.

Link: http://lkml.kernel.org/r/20180504103159.19938-1-bigeasy@xxxxxxxxxxxxx
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
Reviewed-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Cc: David Howells <dhowells@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 include/linux/rbtree_augmented.h |    1 +
 include/linux/rbtree_latch.h     |    1 +
 2 files changed, 2 insertions(+)

diff -puN include/linux/rbtree_augmented.h~rbtree-include-rcuh-because-we-use-it include/linux/rbtree_augmented.h
--- a/include/linux/rbtree_augmented.h~rbtree-include-rcuh-because-we-use-it
+++ a/include/linux/rbtree_augmented.h
@@ -26,6 +26,7 @@
 
 #include <linux/compiler.h>
 #include <linux/rbtree.h>
+#include <linux/rcupdate.h>
 
 /*
  * Please note - only struct rb_augment_callbacks and the prototypes for
diff -puN include/linux/rbtree_latch.h~rbtree-include-rcuh-because-we-use-it include/linux/rbtree_latch.h
--- a/include/linux/rbtree_latch.h~rbtree-include-rcuh-because-we-use-it
+++ a/include/linux/rbtree_latch.h
@@ -35,6 +35,7 @@
 
 #include <linux/rbtree.h>
 #include <linux/seqlock.h>
+#include <linux/rcupdate.h>
 
 struct latch_tree_node {
 	struct rb_node node[2];
_

Patches currently in -mm which might be from bigeasy@xxxxxxxxxxxxx are

rbtree-include-rcuh-because-we-use-it.patch
percpu_ida-use-_irqsave-instead-of-local_irq_save-spin_lock.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



[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux