Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Oct 2007 11:08:20 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Julian Elischer <julian@elischer.org>
Cc:        current@FreeBSD.org
Subject:   Re: kthreads->kproc and back to kthread.. next patch
Message-ID:  <20071024090820.GC1122@garage.freebsd.pl>
In-Reply-To: <471BDA2E.9040801@elischer.org>
References:  <471BDA2E.9040801@elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071024090820.GC1122>