* Re: + rcu-split-listh-and-move-rcu-protected-lists-into-rculisth.patch added to -mm tree
[not found] <200802230734.m1N7Ymrp018304@imap1.linux-foundation.org>
@ 2008-02-26 11:33 ` Josh Triplett
2008-02-26 18:31 ` Franck Bui-Huu
0 siblings, 1 reply; 3+ messages in thread
From: Josh Triplett @ 2008-02-26 11:33 UTC (permalink / raw)
To: akpm; +Cc: fbuihuu, paulmck, linux-kernel
[I did not see this patch go by on any mailing list, so I replied to
the -mm mail and CCed LKML.]
akpm@linux-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@gmail.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@gmail.com>
> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
> Cc: Josh Triplett <josh@kernel.org>
> Signed-off-by: Andrew Morton <akpm@linux-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@kernel.org>
- Josh Triplett
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-02-26 19:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <200802230734.m1N7Ymrp018304@imap1.linux-foundation.org>
2008-02-26 11:33 ` + rcu-split-listh-and-move-rcu-protected-lists-into-rculisth.patch added to -mm tree Josh Triplett
2008-02-26 18:31 ` Franck Bui-Huu
2008-02-26 19:11 ` Josh Triplett
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox