:Here is the most up-to-date version of pgrp/session lock (at Change 6700):
:I would like to commit this on the next Sunday. Otherwise, my patch
:would conflict with other patches, especially tty.

    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

    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.

                                        Matthew Dillon 
                                        <[EMAIL PROTECTED]>

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to