Received: by 2002:a05:7412:d384:b0:fc:a2b0:25d7 with SMTP id bq4csp2120rdb; Wed, 21 Feb 2024 13:41:58 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV7In5WGwvmp/fT9hwUoPKNtrwZwLZsxoIBFrYRuxhg5nMC7WZjh/cmK2esokD+x14MXigFBfRss6TvUQrwvY4Y1SNzTDzDHfyQT5xwiQ== X-Google-Smtp-Source: AGHT+IFAMLxnNcMKIGIx36RsbXB/Scl0x9s5gp0B89iEXa+jaH0OTZgd+SsxywDl8ur27lsT8g1F X-Received: by 2002:a05:6a00:3014:b0:6e4:74d9:6901 with SMTP id ay20-20020a056a00301400b006e474d96901mr10004346pfb.12.1708551717972; Wed, 21 Feb 2024 13:41:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708551717; cv=pass; d=google.com; s=arc-20160816; b=TUujnEQwBckTCVk+wdh2chNGtitDL7mvkzH5ZgVOkzlXMdOYjO/J98NsFlRaLaqcIJ 5WRmxCCtZl7UTse2rEU9yWXgh8xgomYTzMt1rtGyBqVEKEudj4Kg34Sb3QELkJs6kAmf z9XtSvDGQJ5Ts0W5Z9KOe9J9DlkQD87V3U1zphkWhEVJ4EiWuVtj2gzdy56opEcgCmZr zbWi1jD+cer2G+D6EYZC+MxDuMTsFfb1U3yBDxZW+ksF/+qcB7OpDkzES0BX9aEE8Ede 3ki3fpGbxB5EwEVMUUALRKyo3KLqpAWn0gCsAq7fNk/CyToE1cEo3esBZgbSNY7BxlMh 1kig== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date; bh=ASpt0zRMl1oVaCfAgiS4ao02E0hv94R2+DUhl2pzLHQ=; fh=tNaGHukN7lSQN8DcwUAqgbGfxHJKXayrqM2pgstJyVw=; b=NW37Ty1tDO9L5CkSNzfTPMuMvtRxw95VtA3qhJNL8qmGS9MiyLJS1FrZ8GSJfBsVjg DQD/jB8/ngzxqzsocIIwWSfJK9poMpO1R3a1+zaDvMxiwU9twPSvynabdlcdTONenKdX Mc6dOAzqc4MCJYwdU2zW4tFOEfKEhJO1ZDGk4vYXdjXPFwvAzZj8MwCqtYA8FFaAOSpz XH29r99X+chjNSatRsCd05JyhLt/hp/lnHJdyCeKxPmO7jZXJQc6JI/bSyppdYfXCVeL +V2HaLB8yJ/Ocl/JJJpzrMKFgweC73et4IcYW7oolb5aL+D8ck7CeBG2JEgZ3nVXV0SZ STGg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-75560-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75560-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id s127-20020a625e85000000b006e47d95408asi3540180pfb.145.2024.02.21.13.41.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 13:41:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-75560-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-75560-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75560-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 9D2B0281F82 for ; Wed, 21 Feb 2024 21:41:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6C60E126F11; Wed, 21 Feb 2024 21:41:51 +0000 (UTC) Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EA4EC3A29E for ; Wed, 21 Feb 2024 21:41:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708551711; cv=none; b=Pyu3vMWI4zc2i7yXyGLcNDFbobT+fJI6S4DaRlBN4GQaLJ9s6nUSIQmV94KaKkB/ktba5SSgBKGYTelpufotvSYRvSM8QAdzTFdQG+tWBdYbuZEz37vYw26OLt+OR1qVHLrxGMTrqmWt+4c+JK6ePHUAaNpDM+JTvsT1Jvs6QNU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708551711; c=relaxed/simple; bh=d7/joy0XNoKq7lVN0TkivAlL4rc7XS6A8yuuGogrW+0=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=OT/743cK91EV8L7B4OoeKhBSmne6KiRb29pVzW00k0kcgS0L4NbFtod6zbtrKlwxAgHEsZrZWvsbbLdM6yeV40LToD7JaoGQ+ZrRGD9zKTLZQmlysKsU4Rl9E2ZM3a578WAdWp2LLsG33kUP/zC4iYeYYcj6wD/IbPqDinAAGhY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7C729C433C7; Wed, 21 Feb 2024 21:41:46 +0000 (UTC) Date: Wed, 21 Feb 2024 16:43:34 -0500 From: Steven Rostedt To: Ankur Arora Cc: linux-kernel@vger.kernel.org, tglx@linutronix.de, peterz@infradead.org, torvalds@linux-foundation.org, paulmck@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, jpoimboe@kernel.org, mark.rutland@arm.com, jgross@suse.com, andrew.cooper3@citrix.com, bristot@kernel.org, mathieu.desnoyers@efficios.com, geert@linux-m68k.org, glaubitz@physik.fu-berlin.de, anton.ivanov@cambridgegreys.com, mattst88@gmail.com, krypton@ulrich-teichert.org, David.Laight@ACULAB.COM, richard@nod.at, mjguzik@gmail.com, jon.grimm@amd.com, bharata@amd.com, raghavendra.kt@amd.com, boris.ostrovsky@oracle.com, konrad.wilk@oracle.com, Masami Hiramatsu , Jonathan Corbet Subject: Re: [PATCH 29/30] Documentation: tracing: add TIF_NEED_RESCHED_LAZY Message-ID: <20240221164334.6f8c69e8@gandalf.local.home> In-Reply-To: <20240213055554.1802415-30-ankur.a.arora@oracle.com> References: <20240213055554.1802415-1-ankur.a.arora@oracle.com> <20240213055554.1802415-30-ankur.a.arora@oracle.com> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Mon, 12 Feb 2024 21:55:53 -0800 Ankur Arora wrote: > Document various combinations of resched flags. > > Cc: Steven Rostedt > Cc: Masami Hiramatsu > Cc: Jonathan Corbet > Originally-by: Thomas Gleixner > Link: https://lore.kernel.org/lkml/87jzshhexi.ffs@tglx/ > Signed-off-by: Ankur Arora > --- > Documentation/trace/ftrace.rst | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/Documentation/trace/ftrace.rst b/Documentation/trace/ftrace.rst > index 7e7b8ec17934..7f20c0bae009 100644 > --- a/Documentation/trace/ftrace.rst > +++ b/Documentation/trace/ftrace.rst > @@ -1036,8 +1036,12 @@ explains which is which. > be printed here. > > need-resched: > - - 'N' both TIF_NEED_RESCHED and PREEMPT_NEED_RESCHED is set, > + - 'B' all three, TIF_NEED_RESCHED, TIF_NEED_RESCHED_LAZY and PREEMPT_NEED_RESCHED are set, > + - 'N' both TIF_NEED_RESCHED and PREEMPT_NEED_RESCHED are set, > + - 'L' both TIF_NEED_RESCHED_LAZY and PREEMPT_NEED_RESCHED are set, > + - 'b' both TIF_NEED_RESCHED and TIF_NEED_RESCHED_LAZY are set, > - 'n' only TIF_NEED_RESCHED is set, > + - 'l' only TIF_NEED_RESCHED_LAZY is set, > - 'p' only PREEMPT_NEED_RESCHED is set, > - '.' otherwise. > I wonder if we should also add this information in /sys/kernel/tracing/README so that it is easier to find on a machine. -- Steve