Re: kthreads->kproc and back to kthread.. next patch

From: Pawel Jakub Dawidek <pjd_at_FreeBSD.org>
Date: Wed, 24 Oct 2007 11:08:20 +0200
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_at_FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

Received on Wed Oct 24 2007 - 07:41:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:20 UTC