From patchwork Sun Oct 27 12:07:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lance Yang X-Patchwork-Id: 13852510 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 5527BD10C1B for ; Sun, 27 Oct 2024 12:08:31 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id DE0F76B008A; Sun, 27 Oct 2024 08:08:30 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id D90F16B008C; Sun, 27 Oct 2024 08:08:30 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C315D6B0092; Sun, 27 Oct 2024 08:08:30 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id A14596B008A for ; Sun, 27 Oct 2024 08:08:30 -0400 (EDT) Received: from smtpin02.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id D66EFC1B09 for ; Sun, 27 Oct 2024 12:08:06 +0000 (UTC) X-FDA: 82719259686.02.ADBBD74 Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) by imf20.hostedemail.com (Postfix) with ESMTP id EF39E1C001E for ; Sun, 27 Oct 2024 12:08:00 +0000 (UTC) Authentication-Results: imf20.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b="TK/AVSoJ"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf20.hostedemail.com: domain of ioworker0@gmail.com designates 209.85.214.171 as permitted sender) smtp.mailfrom=ioworker0@gmail.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1730030780; a=rsa-sha256; cv=none; b=PvPGru42Gn26/GMmKyTa+Rml+wKr2BUraDowzfUjNegPMOCz4fHZJeEzvwMf+/Rsx2Qi1e 1W6j61iZHtTtg/09Bl1jrOrww5oNa8ayXHH40mPVTca8U/dZCq1H3b2TofsRlR3RHh6ZSR ORg9R0fm/Ze4kBgYw7T/zHISwJg2nZ4= ARC-Authentication-Results: i=1; imf20.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b="TK/AVSoJ"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf20.hostedemail.com: domain of ioworker0@gmail.com designates 209.85.214.171 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=1730030780; 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=cVoBkqWek/nScioaKrcgXdA4pEOxASFyAZ/0SB2r6oTjBfwTR5KFuHyJLxKsfPwoMOXCaT apU8IDyWciQEU8/gpkpp11Spj3KDoD10S0KXKv+fMsANxUEoQx2+RKKqUsRkcgDe8zD7+X +MoPIYDGWlXdMfMNlLq757/uLEw1cXU= Received: by mail-pl1-f171.google.com with SMTP id d9443c01a7336-20cceb8d8b4so18902175ad.1 for ; Sun, 27 Oct 2024 05:08:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730030907; x=1730635707; 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=TK/AVSoJpg4bmM9hglBMTAOMz+dAgn8pZSwDPoqlHWycl/WuigZryb7JFMQ6AzhuOt xykAzFb3Nubrn8MAuXoRn07/+Q7OWQLfwoBPO9nToZJ7qiaXHuNXhY0T+w52VAoPunQ/ 3Ca5f1SoR5D/BDib9dBKMkxGiOeToHi0Lhe7kAMNOdtbD+cDBOmBoPpB1kQcoGBsiEMC Tg6xlwBXnYsFWXqcpxoAkotvdVV3CnwFPJa2I69t1Vs/Swu2YvY7Uw3aDqOIsc1CwwGa X4Ote3XilyMa/r3PinNIBJ4xrPDj7cpPf82jLy6r2EGV+6WwFwfSbsLmZsLO4jwczLUF UqXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730030907; x=1730635707; 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=HC378aoxfxYaTO/M0X7HvND2Bux44PowZTQmlB3UPqVts+rq6NN2Sji5dHtUagqPCQ uHDLhYfuDrIFx/dI5Lpstslrol3m67bXWnekLvoxqQ8/crdIdb2CaxVLvwHpVdrybdc0 Ho8vgTK9C+Bd/mUkAZvJXcx5tUF5Izg36fOxZC1z9OG4ncZmDnxmIXGC3tS+tg6U3CXM U5PBP8pmSg7kz0d937buorobSgH0S2vFYisbqkK5Csh2/NlCX68SgYTVHcOhOvpi/uE1 cbzNOxxDx1Tb2dBwdGJscwKxodasYj41HmraA70bEoFz6L91Rd+bFccYqxUTnb6OyuTK dgzw== X-Forwarded-Encrypted: i=1; AJvYcCXUjmcRjwJAfSE2uVDXf5nEoGpwDPJv0ib/YKU8NIwKP4n3ovn28OB6rp/OcmOyF8wZSmh1fbrmzw==@kvack.org X-Gm-Message-State: AOJu0YzPuODMm2QdQub0u9Kc61efJ4/fPCWesOJjtNydxLs0o8/zQpFR /pPVMg/EEwfnrptRaytPkDMtA6uewxcN/O2TQoc1Zz6yzBnAnpK7 X-Google-Smtp-Source: AGHT+IHKTzcPBHYCFSnQ1nhY97KwfygCayjkBvcjT39mMpBhj6B1ICPcfkvwjOJwvhjJetE2jY9bZg== X-Received: by 2002:a17:902:d2c8:b0:20a:fd4e:fef6 with SMTP id d9443c01a7336-20fb88d5d7fmr161143025ad.8.1730030906970; Sun, 27 Oct 2024 05:08:26 -0700 (PDT) Received: from localhost.localdomain ([124.156.216.125]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-210bbf43476sm34897435ad.24.2024.10.27.05.08.21 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Sun, 27 Oct 2024 05:08:26 -0700 (PDT) From: Lance Yang To: akpm@linux-foundation.org Cc: dj456119@gmail.com, 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, joel.granados@kernel.org, linux@weissschuh.net, Lance Yang , Mingzhe Yang Subject: [PATCH v2 2/2] hung_task: add docs for hung_task_detect_count Date: Sun, 27 Oct 2024 20:07:47 +0800 Message-ID: <20241027120747.42833-3-ioworker0@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241027120747.42833-1-ioworker0@gmail.com> References: <20241027120747.42833-1-ioworker0@gmail.com> MIME-Version: 1.0 X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: EF39E1C001E X-Stat-Signature: kcmk4cyrtic9wg3aegaag8n16zttthn4 X-Rspam-User: X-HE-Tag: 1730030880-705329 X-HE-Meta: U2FsdGVkX1/kU5a8RzWpnq57+IZZ1SvulHxMc6EWbXVkTEil1pC5tiZ5oHUsNH2bR/Z3sUzGJbkW/VOksQ+XZT+Rv0lDi9QReMPPs/hFI/Siy2eHX0px0IRx41avPEf+2jVWj6i0I3/y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YYs0h51yiKRu0K9eGAcg8BcPOML6D4kCTDErymBb2psh9ikASKSOU4jXh3eMowjDliy0o/Bl4HH9O4teQUCQnAy6Jo7NmcB+EZMp88y5SRkUb+XxpibSYxaAZdiuKkgtQVctC89Mkapm0lYVokHG7YJrdro9W5QWrp7qjwjpR/hIiQLl2PzLQN6KG4RUL0zUD7eBP/8se3vjQtqN+OTFGgsFXKDZjr1DHGxG7xDQoQ9LZJUyo/YTvT39CTpihAppmFhXkD0= X-Bogosity: Ham, tests=bogofilter, spamicity=0.045606, 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 ======================