Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: [ktrace-lwp] src/sys



On Wed, 2 Jul 2003, Jason Thorpe wrote:

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

Yeah, I was thinking of that, and it'd make some of the utility Solaris
gets not be there. But it would save lock contention.

Take care,

Bill




Home | Main Index | Thread Index | Old Index