From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 30071 invoked from network); 19 Oct 1999 16:37:49 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 19 Oct 1999 16:37:49 -0000 Received: from mailext12.compaq.com (mailext12.compaq.com [207.18.199.188]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id MAA12593 for ; Tue, 19 Oct 1999 12:37:48 -0400 Received: from mailint12.im.hou.compaq.com (mailint12.compaq.com [207.18.199.190]) by mailext12.compaq.com (Postfix) with ESMTP id 05A5257A86 for ; Tue, 19 Oct 1999 11:37:48 -0500 (CDT) Received: by mailint12.im.hou.compaq.com (Postfix, from userid 12345) id 081554FB5D; Tue, 19 Oct 1999 11:37:25 -0500 (CDT) Received: from pdgsrv.mro.dec.com (pdgsrv.mro.dec.com [16.34.112.86]) by mailint12.im.hou.compaq.com (Postfix) with ESMTP id D2B844C921 for ; Tue, 19 Oct 1999 11:37:20 -0500 (CDT) Received: from linux04.mro.dec.com by pdgsrv.mro.dec.com; (8.8.8/1.1.8.2/13Dec96-1209PM) id MAA08143; Tue, 19 Oct 1999 12:37:37 -0400 (EDT) Received: from linux04.mro.dec.com (jestabro@localhost [127.0.0.1]) by linux04.mro.dec.com (8.8.7/8.8.7) with ESMTP id NAA01247 for ; Tue, 19 Oct 1999 13:24:39 -0400 Message-Id: <199910191724.NAA01247@linux04.mro.dec.com> X-Mailer: exmh version 2.0.2 X-Exmh-Isig-CompType: repl X-Exmh-Isig-Folder: axp-list To: axp-list@redhat.com From: Jay.Estabrook@digital.com Subject: Re: process time accounting In-reply-to: Your message of Tue, 19 Oct 1999 17:11:25 +0100. Mime-Version: 1.0 Content-Type: text/plain Date: Tue, 19 Oct 1999 13:24:38 -0400 Sender: jestabro@linux04.mro.dec.com >>> 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... ;-} Patch it by changing the appropriate line in include/asm-alpha/ptrace.h to: #define user_mode(regs) (((regs)->ps & 8) != 0) --Jay++ ----------------------------------------------------------------------------- Jay A Estabrook Alpha Engineering - LINUX Project Compaq Computer Corp. - MRO1-2/K20 (508) 467-2080 200 Forest Street, Marlboro, MA 01752 Jay.Estabrook@compaq.com -----------------------------------------------------------------------------