From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4B364C433F5 for ; Tue, 14 Sep 2021 14:10:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2E89260FDA for ; Tue, 14 Sep 2021 14:10:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233619AbhINOMF (ORCPT ); Tue, 14 Sep 2021 10:12:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233349AbhINOMC (ORCPT ); Tue, 14 Sep 2021 10:12:02 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D0C9C061574 for ; Tue, 14 Sep 2021 07:10:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=ORJtzCbAdHLFjt3q5PVm7vWmJtjOXkitgYve8acSoVk=; b=Lomv8+pi0EJguTTHynaRBa4f5Z x9MHGfu/FXljL5t08hQWSBd9wjZHFLPI2+Y0MFswzMtXp2gVrGnGQnzgstg8JL+yN8WanMvzGSVjm kEIWLLJG2zTAYJ+zUhKDNO6SaD89qpxp7vEM1bTi76Kv9RcmGJHVUx9BY+UVQCDlSQc+j4Crs6Eyr GMyi/TpMHW7fq/G9X9d9bJ46oaoMc8nCAACaNmtN6DYjH5I25+hDaX+4UpFZf2djlMUK42kFWZ0/7 Mmh2Aqra4S2Aq+BkMxk2kz49JERNTor8FUrdTpm58I0leQSCTR5M6/z1pRtkym5wCOdnkSG3PdWW3 frThw5Yg==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mQ98E-00EjcR-7u; Tue, 14 Sep 2021 14:10:05 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id D9806300255; Tue, 14 Sep 2021 16:09:53 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id C260C2D069C2D; Tue, 14 Sep 2021 16:09:53 +0200 (CEST) Date: Tue, 14 Sep 2021 16:09:53 +0200 From: Peter Zijlstra To: Frederic Weisbecker Cc: LKML , Ingo Molnar Subject: Re: [PATCH v3] sched: Provide Kconfig support for default dynamic preempt mode Message-ID: References: <20210914103134.11309-1-frederic@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210914103134.11309-1-frederic@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 14, 2021 at 12:31:34PM +0200, Frederic Weisbecker wrote: > Currently the boot defined preempt behaviour (aka dynamic preempt) > selects full preemption by default when the "preempt=" boot parameter > is omitted. However distros may rather want to default to either > no preemption or voluntary preemption. > > To provide with this flexibility, make dynamic preemption a visible > Kconfig option and adapt the preemption behaviour selected by the user > to either static or dynamic preemption. > > Signed-off-by: Frederic Weisbecker Thanks!