Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: syssrc/sys/compat/linux/common
In article <20020324003235.A3B7DB004%cvs.netbsd.org@localhost>,
Jaromir Dolecek <jdolecek%netbsd.org@localhost> wrote:
>* don't need to use FILE_{,UN}USE() here, the code won't block while
> using the pointer
It is a good practice to use these, or mention in a comment why you don't
need to use them. People copy code and change it and there is where mistakes
are made. Right now there is no contract for many kernel functions if they
can block or not, so the best thing is to err on the safe side.
christos
Home |
Main Index |
Thread Index |
Old Index