Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Sep 2002 19:50:54 -0700
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        Garrett Wollman <wollman@lcs.mit.edu>
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/alpha/alpha machdep.c src/sys/i386/i386 machdep.c src/sys/ia64/ia64 machdep.c src/sys/pc98/i386 machdep.c src/sys/sparc64/sparc64 machdep.c
Message-ID:  <20020909195053.A752@FreeBSD.org>
In-Reply-To: <200209091718.g89HIKpv066187@khavrinen.lcs.mit.edu>; from wollman@lcs.mit.edu on Mon, Sep 09, 2002 at 01:18:20PM -0400
References:  <200209071912.g87JCs0I062248@freefall.freebsd.org> <20020907163423.A14528@FreeBSD.org> <200209090341.g893fTNH062134@khavrinen.lcs.mit.edu> <20020908211352.A12924@FreeBSD.org> <200209091718.g89HIKpv066187@khavrinen.lcs.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
* De: Garrett Wollman <wollman@lcs.mit.edu> [ Data: 2002-09-09 ]
	[ Subjecte: Re: cvs commit: src/sys/alpha/alpha machdep.c src/sys/i386/i386 machdep.c src/sys/ia64/ia64 machdep.c src/sys/pc98/i386 machdep.c src/sys/sparc64/sparc64 machdep.c ]
> <<On Sun, 8 Sep 2002 21:13:52 -0700, Juli Mallett <jmallett@FreeBSD.ORG> said:
> 
> > Trap code, sender pid/uid (if another process sent it), ...  I'd love to
> > implement RTS, but it's still possible to move a lot of things to this
> > structure, without implementing RTS.
> 
> If we don't support reliable asynchronous delivery of this data, we
> shouldn't encourage programs to use or depend on its presence for
> asynchronous signals.

You convinced me when I was taking off from Chicago Midway this morning.
I'm writing a document now on how I see it all coming together, and my
current todo list has a linked list of siginfo instead of the "one sig
with info at a time" method we've had for the past N yes, which goes to
implementing the queued delivery mechanisms of RTS, yes?  Basically, I
will have like a TAILQ of siginfo_t pointers, allocated from a UMA zone,
and protected by their own lock (so that I can possibly get some of the
signal processing out of PROC_LOCK - many threads can execute in the
same part of some of that code, if the signal info is locked for INSERT)
and along with the current things I have made go away, the siglist thing
will be going away.  This may incur great ABI breakage though, so I make
no guarantees abotu delivering this for 5.0, but once I finish the first
parts of what I am working on, we'll see what I can estimate.

Thanks for the thoughts,
juli.
-- 
Juli Mallett <jmallett@FreeBSD.org>       | FreeBSD: The Power To Serve
Will break world for fulltime employment. | finger jmallett@FreeBSD.org

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?20020909195053.A752>