From owner-freebsd-current@FreeBSD.ORG Mon Jan 23 23:28:28 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 606BD16A41F for ; Mon, 23 Jan 2006 23:28:28 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id EEE3A43D5F for ; Mon, 23 Jan 2006 23:28:27 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 0A53946C69; Mon, 23 Jan 2006 18:28:22 -0500 (EST) Date: Mon, 23 Jan 2006 23:29:36 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Julian Elischer In-Reply-To: <43D56468.1060101@elischer.org> Message-ID: <20060123232836.M48094@fledge.watson.org> References: <43D05151.5070409@elischer.org> <200601231616.49140.jhb@freebsd.org> <43D55739.80608@elischer.org> <20060123224756.R48094@fledge.watson.org> <43D56468.1060101@elischer.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@freebsd.org Subject: Re: kernel thread as real threads.. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jan 2006 23:28:28 -0000 On Mon, 23 Jan 2006, Julian Elischer wrote: > it would be no different from when a threaded process exits now.. > > With the current setup you have a whole set of worries about what to do > about the thread responds when the process has already died. These worries > are aqctually simplified if the thread is part of the process. (at least I > believe this to be the case). It would be good to know what the aio specs say (and what real applications expect) to happen on the current set of "single threading" events: - exec - fork (although davidxu is changing that) - exit And any others I don't remember. We may find we need to perform an aio drain wait there if we switch to doing AIO in the process context. Robert N M Watson