On Tue, 29 Jan 2013 16:56:02 +0100, Tobias Boege said: > Look some lines above: > > struct fd f = fdget(fd);
That creates a reference, not a lock. It basically assures that the system doesn't reap and reclaim that fd out from under the code. (In other words, it's managing lifetime, not concurrency).
pgpedFhCsKnu5.pgp
Description: PGP signature
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies