[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <47C3F8F1.4010100@kernel.org>
Date: Tue, 26 Feb 2008 03:33:05 -0800
From: Josh Triplett <josh@...nel.org>
To: akpm@...ux-foundation.org
CC: fbuihuu@...il.com, paulmck@...ux.vnet.ibm.com,
linux-kernel@...r.kernel.org
Subject: Re: + rcu-split-listh-and-move-rcu-protected-lists-into-rculisth.patch
added to -mm tree
[I did not see this patch go by on any mailing list, so I replied to
the -mm mail and CCed LKML.]
akpm@...ux-foundation.org wrote:
> The patch titled
> rcu: split list.h and move rcu-protected lists into rculist.h
> has been added to the -mm tree. Its filename is
> rcu-split-listh-and-move-rcu-protected-lists-into-rculisth.patch
[...]
> Subject: rcu: split list.h and move rcu-protected lists into rculist.h
> From: Franck Bui-Huu <fbuihuu@...il.com>
>
> Move rcu-protected lists from list.h into a new header file rculist.h.
>
> This is done because list are a very used primitive structure all over the
> kernel and it's currently impossible to include other header files in this
> list.h without creating some circular dependencies.
>
> For example, list.h implements rcu-protected list and uses rcu_dereference()
> without including rcupdate.h. It actually compiles because users of
> rcu_dereference() are macros. Others RCU functions could be used too but
> aren't probably because of this.
>
> Therefore this patch creates rculist.h which includes rcupdates without to
> many changes/troubles.
>
> Signed-off-by: Franck Bui-Huu <fbuihuu@...il.com>
> Acked-by: Paul E. McKenney <paulmck@...ux.vnet.ibm.com>
> Cc: Josh Triplett <josh@...nel.org>
> Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
This seems fine to me. Having the headers separate might make it more
difficult to keep the two in sync, but the list primitives don't
change, so that doesn't really matter much.
Acked-by: Josh Triplett <josh@...nel.org>
- Josh Triplett
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists