Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1349629rdb; Wed, 20 Sep 2023 06:58:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG9jkv2qFgIShVxkG2EoIUxC3fFvKWRY1B2E0r3Rq3EW0BNJCzNUk3coxy0+Cq3A+l6ozux X-Received: by 2002:a05:6a00:1508:b0:68b:c562:da65 with SMTP id q8-20020a056a00150800b0068bc562da65mr2866306pfu.26.1695218329787; Wed, 20 Sep 2023 06:58:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695218329; cv=none; d=google.com; s=arc-20160816; b=IR8XLsTdiMg6xaxjNXzH6nScLf97Zwx0uwfYJASu5KCcIkxkquRW64zq7fpFEeDD3C evM9Us1R1p+HVrqBi2SuiAwMQjjDU12F0RRbzAf5qKBsrVSR/UjErRG/+WktXKWIa1Ki Sxd1t97tYs7vB9tEBcn6qx263ro31KkVwBHmFYR+q8cBXMFWXMuP5hof0vZSI/HTUZbJ D6C9Cb4bFZOxTh5RyesvNOl253P+WM9EODP40WZXM+4wjdQNXRB1f3dnkXTcFuxsLykW GWA/P3Wi8w0aJIJ/JzT8EX5hBwE/fPGJtm8zQMwLDq90gFj+4clafp3YTn/dLsMZRL21 pNEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:sender:dkim-signature; bh=jWzgC+PpnfmZJpwJToZon+LX7cLfjuMVcroIeSc6zGs=; fh=E0qwWEqmWDPtCZEP/mwohkw6DhjWF33p/rmSRorTcnw=; b=UMypEOKw3z2snX1tWYLwFNYF0aUskVDI4kKpIgr0+UBQLyeobqfQOxA7FJTr9LzbOz i8jf5bh6VF/aa4WmbdQ6Ur/6HEwre0f/qhH7HHgX9w2636gXcHqHYak4axtHLYYI2hb+ H3Q1SQlxaNngdVymikeYh4Ly/Y04VVMBiRUDVPsCeTIXfRraKuajK8QXRHWaxTGcsq4O oPCbowlVRa0CPD8jFeANa5caNiRLeSABkH5OQ6ei3t+paxjHenijBwkhVBgN5BV2xWSu EBOU+PSeX7HcbGmGInUdqYEYfgQFqjjWZwUdchI78BB3AbugZHSOCshiYzLb9ZwOlUTk bj0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=eHwbfk3T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id k66-20020a636f45000000b00565323c8295si11499698pgc.749.2023.09.20.06.58.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 06:58:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=eHwbfk3T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id CA1F480F5F05; Wed, 20 Sep 2023 00:32:53 -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 S233755AbjITHcv (ORCPT + 99 others); Wed, 20 Sep 2023 03:32:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233727AbjITHcu (ORCPT ); Wed, 20 Sep 2023 03:32:50 -0400 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E7F7DD; Wed, 20 Sep 2023 00:32:43 -0700 (PDT) Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-401ec23be82so69882075e9.0; Wed, 20 Sep 2023 00:32:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695195162; x=1695799962; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=jWzgC+PpnfmZJpwJToZon+LX7cLfjuMVcroIeSc6zGs=; b=eHwbfk3T4K7FfIw/icgd0CVcXFEsLzlRgIqN0uUreBD9KJU7AFka1mgjM/mGzOSmEa /pSlhklTcaMYzcJRHYxZxw9n0uAV8lqQIQSETCaPhGjb/bi18Wsj2cZUjcs2/64WcenQ 0rm48tz/qdo17WBeL5JWFBlZb2kaWovHcTBDilZqp8taMdcNS6UQOJFqYyPSkuccRKso XQEBu4Bj7LXMfUtwjmeAiMqqqKmEAtJtB1YsGxw/i4OTXQACG/OcPQtBQCgPIkwHezJk ge/S7RXs1GnhABwc0AnTmR+Tb7FO8fnyDjSYlYLSALClG0bjiighlYKrnFsBPHUApNZE BQ4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695195162; x=1695799962; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jWzgC+PpnfmZJpwJToZon+LX7cLfjuMVcroIeSc6zGs=; b=VEi0Lv8OVYKn/Sog59YBgE340a9tntq37upaVOHJdtTh/Un0+nRfiKgLgctXRTjeba ISpO5vh/z+lJQckU9Mdi/jCaLCb8ypSxMvT2Oxe/SxcPqnt48dB2rGhFj3v9KKKLKjJV qctcGaZj+YwvTUIIDI9HdvGFEGDxPDWItQRsNupH71qYzEvGDHOZLBMxhf3MV61B1bdT 6iEpOEogy1/J5vu+P8nUv6UwMaGr5S2GUpcBIm7Mijs4lO4hUtT4tfJUh/oY3pi36s4z Cqeiv7vaQ/Uby8xu7K8rZHi1wzDt6jtfD6gmQZHtdETxSPzIAEZbXNsQ/PNj2l0R9ckO cBFQ== X-Gm-Message-State: AOJu0Yw8X5S0nAYgkU4JWGSCSO1WoMPqitzwatnkqBxJqRnE+Nr47zky 9bJfkBO3Ix/zROntvKjztpg= X-Received: by 2002:a7b:cbc5:0:b0:3fd:30f7:2be1 with SMTP id n5-20020a7bcbc5000000b003fd30f72be1mr1579415wmi.39.1695195161611; Wed, 20 Sep 2023 00:32:41 -0700 (PDT) Received: from gmail.com (1F2EF265.nat.pool.telekom.hu. [31.46.242.101]) by smtp.gmail.com with ESMTPSA id h4-20020a05600c350400b00402f713c56esm1165817wmq.2.2023.09.20.00.32.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 00:32:41 -0700 (PDT) Sender: Ingo Molnar Date: Wed, 20 Sep 2023 09:32:38 +0200 From: Ingo Molnar To: Steven Rostedt Cc: Thomas Gleixner , Linus Torvalds , John Paul Adrian Glaubitz , Peter Zijlstra , Matthew Wilcox , 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, 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 Message-ID: References: <87cyyfxd4k.ffs@tglx> <87led2wdj0.ffs@tglx> <0e69f7df80dc5878071deb0d80938138d19de1d1.camel@physik.fu-berlin.de> <20230919134218.GA39281@noisy.programming.kicks-ass.net> <87pm2eui95.ffs@tglx> <20230919143816.1741760a@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230919143816.1741760a@gandalf.local.home> X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,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]); Wed, 20 Sep 2023 00:32:53 -0700 (PDT) * Steven Rostedt wrote: > On Tue, 19 Sep 2023 20:31:50 +0200 > Thomas Gleixner wrote: > > > The removal of cond_resched() might cause latencies, but then I doubt > > that these museus pieces are used for real work :) > > We could simply leave the cond_resched() around but defined as nops for > everything but the "nostalgia club" to keep them from having any regressions. That's not a good idea IMO, it's an invitation for accelerated rate bitrot turning cond_resched() meaningless very quickly. We should remove cond_resched() - but probably not as the first step. They are conceptually independent of NEED_RESCHED_LAZY and we don't *have to* remove them straight away. By removing cond_resched() separately there's an easily bisectable point to blame for any longer latencies on legacy platforms, should any of them still be used with recent kernels. Thanks, Ingo