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=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no 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 DAD54C433EF for ; Tue, 21 Sep 2021 13:50:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BE64F60F6D for ; Tue, 21 Sep 2021 13:50:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233425AbhIUNwG (ORCPT ); Tue, 21 Sep 2021 09:52:06 -0400 Received: from foss.arm.com ([217.140.110.172]:34172 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233293AbhIUNwF (ORCPT ); Tue, 21 Sep 2021 09:52:05 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 190736D; Tue, 21 Sep 2021 06:50:37 -0700 (PDT) Received: from C02TD0UTHF1T.local (unknown [10.57.23.155]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 578F83F719; Tue, 21 Sep 2021 06:50:35 -0700 (PDT) Date: Tue, 21 Sep 2021 14:50:32 +0100 From: Mark Rutland To: Peter Zijlstra Cc: Frederic Weisbecker , Catalin Marinas , Will Deacon , LKML , Ard Biesheuvel , James Morse , Quentin Perret Subject: Re: [PATCH 1/4] sched/preempt: Prepare for supporting !CONFIG_GENERIC_ENTRY dynamic preemption Message-ID: <20210921135032.GB35846@C02TD0UTHF1T.local> References: <20210920233237.90463-1-frederic@kernel.org> <20210920233237.90463-2-frederic@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 21, 2021 at 09:10:10AM +0200, Peter Zijlstra wrote: > On Tue, Sep 21, 2021 at 01:32:34AM +0200, Frederic Weisbecker wrote: > > There is no need to force dynamic preemption to depend on the generic > > entry code. The latter is convenient but not mandatory. An architecture > > that doesn't support it just need to provide a static call on its > > kernel IRQ exit preemption path. > > True; but at the same time ARM64 is also moving to generic entry. Mark? That's the aspiration, but it's going to take a while to rework the arm64 and common code. So far I've just been focusing on the groundwork of moving stuff out of asm so that we can see the wood for the trees. Generally my preference would be to move things over in stages, to avoid a flag day where there's the potential for many things to break simultaneously. So if this is relatively self contained, I think it maybe worthwhile to do on its own, but I don't have very strong feelings on that. Thanks, Mark.