Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp694785rdb; Tue, 19 Sep 2023 07:38:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEzYpdzXMve8AB9u7XZDsqwqFyz3y1qjINOt8R9U3NemlxsgbKA9uayBlOdLiUKPbBsvQ/L X-Received: by 2002:a17:90b:11d1:b0:26b:36a4:feeb with SMTP id gv17-20020a17090b11d100b0026b36a4feebmr3440619pjb.8.1695134327528; Tue, 19 Sep 2023 07:38:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695134327; cv=none; d=google.com; s=arc-20160816; b=X+2HQAUcozdn1Mw06q4/2u82v5cncbQTVEzVGAm0NjC2YFOMf8ITC3VVScUmPMc9nv I+wDUPGIANJ0QOdYyUITc5k2lLyvpw8ID0RlULRYH0FT5QXO1WO0uNPs4KgzlL5jryOQ P9Y8vWY5TRKH3Ufe5gCvpuZVAvR6wThnppyUTfDlU7wEdLA8nXm3WHKFXzP6ak54NmPj U91a9rmL+GP2BKfqWUaVxjz3kmZWVig+e1Yem+6ypM0yjDKEJUq9SoKs6jqmipQB63hF PzHsK7nzgXj5UiYyc1Tg3mVau/loyEV1VXJKj27L8EW7d8sR9Z6ou9clBs5PHvK0oiFo dfcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=OrRjJN1BRLkJW9L4TtIknmd/hU/PO3H1YfHF14H84EI=; fh=zhRzt8sTduFzAAMVfGxWPmrxy/M8fNN6RVwg3324XAA=; b=XxUWed23jf3hSHCW6P4K0+2XRa5mhQlPv6X7v8XS5KyC2upMkeVgLtXO9bC3qwfeHi aLxcL1CsB8luJCakYo00hKgFH0qxiCMGOql5DVxM+zgpgA5mlBcorEF0eSBicN+ylP/4 zseyeluIq89erPfeF5ggZ6ftXqsEIq2e3/MWEhlHi13Ld8metpDMwzjlfdzDGSx0qGzc 75cPxsDpwG22c4K5exiWOkpapu+d9EtSZHw2akDPDTx3nH6IfQMPEova40G8GxD3e+9P pKBuE9FTRu0mcvoM/ymfmb4sGBNYsg08Q4Wc9Exme1eZSEcjt9ujATo/yb8Ft6fXoaUk hN0Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id w190-20020a6382c7000000b005694b757228si1575751pgd.688.2023.09.19.07.38.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 07:38:47 -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; 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 Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id C06F181E022F; Tue, 19 Sep 2023 07:22:51 -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 S232705AbjISOWy (ORCPT + 99 others); Tue, 19 Sep 2023 10:22:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232679AbjISOWx (ORCPT ); Tue, 19 Sep 2023 10:22:53 -0400 Received: from www.kot-begemot.co.uk (ns1.kot-begemot.co.uk [217.160.28.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5BD983 for ; Tue, 19 Sep 2023 07:22:47 -0700 (PDT) Received: from [192.168.17.6] (helo=jain.kot-begemot.co.uk) by www.kot-begemot.co.uk with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qibbi-002SAY-6X; Tue, 19 Sep 2023 14:21:42 +0000 Received: from jain.kot-begemot.co.uk ([192.168.3.3]) by jain.kot-begemot.co.uk with esmtp (Exim 4.94.2) (envelope-from ) id 1qibbf-00FmyT-Fd; Tue, 19 Sep 2023 15:21:41 +0100 Message-ID: Date: Tue, 19 Sep 2023 15:21:39 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: Arches that don't support PREEMPT Content-Language: en-US To: Peter Zijlstra , John Paul Adrian Glaubitz Cc: Matthew Wilcox , Thomas Gleixner , 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 , 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 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> From: Anton Ivanov In-Reply-To: <20230919134218.GA39281@noisy.programming.kicks-ass.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.0 X-Spam-Score: -2.0 X-Clacks-Overhead: GNU Terry Pratchett X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham 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:22:51 -0700 (PDT) On 19/09/2023 14:42, Peter Zijlstra wrote: > On Tue, Sep 19, 2023 at 03:37:24PM +0200, John Paul Adrian Glaubitz wrote: >> On Tue, 2023-09-19 at 14:00 +0100, Matthew Wilcox wrote: >>> On Tue, Sep 19, 2023 at 02:30:59PM +0200, Thomas Gleixner wrote: >>>> Though it just occured to me that there are dragons lurking: >>>> >>>> arch/alpha/Kconfig: select ARCH_NO_PREEMPT >>>> arch/hexagon/Kconfig: select ARCH_NO_PREEMPT >>>> arch/m68k/Kconfig: select ARCH_NO_PREEMPT if !COLDFIRE >>>> arch/um/Kconfig: select ARCH_NO_PREEMPT >>> >>> Sounds like three-and-a-half architectures which could be queued up for >>> removal right behind ia64 ... >> >> 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 :-) In the case of UML adding preempt will be quite difficult. I looked at this a few years back. At the same time it is used for kernel test and other stuff. It is not exactly abandonware on a CPU found in archaeological artifacts of past civilizations like ia64. > > _______________________________________________ > linux-um mailing list > linux-um@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-um > -- Anton R. Ivanov Cambridgegreys Limited. Registered in England. Company Number 10273661 https://www.cambridgegreys.com/