Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp948592rwl; Thu, 5 Jan 2023 06:50:17 -0800 (PST) X-Google-Smtp-Source: AMrXdXvL6p0n0L4cDIr5HyNjGnsN6yA9qI2XtiRfIRwcTSo7pOB0fWRsij6jSvVyi/hMZT9U3BaC X-Received: by 2002:a05:6402:558:b0:47e:5b70:de7b with SMTP id i24-20020a056402055800b0047e5b70de7bmr43501195edx.19.1672930217793; Thu, 05 Jan 2023 06:50:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672930217; cv=none; d=google.com; s=arc-20160816; b=vrFUsho5xftZBeHeKzVyO9vYMiVNHyK3zGGuJb/M6v0L0rhvbEGosZPusADl3iOV45 chRKJVy9HM7OxINnhHJBUmDdVxcZJRozg0BUgbQcu5ZWLdDfTT2zh+vfQDRmloZGNM/+ w8dbcXvWANmaOn5a4SYJ8dASPhgwOeDRW6uGeFHD/1JF2Ub8YHTrgTErf/8gmQb39rmv NAbSh1l/lzbonTvIMsmMc6qOWdO5NIJ4M9ngCJ+ElGch/lWSM+a8A+w2RPIbdsGqO3lO fszQMXF9uPscnayCE2AVXpA96AWuUL8kBRePiapvZJF46XgLjPdzcaDoN2t1mXotcI13 hdsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:mime-version :content-transfer-encoding:subject:to:from:date:dkim-signature; bh=CadGpNAjwFKcrhOu04Kv88HoTNyXP6SVYOfdaKOo18U=; b=dqY+4vE0kylr68OBZhufbA8b78knLOxYoQvHf/kJdsbBvNu1KwOOpOnsRQZ8PJN4YC Li+DConmOE7v73e6gSSkNV7Uosr2XSr5yFSgaUsV5nvdxXjc8n2cm1PaEESSB52i5R// tgi527Z7bRtqZjhCX8S06HUinvQQFFwiFrDbqkkh70qLigwuyLiNdAablCl216Qk85CU WOR7VbGW5FbfuZlKrQa6nV38DFy/rjgEXo08vMlYL1D+o9xyQPQovzqOSplG+8IkXfym sUk3zlcW4MgUhuoo3HDABO6/brYe9Bsowsumss5Irm/zsNio0sxgpiRR0WihJWO0RuHK WgGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@163.com header.s=s110527 header.b=iJDbvGMt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=163.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e1-20020a056402148100b004608c0b9a8asi25916487edv.201.2023.01.05.06.50.05; Thu, 05 Jan 2023 06:50:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@163.com header.s=s110527 header.b=iJDbvGMt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=163.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233348AbjAEOZe (ORCPT + 55 others); Thu, 5 Jan 2023 09:25:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233385AbjAEOZG (ORCPT ); Thu, 5 Jan 2023 09:25:06 -0500 Received: from 163.com (m12.mail.163.com [220.181.12.216]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2665F559C3 for ; Thu, 5 Jan 2023 06:25:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=Date:From:Subject:Content-Type:MIME-Version: Message-ID; bh=3GW9Z5cfgz8pMeZ04XtLdblMO6HBSQ4K2QmhpdPFwtI=; b=i JDbvGMtGWRwMnS4DfkqFXRRnTNRQSv5Bs7neods8M3lbHIf2rrGdlaKKWh6e68w0 ofNeh3J9acWZ540IuKOqXJvHLj7k7w4CVs6iGvXy9NT2xQJLokwEtVUF1v6Rf924 VfVGQWza33XgLDRL+qKZuuBq2lhf17dahL9oaeVfNg= Received: from 00107082$163.com ( [222.64.110.75] ) by ajax-webmail-wmsvr57 (Coremail) ; Thu, 5 Jan 2023 22:24:55 +0800 (CST) X-Originating-IP: [222.64.110.75] Date: Thu, 5 Jan 2023 22:24:55 +0800 (CST) From: "David Wang" <00107082@163.com> To: linux-kernel@vger.kernel.org Subject: [proc/vmstat]set nr_kernel_stack in vmstat to nr_threads X-Priority: 3 X-Mailer: Coremail Webmail Server Version XT5.0.14 build 20220708(c4627114) Copyright (c) 2002-2023 www.mailtech.cn 163com X-NTES-SC: AL_QuycAPWZt04i4ymZZekZnEoUjug3W8K5v/kk3Y9VOp80uSrB3DkQRmFEH2bS4cijKz+2rga6dTpM48dRVJlcTa41Z5AdEw8Ny3ZhjGVrE2Ww Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=GBK MIME-Version: 1.0 Message-ID: <41beab3a.4f68.1858252166b.Coremail.00107082@163.com> X-Coremail-Locale: zh_CN X-CM-TRANSID: _____wBnasq43bZjeo4CAA--.15258W X-CM-SenderInfo: qqqrilqqysqiywtou0bp/1tbivBftqmASalA6wwAAsd X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,SPF_HELO_PASS, SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.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gbG9uZyAqbCA9 IGFyZzsKICAgICAgICB1bnNpZ25lZCBsb25nIG9mZiA9IGwgLSAodW5zaWduZWQgbG9uZyAqKW0t PnByaXZhdGU7Ci0KKyAgICBzdGF0aWMgbG9uZyBua3NfaSA9IC0xOyAvLyBpbmRleCBmb3IgbnJf a2VybmVsX3N0YWNrCisgICAgaWYgKG5rc19pIDwgMCAmJiBua3NfaSA+IC0xMjgpIHsKKyAgICAg ICAgaWYgKHN0cmNtcCgibnJfa2VybmVsX3N0YWNrIiwgdm1zdGF0X3RleHRbb2ZmXSkgPT0gMCkg eworICAgICAgICAgICAgbmtzX2kgPSBvZmY7CisgICAgICAgIH0gZWxzZSB7CisgICAgICAgICAg ICBua3NfaS0tOworICAgICAgICB9CisgICAgfQogICAgICAgIHNlcV9wdXRzKG0sIHZtc3RhdF90 ZXh0W29mZl0pOwotICAgICAgIHNlcV9wdXRfZGVjaW1hbF91bGwobSwgIiAiLCAqbCk7CisgICAg aWYgKG5rc19pID09IG9mZikgeworICAgICAgICBzZXFfcHV0X2RlY2ltYWxfdWxsKG0sICIgIiwg bnJfdGhyZWFkcyk7CisgICAgfSBlbHNlIHsKKyAgICAgICAgc2VxX3B1dF9kZWNpbWFsX3VsbCht LCAiICIsICpsKTsKKyAgICB9CiAgICAgICAgc2VxX3B1dGMobSwgJ1xuJyk7CiAKICAgICAgICBp ZiAob2ZmID09IE5SX1ZNU1RBVF9JVEVNUyAtIDEpIHsKCi0tCgoKRGF2aWQKCg==