Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp908555rdb; Tue, 19 Sep 2023 14:05:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFpinlVGkqzN8v3KykfzGgmdo2v49yt6orMa4aVefNraBQDcwA9XQzktBxPX3mhKlvzwJgp X-Received: by 2002:a17:90a:9704:b0:274:748c:9c55 with SMTP id x4-20020a17090a970400b00274748c9c55mr851363pjo.20.1695157505915; Tue, 19 Sep 2023 14:05:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695157505; cv=none; d=google.com; s=arc-20160816; b=l3XOX9fOllQUF2YNrWXKuQPCigqF7yX8EbRQhir19j+X+ZO7CXUAd/RnzbPqJiYZYA 9YG/s+sLWOgLzbRh+o+Tr7ZrR3oG4n8VChoqCTXQb6cI9zBML4cMZA7ZrJBKXmupfEKd NfuVKhjyGV75+vhKkUrBsAPuMnywDNYxA9SGdgnMb2NyJezImA1fwf97qJ5Mu80OoR65 P2oiCP0zPYgmG0cBHAG12BFcOaM0Y/u4tr3WlXgvta1b7bNLbPnZEm3usJQXdYbUSgVV LZzEk2H6afYaVW/vMLyyxADy2Qb18r3ovrhFLYzWvHNCQQs0i04TX5oMNdv0zxu+nPAo Wg+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=AzWx00LzOrWB97CWuV/YA9TmYjDj3ZDIMkfBUMc4vK4=; fh=osPXoCZuREHo4HDp7NTfkSLIQH+jAPZJTf7+ZomokRY=; b=TBKS5FNhswLKVftv/CRTF8RdICo518JLgeXDT+NNBkuUwHLb8ePpzhRJm16BAwaedQ Q3dC6Nej+PNTrNwQ+u3r15TYJEL0i5CwOSWWEkcfuUoBpqiFdfy/ypKjalypQl2fuBeo KBPZj+Tam0mR2qVqJ2p+f8Th6+EoO5opC3mVSIoQ+4z8bYqAfo7tNq1AzP0l3lb7QttF VbusX2OwJ91nTVG6vzt96+9VcYN4QJgob+CUeAaTLdj3HDapihw4CXKx0sCFh5OnERhd K6+Kmn0U13vEMpewWRqLDwuH636pwWL4O3rLNnmT1XAnToQzPfFEXm78kmXj6xC35GMs ez0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=BOxMpPsV; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id kx1-20020a17090b228100b002749a2a43fbsi57260pjb.67.2023.09.19.14.05.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 14:05:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=BOxMpPsV; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id C52298184E15; Tue, 19 Sep 2023 07:17:22 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232750AbjISORW (ORCPT + 99 others); Tue, 19 Sep 2023 10:17:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232738AbjISORO (ORCPT ); Tue, 19 Sep 2023 10:17:14 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CEEBF4; Tue, 19 Sep 2023 07:17:06 -0700 (PDT) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1695133024; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=AzWx00LzOrWB97CWuV/YA9TmYjDj3ZDIMkfBUMc4vK4=; b=BOxMpPsViTe4eAtpu1ohDtFuIpN7IjvrZhvOBsd6347EBpK1i33XuSFab8AL0lweo+PFy8 3iOGDMIC+Hvv+hkN5eCfmcGqjfheYxtMZOzKC2dGwAvwVE43AtzVXjipdaNuZPnRPbknwE NhtRbmiYrJlKh0tGITD5wAlrwn4Xa6bmHo3iBcler3nO26HcQQl1xzJ/mp0JZif/nQtWlF dBjwcMDZfWh/3oIWHNKiGV3t+tWujITFdQ7bz0UDDF95w9VGLx6XyR7FCO5Coye1/DEUi6 rLum0uGnFlDWQ9t4rol0rAMiYlovZXwlD2eyyMvvFhw0zpX9gnqC1yMp/YlV2g== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1695133024; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=AzWx00LzOrWB97CWuV/YA9TmYjDj3ZDIMkfBUMc4vK4=; b=nRpx4S8fWZgScRYmAhyhfVuD4eX5xNxfXOTycjWAjLwMsE2Xlh4NbkKZ/6cMTKcYmUdKVK LXdA7Tw5o0myYtBA== To: John Paul Adrian Glaubitz , Peter Zijlstra Cc: Matthew Wilcox , Linus Torvalds , Ankur Arora , linux-kernel@vger.kernel.org, linux-mm@kvack.org, x86@kernel.org, akpm@linux-foundation.org, luto@kernel.org, bp@alien8.de, dave.hansen@linux.intel.com, hpa@zytor.com, mingo@redhat.com, juri.lelli@redhat.com, vincent.guittot@linaro.org, mgorman@suse.de, rostedt@goodmis.org, jon.grimm@amd.com, bharata@amd.com, raghavendra.kt@amd.com, boris.ostrovsky@oracle.com, konrad.wilk@oracle.com, jgross@suse.com, andrew.cooper3@citrix.com, Geert Uytterhoeven , linux-m68k@lists.linux-m68k.org, Richard Weinberger , Anton Ivanov , Johannes Berg , linux-um@lists.infradead.org, Brian Cain , linux-hexagon@vger.kernel.org, Richard Henderson , Ivan Kokshaysky , Matt Turner , linux-alpha@vger.kernel.org Subject: Re: Arches that don't support PREEMPT In-Reply-To: References: <87zg1u1h5t.fsf@oracle.com> <20230911150410.GC9098@noisy.programming.kicks-ass.net> <87h6o01w1a.fsf@oracle.com> <20230912082606.GB35261@noisy.programming.kicks-ass.net> <87cyyfxd4k.ffs@tglx> <87led2wdj0.ffs@tglx> <0e69f7df80dc5878071deb0d80938138d19de1d1.camel@physik.fu-berlin.de> <20230919134218.GA39281@noisy.programming.kicks-ass.net> Date: Tue, 19 Sep 2023 16:17:04 +0200 Message-ID: <877comw8m7.ffs@tglx> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 19 Sep 2023 07:17:22 -0700 (PDT) On Tue, Sep 19 2023 at 15:48, John Paul Adrian Glaubitz wrote: > On Tue, 2023-09-19 at 15:42 +0200, Peter Zijlstra wrote: >> > The agreement to kill off ia64 wasn't an invitation to kill off other stuff >> > that people are still working on! Can we please not do this? >> >> If you're working on one of them, then surely it's a simple matter of >> working on adding CONFIG_PREEMPT support :-) > > As Geert poined out, I'm not seeing anything particular problematic with the > architectures lacking CONFIG_PREEMPT at the moment. This seems to be more > something about organizing KConfig files. > > I find it a bit unfair that maintainers of architectures that have huge companies > behind them use their manpower to urge less popular architectures for removal just > because they don't have 150 people working on the port so they can keep up with > design changes quickly. I don't urge for removal. I just noticed that these four architectures lack PREEMPT support. The only thing which is missing is the actual preemption point in the return to kernel code path. But otherwise it should just work, which I obviously can't confirm :) Even without that preemption point it should build and boot. There might be some minor latency issues when that preemption point is not there, but adding it is not rocket science either. It's probably about 10 lines of ASM code, if at all. Though not adding that might cause a blocking issue for the rework of the whole preemption logic in order to remove the sprinkled around cond_resched() muck or force us to maintain some nasty workaround just for the benefit of a few stranglers. So I can make the same argument the other way around, that it's unjustified that some architectures which are just supported for nostalgia throw roadblocks into kernel developemnt. If my ALPHA foo wouldn't be very close to zero, I'd write that ASM hack myself, but that's going to cost more of my and your time than it's worth the trouble, Hmm. I could delegate that to Linus, he might still remember :) Thanks, tglx