From owner-freebsd-current@FreeBSD.ORG Sat Oct 20 19:25:44 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 615C916A468 for ; Sat, 20 Oct 2007 19:25:44 +0000 (UTC) (envelope-from jbucht@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.185]) by mx1.freebsd.org (Postfix) with ESMTP id 5DEA013C447 for ; Sat, 20 Oct 2007 19:25:21 +0000 (UTC) (envelope-from jbucht@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so680855rvb for ; Sat, 20 Oct 2007 12:25:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; bh=V9tyyxe+sD3rWp5P2kzTk/IT7tWV+Ly0N9wzRkVoJhY=; b=PuZcI3maWvgIhi2YXB9Fqa6YjRVVmX8LAeZJrsnG5rfTxPEfje1Z8wMj2lhhI+lS6iiu832j+B+iQmBSKLwpJcRd8sMObqweEfWNmfaG2T/vCkSVELTf54dPmCkoGD+sLlgGPzm7uTHTrx0zCerX+oIrJeJIPJBER7o2SghrCmU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=XLr7QzVtCRSI6UHtNMKg6M38JHVUx5ODZ5+oDeRYDKvoqFvgx/56QrwWsQiiWTuzNkpr1azHDL5almbsoWD9pBOUXiRfCmtQk58I/c7Zacp0NETBtvJK6yTq4ejeH05nUrbBoq9S7K3OTq5BaHbIzIjOXZptE8STl2Cy0y4v7Nc= Received: by 10.140.163.3 with SMTP id l3mr1623802rve.1192906841375; Sat, 20 Oct 2007 12:00:41 -0700 (PDT) Received: by 10.140.193.13 with HTTP; Sat, 20 Oct 2007 12:00:41 -0700 (PDT) Message-ID: <947010c30710201200t40f1d2eyef9cfa02e1cba12f@mail.gmail.com> Date: Sat, 20 Oct 2007 21:00:41 +0200 From: "Johan Bucht" To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: julian@elischer.org Subject: Re: kthread vs kproc 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: Sat, 20 Oct 2007 19:25:44 -0000 Excellent, I was planning on prodding someone about this a while back, hope this will give some measurable performance improvements without sacrificing stability. How much will this affect debuggability, will there be a higher chance of thrashed call stacks and thus non-valid panic traces? Feels a bit strange that some callers expect a process when calling a function that says it creates a thread, but I guess it's a bit late to complain that noone made a kproc macro for aio et al. What does aio actually need that requires it to run as a process? /Johan