Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp778754rdb; Tue, 19 Sep 2023 09:51:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGizZSf4FNWIIFPRLDd6KtL8y1E08TusCIHPZhQtXl6hw05ydeXT7Py1QG9ElhfR3I2atl8 X-Received: by 2002:a17:906:7690:b0:9a1:fda6:2e2a with SMTP id o16-20020a170906769000b009a1fda62e2amr358875ejm.9.1695142273603; Tue, 19 Sep 2023 09:51:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695142273; cv=none; d=google.com; s=arc-20160816; b=ecnKp5X6rsUxJgPaFQn4op5Ffm6auCkeJTf4iy8jkbI3z79tSa9LqGV9zRnPLtIBY/ 0G8dz5h+V0faKX15Ao3X+8v6KjnU1I762EOA2pCIAVuuff1BReTgZ7KQAZVk/V0LOmlf XOhwxBfI9ocdX55x17P4BqmJtVGnQltOvNdf3zlRZMbnrYGY2lDDtMbVH5atEGawhrJP bYybLXu9RR2VXiaNkqTG+fEzRiVRO82UAu8vCl1mBZHIF9mjkmsgM4u2cp/OFDOeLT68 rV+a5Z76Qz41SCrMjPkVr4zc90YD0K1z7jfnLgp4MIgqI7E4PcSIAYdC2LWK6nzkzX2G rqqg== 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=aJuz4PYNQLpA+9bgjHOq6E+jtRAXz7FeIo/FmrsVJTY=; fh=Omez4nYFlIv/W8DKF0nkNuj0kmum88BmrszeXZIO4rQ=; b=StYLTIKcHE+5gfLSv7vC0vUEF5AwQATXtoJCxuYjnTnep8tDn5TVbgsFcmwVv0UnNW uaEp+nesJ1l98dlcE+ws1UpDNTfw8jV8BnWr5iodVZ9SWt+qgfYfrw1cD/0dMl06MkcL 95zpYtMtYke11ERjSs4+sEyOhABpzpy9YqIlMdmOjv8iF9fto5FeTQ4pb0WBspeAJDFq rmnLSBswh5OJfexHSNSipBC+D4+AFnR2BBkpOI6uIv+F/EaIZHVlQ+Qv963Jo7+NLWgY s+qEP+yY0cDer2MUQtcr5+5QswUvhbGZUn5mU7sLutzlje62aRCayCw5ykuhJnDUNKe6 K42g== 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:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id y18-20020a1709064b1200b0099349f9c248si10539815eju.592.2023.09.19.09.51.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 09:51:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (Postfix) with ESMTP id 50AE781679C5; Tue, 19 Sep 2023 09:42:15 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231666AbjISQmL (ORCPT + 99 others); Tue, 19 Sep 2023 12:42:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230137AbjISQmJ (ORCPT ); Tue, 19 Sep 2023 12:42:09 -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 92CEAD6; Tue, 19 Sep 2023 09:42:02 -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 1qidmu-002SbU-Ay; Tue, 19 Sep 2023 16:41:24 +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 1qidmr-00FzAL-KO; Tue, 19 Sep 2023 17:41:23 +0100 Message-ID: Date: Tue, 19 Sep 2023 17:41:21 +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: Richard Weinberger Cc: tglx , Peter Zijlstra , John Paul Adrian Glaubitz , Matthew Wilcox , torvalds , Ankur Arora , linux-kernel , linux-mm , x86 , Andrew Morton , Andy Lutomirski , bp , dave hansen , hpa , mingo , juri lelli , vincent guittot , mgorman@suse.de, Steven Rostedt , jon grimm , bharata@amd.com, raghavendra kt , boris ostrovsky , konrad wilk , jgross , andrew cooper3 , Geert Uytterhoeven , linux-m68k , Johannes Berg , linux-um , Brian Cain , linux-hexagon@vger.kernel.org, Richard Henderson , Ivan Kokshaysky , Matt Turner , linux-alpha References: <87zg1u1h5t.fsf@oracle.com> <87led2wdj0.ffs@tglx> <0e69f7df80dc5878071deb0d80938138d19de1d1.camel@physik.fu-berlin.de> <20230919134218.GA39281@noisy.programming.kicks-ass.net> <87y1h2ur98.ffs@tglx> <9a5c0856-d542-9912-7494-53d7fe4538a3@cambridgegreys.com> <551475267.58816.1695140566849.JavaMail.zimbra@nod.at> From: Anton Ivanov In-Reply-To: <551475267.58816.1695140566849.JavaMail.zimbra@nod.at> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -2.0 X-Spam-Score: -2.0 X-Clacks-Overhead: GNU Terry Pratchett X-Spam-Status: No, score=-2.2 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,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 lipwig.vger.email 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 (lipwig.vger.email [0.0.0.0]); Tue, 19 Sep 2023 09:42:15 -0700 (PDT) On 19/09/2023 17:22, Richard Weinberger wrote: > ----- Ursprüngliche Mail ----- >> Von: "anton ivanov" >> It's been a while. I remember that I dropped it at the time, but do not remember >> the full details. >> >> There was some stuff related to FP state and a few other issues I ran into while >> rewriting the interrupt controller. Some of it may be resolved by now as we are >> using host cpu flags, etc. > > I remember also having a hacky but working version almost 10 years ago. > It was horrible slow because of the extra scheduler rounds. > But yes, if PREEMPT will be a must-have feature we'll have to try again. We will need proper fpu primitives for starters that's for sure. fpu_star/end in UML are presently NOOP. Some of the default spinlocks and other stuff which we pick up from generic may need to change as well. This is off the top of my head and something which we can fix straight away. I will send some patches to the mailing list tomorrow or on Thu. A. > > Thanks, > //richard > > _______________________________________________ > 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/