The following reply was made to PR kern/131597; it has been noted by GNATS.
From: David Xu <davi...@freebsd.org> To: bug-follo...@freebsd.org, guilla...@morinfr.org Cc: Kostik Belousov <kostik...@gmail.com>, John Baldwin <j...@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/ _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"