From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758078Ab2CSOXH (ORCPT ); Mon, 19 Mar 2012 10:23:07 -0400 Received: from mx1.redhat.com ([209.132.183.28]:4047 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753965Ab2CSOXE (ORCPT ); Mon, 19 Mar 2012 10:23:04 -0400 Date: Mon, 19 Mar 2012 15:20:46 +0100 From: Andrea Arcangeli To: Peter Zijlstra Cc: Avi Kivity , Linus Torvalds , Andrew Morton , Thomas Gleixner , Ingo Molnar , Paul Turner , Suresh Siddha , Mike Galbraith , "Paul E. McKenney" , Lai Jiangshan , Dan Smith , Bharata B Rao , Lee Schermerhorn , Rik van Riel , Johannes Weiner , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [RFC][PATCH 00/26] sched/numa Message-ID: <20120319142046.GP24602@redhat.com> References: <20120316144028.036474157@chello.nl> <4F670325.7080700@redhat.com> <1332155527.18960.292.camel@twins> <20120319130401.GI24602@redhat.com> <1332164371.18960.339.camel@twins> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1332164371.18960.339.camel@twins> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 19, 2012 at 02:39:31PM +0100, Peter Zijlstra wrote: > On Mon, 2012-03-19 at 14:04 +0100, Andrea Arcangeli wrote: > > In implementation terms the scheduler is simplified and it won't work > > as well as it should with massive CPU overcommit. But I had to take > > shortcuts to keep the complexity down to O(N) where N is the number of > > CPUS > > Yeah I saw that, you essentially put a nr_cpus loop inside schedule(), > obviously that's not going to ever happen. lol Would be fun if such a simplification would still perform better than your code :). Yeah I'll try to fix that but it's massively complex and frankly benchmarking wise it won't help much fixing that... so it's beyond the end of my todo list.