Subject: Re: CVS commit: syssrc/sys/compat/linux/common
To: Christos Zoulas <christos@zoulas.com>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: source-changes
Date: 03/23/2002 17:30:36
On Sun, Mar 24, 2002 at 01:25:16AM +0000, Christos Zoulas wrote:

 > In article <20020324003235.A3B7DB004@cvs.netbsd.org>,
 > Jaromir Dolecek <jdolecek@netbsd.org> 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>