From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 7176 invoked from network); 19 Oct 1999 16:53:19 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 19 Oct 1999 16:53:19 -0000 Received: from nn-pascal (nn-pascal.aston.ac.uk [134.151.59.49]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id MAA14174 for ; Tue, 19 Oct 1999 12:53:18 -0400 Received: from hjorthl (helo=localhost) by nn-pascal with local-esmtp (Exim 2.12 #1) id 11dcT9-0003Hc-00 for axp-list@redhat.com; Tue, 19 Oct 1999 17:50:39 +0100 Date: Tue, 19 Oct 1999 17:50:39 +0100 (BST) From: Lars Hjorth X-Sender: hjorthl@nn-pascal To: axp-list@redhat.com Subject: Re: process time accounting In-Reply-To: <199910191724.NAA01247@linux04.mro.dec.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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