> It is linux-2.2, guy. 8) "threads" are not threaded there.
>
> Semaphores (rtnl_lock, particularly) protects only areas, which
> are going to _schedule_ excplicitly or implicitly.
ok, thanks a lot Alexey, now I understand.
> Please, read comments. People used to consider comments as something
> decorative, but they are not.
I did read them again and again, but you know, when there's something
you don't understand, sometimes you interprete things badly.
> Any questions?
not anymore, of course :-)
> Sorry...
>
> /* NOTE: these locks are not interrupt safe, are not SMP safe,
> * they are even not atomic. 8)8)8) ... and it is not a bug.
> etc.
>
> Do you call this "very precautios"? 8)
I spoke about the first ones :)
thanks a lot, now I know how to proceed.
Cheers,
Willy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/