Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Dec 2012 14:24:16 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        Jim Harris <jimharris@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r244549 - head/sys/dev/nvme
Message-ID:  <201212211424.16934.jhb@freebsd.org>
In-Reply-To: <201212211913.qBLJDmpm019837@svn.freebsd.org>
References:  <201212211913.qBLJDmpm019837@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday, December 21, 2012 2:13:48 pm Jim Harris wrote:
> Author: jimharris
> Date: Fri Dec 21 19:13:48 2012
> New Revision: 244549
> URL: http://svnweb.freebsd.org/changeset/base/244549
> 
> Log:
>   Put kthreads under curproc so they are attached to nvmecontrol rather
>   than pid 0.
>   
>   Sponsored by:	Intel

Hmm, is this really wise?  I'm not sure how well the kernel would handle a 
kthread belonging to a userland process.  You could just have each test
create a new kproc that holds the associated threads for that test instead
perhaps? 

-- 
John Baldwin



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