Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Lars Hjorth <hjorthl@aston.ac.uk>
To: axp-list@redhat.com
Subject: Re: process time accounting
Date: Tue, 19 Oct 1999 17:50:39 +0100 (BST)	[thread overview]
Message-ID: <Pine.GSO.4.05.9910191748110.9129-100000@nn-pascal> (raw)
In-Reply-To: <199910191724.NAA01247@linux04.mro.dec.com>

On Tue, 19 Oct 1999 Jay.Estabrook@digital.com wrote:

> 
> >>> Lars Hjorth said:
> > 
> > I have noticed a problem where the statistics about cpu-usage for the
> > processes are invalid on my Compaq DS20 machine with Linux 2.2.9 SMP. The
> > statistics will only take time used on the first processor but not on the
> > second. Am I the only one to experience this?
> 
> No, which is why its fixed in later sources... ;-}

I thought I had the latest. Ops. I am actually running 2.2.12.

> 
> Patch it by changing the appropriate line in include/asm-alpha/ptrace.h to:
> 
> 	#define user_mode(regs) (((regs)->ps & 8) != 0)

This is exactly what's in  my file :-(

/Lars


  reply	other threads:[~1999-10-19 16:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-19 16:11 process time accounting Lars Hjorth
1999-10-19 17:24 ` Jay.Estabrook
1999-10-19 16:50   ` Lars Hjorth [this message]
1999-10-19 17:52 ` Jay.Estabrook
1999-10-19 18:03   ` xosview Todd Henderson
1999-10-19 19:04     ` xosview Jay.Estabrook
1999-10-20 10:35   ` process time accounting Lars Hjorth
1999-10-21 21:47     ` Jay.Estabrook
1999-10-22  8:21       ` Lars Hjorth
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox