Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/kern



Jaromir Dolecek wrote:

> > 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);

Gah, you're right.  I totally missed the call to pool_put() when I
looked at the diff.

Simon.
--
Simon Burge                            <simonb%wasabisystems.com@localhost>
NetBSD Support and Service:         http://www.wasabisystems.com/



Home | Main Index | Thread Index | Old Index