Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp668661rdb; Tue, 19 Sep 2023 07:02:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHxQXo1kCg1ak7mvrVDce0BXBXzq3Pdk/pMGGBLOJ3H2Uv9lLTnqfrW1rAH4zmJ7f6iBpBt X-Received: by 2002:a17:903:32ca:b0:1c3:ed30:ce06 with SMTP id i10-20020a17090332ca00b001c3ed30ce06mr14010265plr.17.1695132123390; Tue, 19 Sep 2023 07:02:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695132123; cv=none; d=google.com; s=arc-20160816; b=KXU3Z2cVzEdnmdp3gVChujiDLxboWLpcVPKF8J0aEnRb52jrQj5eoNEiiQCdy9lsI8 fQfF8a606dL/6jyc5FDrYL/rV4H9H+bQwcLavSlFgdut8JNWGf4rbtEPzCVRQQ8IR/NL 76i5XxirT3uQ4W2we6X5I8bkCqqGr1kv0BYTZ8yApUPLogvUskKzpsctgHJ51/AsPWX7 KwV0lnAaWeV/DjbIZtaa5AqPN3oDdweJPhv6mVsHMjWQzfXCDQqAxbWKDk3kfca4iK6N HNxyloEivkkPKJrH3Amap90N+1yIfDcSXSaTLyYqCeysQT04YGUOavdafnNeyU4243fz Ri/w== 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=5P1Oj6tRR6D7BKHA36fLGEJKYMNcXL/MMGKc90gm/RQ=; fh=ER4vpyvkUMQWQo9nd2r/D+921lnIweBqI2CxnN9IVrw=; b=H4lXoUh67TIskEGng6USuyI0Pk7T3FqtpJKTNFIirz8nR9OgcyDlz/5xy8DQaahwHk B4UE1JWKFn3U4qTP0Q+zTj2x7HNGeX1jDNquvGkTQmEK8p1T3u8s0pdbBg9O2gM/o/3h iqa30MwOWHJYqZUeUoXfFV7YFTs24vvkUqBUf51f1C9FTvGh/0jP8QvpCbFagOzIscEW BTpT2YtAJsd8gke8y8sF2y1jTE0TPbgmuS+asGHXo+DhG2f/U0SlPLbYE0C6YJjxLNkc xCjpHKmbyd67MI9DjEXdP1oK7XOsd95k4FH4aPw7v1fggkFZHimMbHy/TY8bQGZ9TuVo stVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=NfxMwLBw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id f20-20020a631014000000b0054fdb18c877si9757375pgl.607.2023.09.19.07.02.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 07:02:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=NfxMwLBw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (Postfix) with ESMTP id 68E6580964E7; Tue, 19 Sep 2023 00:21:46 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231708AbjISHVr (ORCPT + 99 others); Tue, 19 Sep 2023 03:21:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231661AbjISHVq (ORCPT ); Tue, 19 Sep 2023 03:21:46 -0400 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D9B52100 for ; Tue, 19 Sep 2023 00:21:40 -0700 (PDT) Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-40413ccdd4cso31624455e9.0 for ; Tue, 19 Sep 2023 00:21:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695108099; x=1695712899; 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=5P1Oj6tRR6D7BKHA36fLGEJKYMNcXL/MMGKc90gm/RQ=; b=NfxMwLBwehuRAB5aTkHADaXsk5cLXeHHbeAjUc8PKhumQAJD4vN5IetPDp5iEc1YFl yg2u4FzRAl0KkFoXT1RZL2wpOtyjuu9pQpWugmAKWdQhmFQIj+VYFFKiMx5eqmVXxhpI 4yrSV30yvauLkbByDA/Lp/yhbUeoDMauVkVJmwTtuMDRicfieATT+Fdkm7JlUqSZB3Lz KG3pDI4InmknmrxNX6sb/b3g2lgwh9cSfKmdSG7q+dWJ5E9Xb+kCnRxgIfvVtmIlUaIY gzWB/GCT4Go8ijiK3CTc3bhekQMT+KFKzxUtP6TnXuDhTsENVrMRQm7MU9GeCQfXXIuK EAaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695108099; x=1695712899; 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=5P1Oj6tRR6D7BKHA36fLGEJKYMNcXL/MMGKc90gm/RQ=; b=kCgWU0ah+FeytxKcjzOJ8+i0Ltm52r00qCjujAfW7NSnKEK8kIgwEbEtt5smGQ2QW2 FHX8uGK8Pb/j6KhyDSVtpn8Zs5e++vkSUpnfzpEBBX7RqXpBUVl5+tAQy33a+2yr3rij i+Onnrk5Oqa/NnNsHiryMuZHGCsuGwkkDLgg0uUzTZnd1SK1hB12JQVYXY8LNcIdzZk9 DsPsMK7smEF4Dp5n1U5hDNmhxgMNK+u0wqzOYtPtQGGU+FkFDphAMR2pKkVAh7cOfksy YYprY4ijnNskoWW/3h2CjFwsJbMQl6gqFDZJiomgaIVoix1vMQ6y4PCUFISUypblqG0Y heuQ== X-Gm-Message-State: AOJu0YzmznsHMaElXduX5X+a2uE4hxUVu7lWm+K6e6Mu7cGnZf+wwALQ B6TKbo83zZWlKLiVP8fujX4= X-Received: by 2002:a05:600c:286:b0:404:730c:e7c1 with SMTP id 6-20020a05600c028600b00404730ce7c1mr1291132wmk.15.1695108099065; Tue, 19 Sep 2023 00:21:39 -0700 (PDT) Received: from gmail.com (1F2EF265.nat.pool.telekom.hu. [31.46.242.101]) by smtp.gmail.com with ESMTPSA id d18-20020a05600c251200b003fe24df4182sm293735wma.1.2023.09.19.00.21.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 00:21:37 -0700 (PDT) Sender: Ingo Molnar Date: Tue, 19 Sep 2023 09:21:35 +0200 From: Ingo Molnar To: Thomas Gleixner Cc: Peter Zijlstra , Ankur Arora , Linus Torvalds , 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, willy@infradead.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 Subject: Re: [PATCH v2 7/9] sched: define TIF_ALLOW_RESCHED Message-ID: References: <87zg1v3xxh.fsf@oracle.com> <87edj64rj1.fsf@oracle.com> <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87cyyfxd4k.ffs@tglx> 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 agentk.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 (agentk.vger.email [0.0.0.0]); Tue, 19 Sep 2023 00:21:46 -0700 (PDT) * Thomas Gleixner wrote: > Additionally we have PREEMPT=FULL which utilizes every zero transition > of preeempt_count as a potential preemption point. Just to complete this nice new entry to Documentation/sched/: in PREEMPT=FULL there's also IRQ-return driven preemption of kernel-mode code, at almost any instruction boundary the hardware allows, in addition to the preemption driven by regular zero transition of preempt_count in syscall/kthread code. Thanks, Ingo