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
On Sun, Mar 24, 2002 at 01:25:16AM +0000, Christos Zoulas wrote:
> 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.
You should always use them. Consider an MP system.
--
-- Jason R. Thorpe <thorpej%wasabisystems.com@localhost>
Home |
Main Index |
Thread Index |
Old Index