Date: Sat, 14 Dec 2002 22:00:52 +0100 From: phk@FreeBSD.org To: John Baldwin <jhb@FreeBSD.org> Cc: Peter Wemm <peter@wemm.org>, cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, "Tim J. Robbins" <tjr@FreeBSD.org> Subject: Re: cvs commit: src/sys/kern kern_descrip.c Message-ID: <23879.1039899652@critter.freebsd.dk> In-Reply-To: Your message of "Fri, 13 Dec 2002 17:38:32 EST." <XFMail.20021213173832.jhb@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <XFMail.20021213173832.jhb@FreeBSD.org>, John Baldwin writes: > >On 13-Dec-2002 Peter Wemm wrote: >> "Tim J. Robbins" wrote: >>> tjr 2002/12/13 01:59:40 PST >>> >>> Modified files: >>> sys/kern kern_descrip.c >>> Log: >>> Drop filedesc lock and acquire Giant around calls to malloc() and free(). >>> These call uma_large_malloc() and uma_large_free() which require Giant. >>> Fixes panic when descriptor table is larger than KMEM_ZMAX bytes >>> noticed by kkenn. >> >> What about things like geom which explicitly call malloc without Giant? >> Or is it just a problem for large allocations? > >Just for large allocations which call uma_malloc_large(). Uhm, and just what is the magic size where this happens ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?23879.1039899652>