Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/kern
> 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@localhost>
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.'' -=-
Home |
Main Index |
Thread Index |
Old Index