Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754217Ab3IJGFw (ORCPT ); Tue, 10 Sep 2013 02:05:52 -0400 Received: from mail-la0-f53.google.com ([209.85.215.53]:64979 "EHLO mail-la0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753172Ab3IJGFu (ORCPT ); Tue, 10 Sep 2013 02:05:50 -0400 MIME-Version: 1.0 X-Originating-IP: [212.179.42.66] In-Reply-To: <00000140efbcb701-c26320b3-f434-4538-bc80-8e92fed6f303-000000@email.amazonses.com> References: <00000140efbcb701-c26320b3-f434-4538-bc80-8e92fed6f303-000000@email.amazonses.com> Date: Tue, 10 Sep 2013 09:05:49 +0300 Message-ID: Subject: Re: [RFC] Restrict kernel spawning of threads to a specified set of cpus. From: Gilad Ben-Yossef To: Christoph Lameter Cc: Andrew Morton , Thomas Gleixner , Frederic Weisbecker , Mike Frysinger , "linux-kernel@vger.kernel.org" , "Paul E. McKenney" Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1273 Lines: 40 Hi, On Thu, Sep 5, 2013 at 11:07 PM, Christoph Lameter wrote: > I am not sure how to call this kernel option but we need something like > that. I see drivers and the kernel spawning processes on the nohz cores. > The name kthread is not really catching the purpose. > > os_cpus=? highlatency_cpus=? > First off, thank you for doing this. It is very useful :-) Currently if one wishes to run a single task on an isolated CPU with as little interference as possible, one needs to pass rcu_nocbs, isolcpus, nohz_full parameters and now kthread parameter, all pretty much with the same values I know some people won't like this, but can we perhaps fold all these into a single parameter, perhaps even the existing isolcpus? Thanks, Gilad -- Gilad Ben-Yossef Chief Coffee Drinker gilad@benyossef.com Israel Cell: +972-52-8260388 US Cell: +1-973-8260388 http://benyossef.com "If you take a class in large-scale robotics, can you end up in a situation where the homework eats your dog?" -- Jean-Baptiste Queru -- 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/