From owner-freebsd-current@FreeBSD.ORG Wed Oct 24 09:41:15 2007 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 42B5F16A420 for ; Wed, 24 Oct 2007 09:41:15 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id ECE1213C4B9 for ; Wed, 24 Oct 2007 09:41:14 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 26000468C4; Wed, 24 Oct 2007 11:08:47 +0200 (CEST) Received: from localhost (arm130.internetdsl.tpnet.pl [83.17.198.130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 5E73F468C0; Wed, 24 Oct 2007 11:08:39 +0200 (CEST) Date: Wed, 24 Oct 2007 11:08:20 +0200 From: Pawel Jakub Dawidek To: Julian Elischer Message-ID: <20071024090820.GC1122@garage.freebsd.pl> References: <471BDA2E.9040801@elischer.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bAmEntskrkuBymla" Content-Disposition: inline In-Reply-To: <471BDA2E.9040801@elischer.org> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: current@FreeBSD.org Subject: Re: kthreads->kproc and back to kthread.. next patch 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: Wed, 24 Oct 2007 09:41:15 -0000 --bAmEntskrkuBymla Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Oct 21, 2007 at 04:01:02PM -0700, Julian Elischer wrote: > Here is the link to the next patch. [...] I just want to point one more thing to look at. Currently we have no clean KPI to operate on file systems from within a kernel thread, thus hacks like: if (td->td_proc->p_fd->fd_rdir =3D=3D NULL) td->td_proc->p_fd->fd_rdir =3D rootvnode; if (td->td_proc->p_fd->fd_cdir =3D=3D NULL) td->td_proc->p_fd->fd_cdir =3D rootvnode; Now, that all those separate kernel threads are going to end up in one process, we may want to revise this. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --bAmEntskrkuBymla Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHHwuEForvXbEpPzQRAvqdAKDRD5ABcnlsmLwwphdcPcWUZgx5tQCgkvwE LQu3DsNmUkVy/AF1mGd+SIo= =tQWh -----END PGP SIGNATURE----- --bAmEntskrkuBymla--