From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261589AbULNSuu (ORCPT ); Tue, 14 Dec 2004 13:50:50 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261592AbULNSut (ORCPT ); Tue, 14 Dec 2004 13:50:49 -0500 Received: from gprs215-5.eurotel.cz ([160.218.215.5]:65409 "EHLO amd.ucw.cz") by vger.kernel.org with ESMTP id S261589AbULNSup (ORCPT ); Tue, 14 Dec 2004 13:50:45 -0500 Date: Tue, 14 Dec 2004 19:50:15 +0100 From: Pavel Machek To: linux-os@analogic.com Cc: Andrea Arcangeli , Nish Aravamudan , Andrew Morton , kernel@kolivas.org, linux-kernel@vger.kernel.org Subject: Re: dynamic-hz Message-ID: <20041214185015.GB3182@elf.ucw.cz> References: <20041212222312.GN16322@dualathlon.random> <41BCD5F3.80401@kolivas.org> <20041213030237.5b6f6178.akpm@osdl.org> <20041213111741.GR16322@dualathlon.random> <20041213032521.702efe2f.akpm@osdl.org> <29495f1d041213195451677dab@mail.gmail.com> <29495f1d041214085457b8c725@mail.gmail.com> <20041214171503.GG16322@dualathlon.random> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.6+20040722i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org HI! > The timeout of (0) was really to make the code more obvious, the > facts being that we really need to get the CPU back as soon as > there are no higher-priority tasks computable. If yield() would > work like schedule(0), of course I'd use it. The major problem > with yield() probably has to do with accounting. The machine > "feels" as though the CPU is properly available when you need > it, however it appears to be spinning, using 100% system time. > This makes customers nervous. Well, machine that showed as "idle" yet had cpu running at full speed would make *me* nervous... Pavel -- People were complaining that M$ turns users into beta-testers... ...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!