From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752684AbaAMTXC (ORCPT ); Mon, 13 Jan 2014 14:23:02 -0500 Received: from mga01.intel.com ([192.55.52.88]:36641 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752221AbaAMTWy (ORCPT ); Mon, 13 Jan 2014 14:22:54 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.95,654,1384329600"; d="scan'208";a="464459362" Subject: [PATCH 06/12] x86 Kconfig: scheduler options To: linux-kernel@vger.kernel.org Cc: x86@kernel.org, Dave Hansen From: Dave Hansen Date: Mon, 13 Jan 2014 11:22:52 -0800 References: <20140113192245.3F682C7F@viggo.jf.intel.com> In-Reply-To: <20140113192245.3F682C7F@viggo.jf.intel.com> Message-Id: <20140113192252.ACD0BDA5@viggo.jf.intel.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Dave Hansen These are a few architecture-specific options that affect the scheduler. Group them together. Signed-off-by: Dave Hansen --- linux.git-davehans/arch/x86/Kconfig | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff -puN arch/x86/Kconfig~x86-scheduler-options arch/x86/Kconfig --- linux.git/arch/x86/Kconfig~x86-scheduler-options 2014-01-13 11:11:35.553207750 -0800 +++ linux.git-davehans/arch/x86/Kconfig 2014-01-13 11:11:35.555207841 -0800 @@ -959,18 +959,6 @@ config X86_32_IRIS If unused, say N. -config SCHED_OMIT_FRAME_POINTER - def_bool y - prompt "Single-depth WCHAN output" - depends on X86 - ---help--- - Calculate simpler /proc//wchan values. If this option - is disabled then wchan values will recurse back to the - caller function. This provides more accurate wchan values, - at the expense of slightly more scheduling overhead. - - If in doubt, say "Y". - menuconfig HYPERVISOR_GUEST bool "Linux guest support" ---help--- @@ -1186,6 +1174,8 @@ config IOMMU_HELPER def_bool y depends on CALGARY_IOMMU || GART_IOMMU || SWIOTLB || AMD_IOMMU +menu "x86 Scheduler Options" + config SCHED_SMT bool "SMT (Hyperthreading) scheduler support" depends on X86_HT @@ -1204,6 +1194,20 @@ config SCHED_MC making when dealing with multi-core CPU chips at a cost of slightly increased overhead in some places. If unsure say N here. +config SCHED_OMIT_FRAME_POINTER + def_bool y + prompt "Single-depth WCHAN output" + depends on X86 + ---help--- + Calculate simpler /proc//wchan values. If this option + is disabled then wchan values will recurse back to the + caller function. This provides more accurate wchan values, + at the expense of slightly more scheduling overhead. + + If in doubt, say "Y". + +endmenu # x86 Scheduler Options + source "kernel/Kconfig.preempt" config X86_UP_APIC _