From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759493AbYHULlR (ORCPT ); Thu, 21 Aug 2008 07:41:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756275AbYHULlB (ORCPT ); Thu, 21 Aug 2008 07:41:01 -0400 Received: from mx2.mail.elte.hu ([157.181.151.9]:48390 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750828AbYHULlA (ORCPT ); Thu, 21 Aug 2008 07:41:00 -0400 Date: Thu, 21 Aug 2008 13:40:40 +0200 From: Ingo Molnar To: Peter Zijlstra Cc: Nick Piggin , Gregory Haskins , vatsa , linux-kernel Subject: Re: [PATCH] sched: properly account IRQ and RT load in SCHED_OTHER load balancing Message-ID: <20080821114040.GA30667@elte.hu> References: <1219310330.8651.93.camel@twins> <20080821104718.GA28331@elte.hu> <20080821111713.GA15680@elte.hu> <1219317766.8651.110.camel@twins> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1219317766.8651.110.camel@twins> User-Agent: Mutt/1.5.18 (2008-05-17) X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.3 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Peter Zijlstra wrote: > On Thu, 2008-08-21 at 13:17 +0200, Ingo Molnar wrote: > > * Ingo Molnar wrote: > > > > > > This patch tries to solve this issue by accounting the time spend on > > > > both Real-Time tasks and IRQ handling, and using that to > > > > proportionally inflate the SCHED_OTHER load. > > > > > > applied it to tip/sched/devel for more testing. > > > > -tip testing found that it wouldnt build on UP in sched_debug.c - made > > that bit dependent on CONFIG_SMP. sched_scale_load() does not seem to be > > too meaningful on UP. > > Thanks - just prior to posting I removed the empty stub for > sched_scale_load() because it didn't make sense for UP code to use > it... > > So much for double checking myself. hm, the empty stub might be useful still and would remove the #ifdef from sched_debug.c. Could you please send a delta patch against tip/master? Ingo