Date: Sat, 11 Aug 2001 11:44:32 +0800 From: Michael Robinson <robinson@netrinsics.com> To: Alfred Perlstein <bright@mu.org> Cc: current@freebsd.org, hackers@freebsd.org Subject: Re: _sigprocmask in malloc.c causes full file table? Message-ID: <20010811114432.A472@elephant.netrinsics.com> In-Reply-To: <20010810210348.T85642@elvis.mu.org>; from bright@mu.org on Fri, Aug 10, 2001 at 09:03:48PM -0500 References: <200108110115.f7B1F4100321@netrinsics.com> <20010810210348.T85642@elvis.mu.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 10, 2001 at 09:03:48PM -0500, Alfred Perlstein wrote: > You're expecting calls to free/malloc to work from within an async > signal handler, so yes, you're being a bit boneheaded. :) Well, actually, I'm just expecting XFree86 4.1 to run under FreeBSD without randomly crashing. I tried fixing XFree86, but there are no less than three different memory allocation abstractions (maybe more, I got lost after a while), the interrupt-handling abstraction layer makes it almost impossible to find which code handles which interrupts, and the FreeBSD OS-specific code is a complete mess. So, I decided to take the easy way out and just disable interrupts in malloc/free. There are other parts of libc that have interrupts disabled, so is there any reason in principle this shouldn't work? -Michael Robinson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010811114432.A472>