From owner-cvs-src@FreeBSD.ORG Mon Jul 7 08:45:53 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E397137B401; Mon, 7 Jul 2003 08:45:53 -0700 (PDT) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id C3E4643F85; Mon, 7 Jul 2003 08:45:52 -0700 (PDT) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id A79A92ED441; Mon, 7 Jul 2003 08:45:52 -0700 (PDT) Date: Mon, 7 Jul 2003 08:45:52 -0700 From: Alfred Perlstein To: deischen@FreeBSD.org Message-ID: <20030707154552.GP72093@elvis.mu.org> References: <20030707082506.GA90638@HAL9000.homeunix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i cc: David Xu cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: cvs-src@FreeBSD.org Subject: Re: cvs commit: src/lib/libpthread/thread thr_attr_get_np.c thr_cancel.c thr_getschedparam.c thr_join.c thr_mutex_prioceiling.c thr_sigaction.c thr_sigmask.c thr_sigpending.c thr_sigsuspend.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jul 2003 15:45:54 -0000 * Daniel Eischen [030707 05:56] wrote: > > The code questioned is when we are not in the UTS but have > a current thread. We block upcalls when threads are in > critical regions (so the thread won't be swapped out > onto a different KSE by the kernel). In those regions, > we can page fault and the KSE will not run again until > the page is present (just like above), but we don't want > a SEGV caused by an application parameter. If we get > a SEGV, the KSE will not run again (because upcalls > are blocked) and the application will not get the signal. Thanks David and Dan, this makes a sense now. (David's earlier explanation was also great.)