From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759645Ab3BMOR4 (ORCPT ); Wed, 13 Feb 2013 09:17:56 -0500 Received: from mga11.intel.com ([192.55.52.93]:20072 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756042Ab3BMORz (ORCPT ); Wed, 13 Feb 2013 09:17:55 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.84,657,1355126400"; d="scan'208";a="286717061" Message-ID: <511BA08E.9050707@intel.com> Date: Wed, 13 Feb 2013 22:17:50 +0800 From: Alex Shi User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120912 Thunderbird/15.0.1 MIME-Version: 1.0 To: Peter Zijlstra CC: torvalds@linux-foundation.org, mingo@redhat.com, tglx@linutronix.de, akpm@linux-foundation.org, arjan@linux.intel.com, bp@alien8.de, pjt@google.com, namhyung@kernel.org, efault@gmx.de, vincent.guittot@linaro.org, gregkh@linuxfoundation.org, preeti@linux.vnet.ibm.com, viresh.kumar@linaro.org, linux-kernel@vger.kernel.org Subject: Re: [patch v4 01/18] sched: set SD_PREFER_SIBLING on MC domain to reduce a domain level References: <1358996820-23036-1-git-send-email-alex.shi@intel.com> <1358996820-23036-2-git-send-email-alex.shi@intel.com> <1360663879.4485.2.camel@laptop> In-Reply-To: <1360663879.4485.2.camel@laptop> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/12/2013 06:11 PM, Peter Zijlstra wrote: > On Thu, 2013-01-24 at 11:06 +0800, Alex Shi wrote: >> The domain flag SD_PREFER_SIBLING was set both on MC and CPU domain at >> frist commit b5d978e0c7e79a, and was removed uncarefully when clear up >> obsolete power scheduler. Then commit 6956dc568 recover the flag on CPU >> domain only. It works, but it introduces a extra domain level since this >> cause MC/CPU different. >> >> So, recover the the flag in MC domain too to remove a domain level in >> x86 platform. May I still miss the points of this patch: Without this patch, the domain levels on my machines are: SMT, MC, CPU, NUMA with this patch, the domain levels are: SMT, MC, NUMA -- Thanks Alex