Subject: Re: CVS commit: src/sys/kern
To: Simon Burge <simonb@wasabisystems.com>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: source-changes
Date: 02/15/2003 08:23:17
> Does this result in a leak if nfiles >= maxfiles now?
No:
> if (nfiles >= maxfiles) {
> tablefull("file", "increase kern.maxfiles or MAXFILES");
> + simple_unlock(&filelist_slock);
> + pool_put(&file_pool, fp);
Jaromir
--
Jaromir Dolecek <jdolecek@NetBSD.org> http://www.NetBSD.org/
-=- We should be mindful of the potential goal, but as the tantric -=-
-=- Buddhist masters say, ``You may notice during meditation that you -=-
-=- sometimes levitate or glow. Do not let this distract you.'' -=-