Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux: Kernel

[PATCH] Introduce rculist.h

 

 

Linux kernel RSS feed   Index | Next | Previous | View Threaded


sfr at canb

Jun 30, 2008, 7:56 PM

Post #1 of 4 (93 views)
Permalink
[PATCH] Introduce rculist.h

In linux-next there is a commit ("rcu: split list.h and move rcu-protected
lists into rculist.h") that moved the rcu related list iterators from
list.h to rculist.h. Add a trivial version of the file now so that
various subsystem trees can start using it now for -next changes and so
reduce the build errors caused by adding uses of the moved functions.

Cc: Franck Bui-Huu <fbuihuu[at]gmail.com>
Cc: Paul E. McKenney <paulmck[at]linux.vnet.ibm.com>
Cc: Josh Triplett <josh[at]kernel.org>
Cc: Andrew Morton <akpm[at]linux-foundation.org>
Cc: Ingo Molnar <mingo[at]elte.hu>
Signed-off-by: Stephen Rothwell <sfr[at]canb.auug.org.au>
---
include/linux/rculist.h | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
create mode 100644 include/linux/rculist.h

Linus, would you consider patches like this for 2.6.26 that have no
effect on the current tree but help with conflicts in various subsystems
during the next merge window? I already have three build fixups for this
one in particular.

diff --git a/include/linux/rculist.h b/include/linux/rculist.h
new file mode 100644
index 0000000..bde4586
--- /dev/null
+++ b/include/linux/rculist.h
@@ -0,0 +1,6 @@
+#ifndef _LINUX_RCULIST_H
+#define _LINUX_RCULIST_H
+
+#include <linux/list.h>
+
+#endif /* _LINUX_RCULIST_H */
--
1.5.6

--
Cheers,
Stephen Rothwell sfr[at]canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo[at]vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


mingo at elte

Jun 30, 2008, 10:59 PM

Post #2 of 4 (80 views)
Permalink
Re: [PATCH] Introduce rculist.h [In reply to]

* Stephen Rothwell <sfr[at]canb.auug.org.au> wrote:

> In linux-next there is a commit ("rcu: split list.h and move
> rcu-protected lists into rculist.h") that moved the rcu related list
> iterators from list.h to rculist.h. Add a trivial version of the file
> now so that various subsystem trees can start using it now for -next
> changes and so reduce the build errors caused by adding uses of the
> moved functions.
>
> Cc: Franck Bui-Huu <fbuihuu[at]gmail.com>
> Cc: Paul E. McKenney <paulmck[at]linux.vnet.ibm.com>
> Cc: Josh Triplett <josh[at]kernel.org>
> Cc: Andrew Morton <akpm[at]linux-foundation.org>
> Cc: Ingo Molnar <mingo[at]elte.hu>

Acked-by: Ingo Molnar <mingo[at]elte.hu>

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo[at]vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


paulmck at linux

Jul 1, 2008, 1:13 PM

Post #3 of 4 (76 views)
Permalink
Re: [PATCH] Introduce rculist.h [In reply to]

On Tue, Jul 01, 2008 at 12:56:07PM +1000, Stephen Rothwell wrote:
> In linux-next there is a commit ("rcu: split list.h and move rcu-protected
> lists into rculist.h") that moved the rcu related list iterators from
> list.h to rculist.h. Add a trivial version of the file now so that
> various subsystem trees can start using it now for -next changes and so
> reduce the build errors caused by adding uses of the moved functions.

Works for me!

Acked-by: Paul E. McKenney <paulmck[at]linux.vnet.ibm.com>

> Cc: Franck Bui-Huu <fbuihuu[at]gmail.com>
> Cc: Paul E. McKenney <paulmck[at]linux.vnet.ibm.com>
> Cc: Josh Triplett <josh[at]kernel.org>
> Cc: Andrew Morton <akpm[at]linux-foundation.org>
> Cc: Ingo Molnar <mingo[at]elte.hu>
> Signed-off-by: Stephen Rothwell <sfr[at]canb.auug.org.au>
> ---
> include/linux/rculist.h | 6 ++++++
> 1 files changed, 6 insertions(+), 0 deletions(-)
> create mode 100644 include/linux/rculist.h
>
> Linus, would you consider patches like this for 2.6.26 that have no
> effect on the current tree but help with conflicts in various subsystems
> during the next merge window? I already have three build fixups for this
> one in particular.
>
> diff --git a/include/linux/rculist.h b/include/linux/rculist.h
> new file mode 100644
> index 0000000..bde4586
> --- /dev/null
> +++ b/include/linux/rculist.h
> @@ -0,0 +1,6 @@
> +#ifndef _LINUX_RCULIST_H
> +#define _LINUX_RCULIST_H
> +
> +#include <linux/list.h>
> +
> +#endif /* _LINUX_RCULIST_H */
> --
> 1.5.6
>
> --
> Cheers,
> Stephen Rothwell sfr[at]canb.auug.org.au
> http://www.canb.auug.org.au/~sfr/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo[at]vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


paulmck at linux

Aug 1, 2008, 2:09 PM

Post #4 of 4 (54 views)
Permalink
Re: [PATCH] Introduce rculist.h [In reply to]

On Tue, Jul 01, 2008 at 12:56:07PM +1000, Stephen Rothwell wrote:
> In linux-next there is a commit ("rcu: split list.h and move rcu-protected
> lists into rculist.h") that moved the rcu related list iterators from
> list.h to rculist.h. Add a trivial version of the file now so that
> various subsystem trees can start using it now for -next changes and so
> reduce the build errors caused by adding uses of the moved functions.

Works for me!

Acked-by: Paul E. McKenney <paulmck[at]linux.vnet.ibm.com>

> Cc: Franck Bui-Huu <fbuihuu[at]gmail.com>
> Cc: Paul E. McKenney <paulmck[at]linux.vnet.ibm.com>
> Cc: Josh Triplett <josh[at]kernel.org>
> Cc: Andrew Morton <akpm[at]linux-foundation.org>
> Cc: Ingo Molnar <mingo[at]elte.hu>
> Signed-off-by: Stephen Rothwell <sfr[at]canb.auug.org.au>
> ---
> include/linux/rculist.h | 6 ++++++
> 1 files changed, 6 insertions(+), 0 deletions(-)
> create mode 100644 include/linux/rculist.h
>
> Linus, would you consider patches like this for 2.6.26 that have no
> effect on the current tree but help with conflicts in various subsystems
> during the next merge window? I already have three build fixups for this
> one in particular.
>
> diff --git a/include/linux/rculist.h b/include/linux/rculist.h
> new file mode 100644
> index 0000000..bde4586
> --- /dev/null
> +++ b/include/linux/rculist.h
> @@ -0,0 +1,6 @@
> +#ifndef _LINUX_RCULIST_H
> +#define _LINUX_RCULIST_H
> +
> +#include <linux/list.h>
> +
> +#endif /* _LINUX_RCULIST_H */
> --
> 1.5.6
>
> --
> Cheers,
> Stephen Rothwell sfr[at]canb.auug.org.au
> http://www.canb.auug.org.au/~sfr/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo[at]vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Linux kernel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.