Re: [RFC git tree] Userspace RCU (urcu) for Linux (repost)

From: Bert Wesarg
Date: Mon Feb 09 2009 - 12:35:53 EST


On Mon, Feb 9, 2009 at 18:34, Paul E. McKenney
<paulmck@xxxxxxxxxxxxxxxxxx> wrote:
> On Mon, Feb 09, 2009 at 06:19:45PM +0100, Bert Wesarg wrote:
>> On Mon, Feb 9, 2009 at 14:16, Paul E. McKenney
>> <paulmck@xxxxxxxxxxxxxxxxxx> wrote:
>> > On Sun, Feb 08, 2009 at 11:53:52PM -0500, Mathieu Desnoyers wrote:
>> >> Yes, I guess the signal is not so bad.
>> >
>> > Now if there were a /proc entry that listed out the tids of the
>> > currently running threads, then it might be possible to do something,
>> > especially for applications with many more threads than CPUs.
>>
>> Do you mean something like: `ls /proc/$pid/tasks/*`? Or is this not
>> atomic enough?
>
> Won't that give me all the threads rather than only the ones currently
> running?
What do you mean by 'running'?

Bert
>
> Thanx, Paul
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/