Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263612AbUCYUqd (ORCPT ); Thu, 25 Mar 2004 15:46:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263614AbUCYUqc (ORCPT ); Thu, 25 Mar 2004 15:46:32 -0500 Received: from mx1.elte.hu ([157.181.1.137]:39816 "EHLO mx1.elte.hu") by vger.kernel.org with ESMTP id S263612AbUCYUqb (ORCPT ); Thu, 25 Mar 2004 15:46:31 -0500 Date: Thu, 25 Mar 2004 21:30:32 +0100 From: Ingo Molnar To: Andi Kleen Cc: jun.nakajima@intel.com, ricklind@us.ibm.com, piggin@cyberone.com.au, linux-kernel@vger.kernel.org, akpm@osdl.org, kernel@kolivas.org, rusty@rustcorp.com.au, anton@samba.org, lse-tech@lists.sourceforge.net, mbligh@aracnet.com Subject: Re: [Lse-tech] [patch] sched-domain cleanups, sched-2.6.5-rc2-mm2-A3 Message-ID: <20040325203032.GA15663@elte.hu> References: <7F740D512C7C1046AB53446D372001730111990F@scsmsx402.sc.intel.com> <20040325154011.GB30175@wotan.suse.de> <20040325190944.GB12383@elte.hu> <20040325162121.5942df4f.ak@suse.de> <20040325193913.GA14024@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040325193913.GA14024@elte.hu> User-Agent: Mutt/1.4.1i X-ELTE-SpamVersion: MailScanner 4.26.8-itk2 (ELTE 1.1) SpamAssassin 2.63 ClamAV 0.65 X-ELTE-VirusStatus: clean X-ELTE-SpamCheck: no X-ELTE-SpamCheck-Details: score=-4.9, required 5.9, autolearn=not spam, BAYES_00 -4.90 X-ELTE-SpamLevel: X-ELTE-SpamScore: -4 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 647 Lines: 22 * Andi Kleen wrote: > That won't help for threaded programs that use clone(). OpenMP is such > a case. this patch: redhat.com/~mingo/scheduler-patches/sched-2.6.5-rc2-mm3-A4 does balancing at wake_up_forked_process()-time. but it's a hard issue. Especially after fork() we do have a fair amount of cache context, and migrating at this point can be bad for performance. Ingo - 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/