From patchwork Tue Oct 22 11:47:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lance Yang X-Patchwork-Id: 13845623 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 398D5D1713D for ; Tue, 22 Oct 2024 11:48:23 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id BA6C86B008A; Tue, 22 Oct 2024 07:48:22 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id B55936B008C; Tue, 22 Oct 2024 07:48:22 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 9CFA76B0092; Tue, 22 Oct 2024 07:48:22 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 714316B008A for ; Tue, 22 Oct 2024 07:48:22 -0400 (EDT) Received: from smtpin21.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id C1967AC121 for ; Tue, 22 Oct 2024 11:47:49 +0000 (UTC) X-FDA: 82701064740.21.FEFA262 Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) by imf30.hostedemail.com (Postfix) with ESMTP id 008E78001D for ; Tue, 22 Oct 2024 11:47:49 +0000 (UTC) Authentication-Results: imf30.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=OJqLtO46; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf30.hostedemail.com: domain of ioworker0@gmail.com designates 209.85.214.170 as permitted sender) smtp.mailfrom=ioworker0@gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1729597534; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=BAlFXpVPV8uFWMmnJmNJ4B3bgnH5ueF+92q0u74/c1Q=; b=Wf6taKgwCbZzDOERf/I4myWuOU3sSJR+fj1dqJcFr25cWa2NevCicY6nrOIUw5NIU+qBXR 8GPgvIkzQ66UFwI9qIfzlrOQ6ucO6aj+KqPH9uX98WAOizrEQ0x5g6lMYGEusNU9piw9B/ jJWjmBnGqJ9wx5M0T9rLg0p9PSPBSp0= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1729597534; a=rsa-sha256; cv=none; b=IYX7neRj6NHGudfyk+94zzHQeXPr6FsUrPYWJbPIbIEgQDT/jyQa+vwXxPaDAErC+rGdID yVYUvtfp7977UtK2aF1p2yQ3+Dhc0mT1NG6v/bjbCvYkmKxkR/gb36elccIbvSmCKH6bqq JUqKXpFw8YsbvZuLCnfNRMe6HijURrk= ARC-Authentication-Results: i=1; imf30.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=OJqLtO46; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf30.hostedemail.com: domain of ioworker0@gmail.com designates 209.85.214.170 as permitted sender) smtp.mailfrom=ioworker0@gmail.com Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-20e6981ca77so38787415ad.2 for ; Tue, 22 Oct 2024 04:48:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729597699; x=1730202499; darn=kvack.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=BAlFXpVPV8uFWMmnJmNJ4B3bgnH5ueF+92q0u74/c1Q=; b=OJqLtO46NNuK8XrJeUrmWYsWHw5qc8JF9vDe6escIIsz36pjsRvkosJhG2Oo0WGxYA MI1wVncFA01je+6+lfMYBDfOK+TtmPUxBDpsNTBcWSwBbJOd+FrfZH9mZTF1rYoMBVbx bKNA/jtbCSseU6VML0tvP8eGOQ6Gnszx3bRrprH911KGIGfX3rSyj4SJCl1CfHJxqlYl gcb/dL6F/XFwKymwDhhCkvd8OtDXKwjiPJJZjLGieGa/E67dDUGAXRAFqPOkGn5/G4MP 8CV/aLiJlaOA5uY0QKALzLopvwth8YhAOd9gfYFN0YdUy1c2Y2K96JFVBQxEL9CuenBJ +cNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729597699; x=1730202499; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BAlFXpVPV8uFWMmnJmNJ4B3bgnH5ueF+92q0u74/c1Q=; b=GZOOlEdeS6pznthwjWcKaHb5qeRiUSX5hnQo+6R653+4nq5P9EW5IlHGQUfC+ajpdL rDztv/3pxBBUxmS9UlJfcwvki9yj2p8dUhLpoeFWJInZdbACbNJCGUx60FKpOMZjss8+ WQ6VGToRREEjpF1V0D7lieAbrA8pr7kn4ewDMDrDjpqKmRJGujwVow1wEWFuH2v/O7qm iuuI7wwxW11pllT/3zWHGM64+OfvpQWFzxG0paIQYS+DyG2FzIMc0nL2nYlVtUXJ8ccb SgcmQPmO10dbbRDYXYo9FY23V+MVJ3UaifQpDJHlBCmXdbJ0FYc/afQGzcND4cILQ95k WPaw== X-Forwarded-Encrypted: i=1; AJvYcCW0UQBqj3Z7oX9/OGi/jX6H8cm8TRKm7F5EbSyIgLiUAs9GaaDjeVhnOuKTC9BfpBxt+A3foQSqjQ==@kvack.org X-Gm-Message-State: AOJu0YzsgpoyTKzVMpDmTcioEv0US3Ia9DHIHUTqTINxD01EaD+C2UhR D6J+//bqrGrGb2ANMr3mDQtoK/YLtnvkl72UIdRuLZLV6P+EwMkz X-Google-Smtp-Source: AGHT+IG0hzVA6fwCTy7pJ9a3mstX945h4KMDaq2ak8MlWEnvH6gaqUQZykyWc+97P6hdZN/L/wWRag== X-Received: by 2002:a17:903:2344:b0:20b:5439:f194 with SMTP id d9443c01a7336-20e984706f9mr31355125ad.16.1729597698507; Tue, 22 Oct 2024 04:48:18 -0700 (PDT) Received: from EBJ9932692.tcent.cn ([43.129.202.66]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20e7ef0e13bsm41147145ad.65.2024.10.22.04.48.13 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 22 Oct 2024 04:48:18 -0700 (PDT) From: Lance Yang To: akpm@linux-foundation.org Cc: cunhuang@tencent.com, leonylgao@tencent.com, j.granados@samsung.com, jsiddle@redhat.com, kent.overstreet@linux.dev, 21cnbao@gmail.com, ryan.roberts@arm.com, david@redhat.com, ziy@nvidia.com, libang.li@antgroup.com, baolin.wang@linux.alibaba.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Lance Yang , Mingzhe Yang Subject: [PATCH 2/2] hung_task: add docs for hung_task_detect_count Date: Tue, 22 Oct 2024 19:47:36 +0800 Message-ID: <20241022114736.83285-3-ioworker0@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241022114736.83285-1-ioworker0@gmail.com> References: <20241022114736.83285-1-ioworker0@gmail.com> MIME-Version: 1.0 X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: 008E78001D X-Stat-Signature: in4zrstkx1x7gzkj5t88644xzu9xbmpm X-Rspam-User: X-HE-Tag: 1729597669-48183 X-HE-Meta: U2FsdGVkX18M8zS3rLg3cjhoKsoD6paMzohvYGgdNsCZQYC2PanUSuZWZdJEaADjeHxxDY4IIiBzMC9umSHdws0bb/J9YcBYe5HHZlK+Wzv2kj2iQUW2CuN6xvKlsfPqhrB7pFxVIAtQ8biQ9U1TqX2WTVIYB00tPB+bNChwpsUI/UtPNj3FbfyT6DwTYQS/OkHyLYzdfj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eNQhMXcorTz5gW0uqoHg+9K3WD56MK/K3KMT9zVuCeeCQa9IBo3CkAPuirswMnLtZlA/TtM5kRQBQSr1iVHEYbhcGg0RqIuYb95oMkZMkEL/jQR7J33IGRqLZptGabqNc7b1qOX2nwNvRiFECJiNttB83Ct8bLA8TGrlxOhCzodjg1dwe1H6 X-Bogosity: Ham, tests=bogofilter, spamicity=0.013653, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: This commit introduces documentation for hung_task_detect_count in kernel.rst. Signed-off-by: Mingzhe Yang Signed-off-by: Lance Yang --- Documentation/admin-guide/sysctl/kernel.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/admin-guide/sysctl/kernel.rst b/Documentation/admin-guide/sysctl/kernel.rst index f8bc1630eba0..b2b36d0c3094 100644 --- a/Documentation/admin-guide/sysctl/kernel.rst +++ b/Documentation/admin-guide/sysctl/kernel.rst @@ -401,6 +401,15 @@ The upper bound on the number of tasks that are checked. This file shows up if ``CONFIG_DETECT_HUNG_TASK`` is enabled. +hung_task_detect_count +====================== + +Indicates the total number of tasks that have been detected as hung since +the system boot. + +This file shows up if ``CONFIG_DETECT_HUNG_TASK`` is enabled. + + hung_task_timeout_secs ======================