Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Aug 2010 07:00:19 GMT
From:      David Xu <davidxu@freebsd.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/131597: [kernel] c++ exceptions very slow on FreeBSD 7.1/amd64
Message-ID:  <201008290700.o7T70JXD021790@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/131597; it has been noted by GNATS.

From: David Xu <davidxu@freebsd.org>
To: bug-followup@FreeBSD.org, guillaume@morinfr.org
Cc: Kostik Belousov <kostikbel@gmail.com>, John Baldwin <jhb@freebsd.org>
Subject: Re: kern/131597: [kernel] c++ exceptions very slow on FreeBSD 7.1/amd64
Date: Sun, 29 Aug 2010 14:55:32 +0800

 Without the previous signal wrapper patch I posted (I am not sure
 I will use it, because it is too complex),  I think there is another way
 to avoid sigprocmask,  I have ever written a system call
 
 sc_shared_t	*schedctl(void);
 
 
 which returns shared data area between userland and kernel.
 userland code sets a flag in the data area to disable signal delivering.
 when kernel code wants to deliver signal, it also checks the flag,  and
 does not deliver signals if the flag is set, then the problem would be 
 fixed:
 http://people.freebsd.org/~davidxu/schedctl/
 
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008290700.o7T70JXD021790>