Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 10 Apr 2001 03:29:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 10 Apr 2001 03:29:07 -0400 Received: from d12lmsgate-2.de.ibm.com ([195.212.91.200]:1007 "EHLO d12lmsgate-2.de.ibm.com") by vger.kernel.org with ESMTP id convert rfc822-to-8bit; Tue, 10 Apr 2001 03:28:57 -0400 From: schwidefsky@de.ibm.com X-Lotus-FromDomain: IBMDE To: Andi Kleen cc: Mark Salisbury , Jeff Dike , linux-kernel@vger.kernel.org Message-ID: Date: Tue, 10 Apr 2001 09:27:00 +0200 Subject: Re: No 100 HZ timer ! Mime-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-transfer-encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org >Just how would you do kernel/user CPU time accounting then ? It's currently done >on every timer tick, and doing it less often would make it useless. This part is architecture dependent. For S/390 I choose to do a "STCK" on every system entry/exit. Dunno if this can be done on other architectures too, on S/390 this is reasonably cheap (one STCK costs 15 cycles). That means the kernel/user CPU time accounting is MUCH better now. blue skies, Martin Linux/390 Design & Development, IBM Deutschland Entwicklung GmbH Sch?naicherstr. 220, D-71032 B?blingen, Telefon: 49 - (0)7031 - 16-2247 E-Mail: schwidefsky@de.ibm.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/