[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <36ca99e90902060055g67e53ae5k938a4e94c4637885@mail.gmail.com>
Date: Fri, 6 Feb 2009 09:55:38 +0100
From: Bert Wesarg <bert.wesarg@...glemail.com>
To: Mathieu Desnoyers <compudj@...stal.dyndns.org>
Cc: "Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>,
ltt-dev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [RFC git tree] Userspace RCU (urcu) for Linux
On Fri, Feb 6, 2009 at 04:05, Mathieu Desnoyers
<compudj@...stal.dyndns.org> wrote:
> Hi Paul,
>
> I figured out I needed some userspace RCU for the userspace tracing part
> of LTTng (for quick read access to the control variables) to trace
> userspace pthread applications. So I've done a quick-and-dirty userspace
> RCU implementation.
>
> It works so far, but I have not gone through any formal verification
> phase. It seems to work on paper, and the tests are also OK (so far),
> but I offer no guarantee for this 300-lines-ish 1-day hack. :-) If you
> want to comment on it, it would be welcome. It's a userland-only
> library. It's also currently x86-only, but only a few basic definitions
> must be adapted in urcu.h to port it.
>
> Here is the link to my git tree :
>
> git://lttng.org/userspace-rcu.git
>
> http://lttng.org/cgi-bin/gitweb.cgi?p=userspace-rcu.git;a=summary
>
Really interesting, thanks.
But you should use pthread_equal() for you equality test of pthread_t.
Regards,
Bert
> Thanks,
>
> Mathieu
--
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