Date: Sun, 16 Mar 2008 00:39:49 -1000 (HST) From: Jeff Roberson <jroberson@chesapeake.net> To: Maxim Sobolev <sobomax@FreeBSD.org> Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/sys eventhandler.h src/sys/kern kern_descrip.c uipc_socket.c Message-ID: <20080316003849.L910@desktop> In-Reply-To: <200803160621.m2G6LUlE034766@repoman.freebsd.org> References: <200803160621.m2G6LUlE034766@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 16 Mar 2008, Maxim Sobolev wrote: > sobomax 2008-03-16 06:21:30 UTC > > FreeBSD src repository > > Modified files: > sys/sys eventhandler.h > sys/kern kern_descrip.c uipc_socket.c > Log: > Properly set size of the file_zone to match kern.maxfiles parameter. > Otherwise the parameter is no-op, since zone by default limits number > of descriptors to some 12K entries. Attempt to allocate more ends up > sleeping on zonelimit. Why do you need to set a limit on the uma_zone when falloc() takes care of this for us by checking openfiles vs maxfiles? Thanks, Jeff > > MFC after: 2 weeks > > Revision Changes Path > 1.326 +36 -3 src/sys/kern/kern_descrip.c > 1.306 +1 -0 src/sys/kern/uipc_socket.c > 1.39 +1 -0 src/sys/sys/eventhandler.h >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080316003849.L910>