freebsd-skq/sys
alm 2c48c35e86 From: Jeffrey Hsu <hsu@soda.berkeley.edu>
The following patch adds the addr argument to signal handlers.

The kernel with the patch is no more and no less in compliance or in
violation of POSIX and ANSI C than the kernel before the patch.

The added functionality this addr argument provides is quite useful.  It
enables an entire class of algorithms which use mprotect to trace memory
references.  Beside garbage collectors, I have heard of this technique being
applied to debuggers and profilers.  The only benchmarking I've performed is
using akcl to compile maxima:  without the kernel patch, it takes 7 hours to
compile maxima, while with stratified garbage collection, it only takes 50
minutes.

Basically, I can't think of a reason not to add the addr argument and there
is a compelling need for it.

If you find the patch acceptable, please let me know so I can send my
FreeBSD akcl config files to wfs for inclusion in the core akcl release.
The old 386BSD config files there won't work on either NetBSD or FreeBSD.
1993-12-03 05:10:08 +00:00
..
alpha/include Put back the $Id$ string 1993-10-28 06:11:38 +00:00
amd64 From: Jeffrey Hsu <hsu@soda.berkeley.edu> 1993-12-03 05:10:08 +00:00
conf Make the LINT kernel compile with -W -Wreturn-type -Wcomment -Werror, and 1993-11-25 01:38:01 +00:00
ddb Make the LINT kernel compile with -W -Wreturn-type -Wcomment -Werror, and 1993-11-25 01:38:01 +00:00
dev Reset fdc during probe. 1993-12-03 05:01:40 +00:00
i386 From: Jeffrey Hsu <hsu@soda.berkeley.edu> 1993-12-03 05:10:08 +00:00
isa Reset fdc during probe. 1993-12-03 05:01:40 +00:00
kern From: Jeffrey Hsu <hsu@soda.berkeley.edu> 1993-12-03 05:10:08 +00:00
powerpc/include Made all header files idempotent and moved incorrect common data from 1993-11-07 17:43:17 +00:00
scsi Patch from Julian Elischer: 1993-11-25 06:30:58 +00:00
sys Move soundcard.h & ultrasound.h to proper location <machine/...> 1993-11-27 22:16:44 +00:00