Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754840AbcCCSeU (ORCPT ); Thu, 3 Mar 2016 13:34:20 -0500 Received: from mga09.intel.com ([134.134.136.24]:51552 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751272AbcCCSeS (ORCPT ); Thu, 3 Mar 2016 13:34:18 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,532,1449561600"; d="scan'208";a="663330362" From: Andi Kleen To: Chris Metcalf Cc: Gilad Ben Yossef , Steven Rostedt , Ingo Molnar , Peter Zijlstra , Andrew Morton , "Rik van Riel" , Tejun Heo , Frederic Weisbecker , Thomas Gleixner , "Paul E. McKenney" , Christoph Lameter , Viresh Kumar , Catalin Marinas , Will Deacon , Andy Lutomirski , , Subject: Re: [PATCH v10 05/12] task_isolation: support CONFIG_TASK_ISOLATION_ALL References: <1456949376-4910-1-git-send-email-cmetcalf@ezchip.com> <1456949376-4910-6-git-send-email-cmetcalf@ezchip.com> Date: Thu, 03 Mar 2016 10:34:16 -0800 In-Reply-To: <1456949376-4910-6-git-send-email-cmetcalf@ezchip.com> (Chris Metcalf's message of "Wed, 2 Mar 2016 15:09:29 -0500") Message-ID: <87mvqfe7h3.fsf@tassilo.jf.intel.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 723 Lines: 22 Chris Metcalf writes: > > +config TASK_ISOLATION_ALL > + bool "Provide task isolation on all CPUs by default (except CPU 0)" > + depends on TASK_ISOLATION > + help > + If the user doesn't pass the task_isolation boot option to > + define the range of task isolation CPUs, consider that all > + CPUs in the system are task isolation by default. > + Note the boot CPU will still be kept outside the range to > + handle timekeeping duty, etc. That seems like a very dangerous Kconfig option. "CONFIG_BREAK_EVERYTHING" If someone sets that by default they will have a lot of trouble. I wouldn't add that, make it a run time option only. -Andi -- ak@linux.intel.com -- Speaking for myself only