Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jul 2001 03:20:44 -0500
From:      Alfred Perlstein <bright@sneakerz.org>
To:        Seigo Tanimura <tanimura@r.dl.itc.u-tokyo.ac.jp>
Cc:        jake@FreeBSD.org, jhb@FreeBSD.org, current@FreeBSD.org
Subject:   Re: Lock of struct filedesc, file, pgrp, session and sigio
Message-ID:  <20010709032044.B1894@sneakerz.org>
In-Reply-To: <20010707164249.C88962@sneakerz.org>; from bright@sneakerz.org on Sat, Jul 07, 2001 at 04:42:49PM -0500
References:  <20010531124007.B57907@dragon.nuxi.com> <XFMail.010531125426.jhb@FreeBSD.org> <20010531130155.A58258@dragon.nuxi.com> <200106011228.f51CSvD46848@rina.r.dl.itc.u-tokyo.ac.jp> <20010602125223.J31257@dragon.nuxi.com> <200106040748.f547mUD53783@rina.r.dl.itc.u-tokyo.ac.jp> <200106181004.f5IA4VD63112@rina.r.dl.itc.u-tokyo.ac.jp> <200107020812.f628CfK44241@rina.r.dl.itc.u-tokyo.ac.jp> <20010707164249.C88962@sneakerz.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* Alfred Perlstein <bright@sneakerz.org> [010707 16:43] wrote:
> * Seigo Tanimura <tanimura@r.dl.itc.u-tokyo.ac.jp> [010702 03:13] wrote:
> > On Mon, 18 Jun 2001 19:04:31 +0900,
> >   Seigo Tanimura <tanimura> said:
> > 
> > Seigo> The results of build test with the latest patch are now at:
> > 
> > Seigo> http://people.FreeBSD.org/~tanimura/pg_fd/
> > 
> > Seigo> As it is likely to take quite a while to fix alpha, I am going to
> > Seigo> update the patch every few days.
> > 
> > The latest test on alpha shows successful build of a kernel. Is alpha
> > fixed and working now?
> 
> I'm going to be giving this code some testing, not that you have to
> wait for me to finish, but it seems like no one has stepped forward
> to review this.  I'd like to see it committed, so either go ahead
> or wait for my review if it makes you more comfortable.
> 
> Since I was working on the filedesc stuff I'll take a shot at reviewing
> it, by way of the diff it looks somewhat ok, I just want to make sure
> you're getting the fhold/fdrop stuff right.

There's a merged diff here:

http://people.freebsd.org/~alfred/pg_fd2.diff

I'm not sure if kern_sig.c is merged properly.

I'm also quite sure that you can't call the ktrace functions with
any mutexes held so the code is doing to need some help, basically
the trick in trapsig() and postsig() is to generate the ktrace
IO after the locks have been dropped, this means somehow caching
the info sent to ktrace where it's currently called, and calling
it later with the cached info after the locks are dropped.

Want to give this another spin?

-- 
-Alfred Perlstein [alfred@freebsd.org]
Ok, who wrote this damn function called '??'?
And why do my programs keep crashing in it?

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?20010709032044.B1894>