Subject: Re: CVS commit: [ktrace-lwp] src/sys
To: Bill Studenmund <wrstuden@netbsd.org>
From: Jason Thorpe <thorpej@wasabisystems.com>
List: source-changes
Date: 07/02/2003 18:34:17
On Wednesday, July 2, 2003, at 06:12  PM, Bill Studenmund wrote:

> It has both per-LWP and per-proc accounting (as I understand it). 
> While an
> LWP is alive, its usage accumulates in it. When an LWP exits, its 
> usage is
> transfered to the proc. So at any given time, the overal rusage is the
> proc's rusage + the sum of the rusage on all the lwps.

In Solaris, LWPs are associated with a proc long-term.  As I understand 
it, in our kernel, they are not necessarily.  Nathan -- correct me if 
I'm wrong.

         -- Jason R. Thorpe <thorpej@wasabisystems.com>