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
[-- Attachment #1 --] 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 == NULL) td->td_proc->p_fd->fd_rdir = rootvnode; if (td->td_proc->p_fd->fd_cdir == NULL) td->td_proc->p_fd->fd_cdir = rootvnode; Now, that all those separate kernel threads are going to end up in one process, we may want to revise this. -- Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHHwuEForvXbEpPzQRAvqdAKDRD5ABcnlsmLwwphdcPcWUZgx5tQCgkvwE LQu3DsNmUkVy/AF1mGd+SIo= =tQWh -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071024090820.GC1122>
