Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Feb 2002 12:51:14 -0800 (PST)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        Seigo Tanimura <tanimura@r.dl.itc.u-tokyo.ac.jp>
Cc:        current@FreeBSD.ORG, John Baldwin <jhb@FreeBSD.ORG>, Alfred Perlstein <alfred@FreeBSD.ORG>
Subject:   Re: pgrp/session patch
Message-ID:  <200202232051.g1NKpE741310@apollo.backplane.com>
References:  <200201051752.g05Hq3gG074525@silver.carrots.uucp.r.dl.itc.u-tokyo.ac.jp> <XFMail.020114020307.jhb@FreeBSD.org> <200201241022.g0OAMISM093913@faber.r.dl.itc.u-tokyo.ac.jp> <20020124024534.V13686@elvis.mu.org> <200202131739.g1DHdZT5023794@rina.r.dl.itc.u-tokyo.ac.jp> <200202190945.g1J9j9kg076110@rina.r.dl.itc.u-tokyo.ac.jp>

next in thread | previous in thread | raw e-mail | index | archive | help

:Here is the most up-to-date version of pgrp/session lock (at Change 6700):
:
:http://people.FreeBSD.org/~tanimura/patches/pgrp10.diff.gz
:
:I would like to commit this on the next Sunday. Otherwise, my patch
:would conflict with other patches, especially tty.
:
:-- 
:Seigo Tanimura <tanimura@r.dl.itc.u-tokyo.ac.jp> <tanimura@FreeBSD.org>

    Do you have any plans to get pgdelete() out from under Giant?  That
    would allow leavepgrp(), doenterpgrp(), enterpgrp(), enterthispgrp(),
    setsid() (mostly) to be taken out from under Giant, and perhaps a few
    others.

    I was thinking of simply having a free list of sessions and process
    groups, locked by PGRPSESS_XLOCK().  pgdelete() would then not have
    to call FREE() and setsid() would almost always be able to pull a new
    structure of the appropriate free list and thus not have to obtain Giant
    for the MALLOC.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>

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?200202232051.g1NKpE741310>