Re: [PATCH 4/6] kvm tools: Add rwlock wrapper

Ingo Molnar
2011-05-27T13:36:16Z

* Mathieu Desnoyers <mathieu.desnoyers@efficios.com> wrote:

> > So yes, kernel code was obviously used in the making of urcu -
> > just not the RCU kernel code it appears.
> >
> > Which is a pity i think! :-)
>
> Heh :) You know, I really like the Linux kernel coding style, which
> is what I tried to stick to within this library. So although I
> initially imported some of the core Linux kernel macroisms, I had
> to reimplement them (derived from a MIT-licensed code-base) as soon
> as I decided to go for MIT-licensed low-level primitives and
> LGPL-licensed library.

Well, that might be a somewhat fragile assumption in certain
jurisdictions, did you know that this is not necessarily a clean
room reimplementation of the urcu code anymore, so the chain of
derivation might still be present legally, right? :-)

[ Not that i can imagine Linus ever bothering you about barrier() or
atomic_inc() ;-) ]

Thanks,

Ingo