Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6973247rwb; Mon, 5 Dec 2022 22:17:08 -0800 (PST) X-Google-Smtp-Source: AA0mqf7pnxc+62Pp647u7PRwmvyGrdM9gOwM3oor8FkwfywcfyKLs3Ltgatl3/OWtPMakGiuWc4L X-Received: by 2002:a17:907:c20d:b0:7b8:882d:43fc with SMTP id ti13-20020a170907c20d00b007b8882d43fcmr6104381ejc.0.1670307428238; Mon, 05 Dec 2022 22:17:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670307428; cv=none; d=google.com; s=arc-20160816; b=iawH2X4IpW6IrtTRftzfxmimWX4DPGr9rIbLUJ71gMuZZoZVhU8+AB3PxLcan3c3Mq p438za8WclUkOM7XWmdF20kJslP+pKXHmbvjGY3/OpSmnxvhZXtlnhoXj8vsI8B1ccGr KorAPwoJe6dNASFewy4/o1r7agA1H2WRM2Lz2HLLBfpsEVGibSnicXih31KswrlIwA9K vMX9sacI4mn/2ZPPMDsJNaMBAfWcPtX43ZSwc/dmo4LBvCelD5mxG3okup6rs69nBqKr rTYzWTyv+hz+xkvwf7rAC48Th+IIfl0MNx0RpHgFio0Pp2J2EXh8B2GG4doh+XFVld4q Eb7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:mime-version:references :in-reply-to:message-id:date; bh=pmZEWrz/jmc7titI1qx6SxEUv9hToEWcjdzmMq7chPw=; b=jlcE+MJupocfLSw9gKiAmP4UWTPsFCREXihkOcGVaUB1iOKisgGOSe1VXX3g6VPNJE wlpruCjJOKtnT5ln6KFSqPtJsr4MPhmyQYcPFUdzppX+5/Uw7HMMg5QegOohglP6rn3k XPIk2mCR3qb5jCK0i9EOPXOnlY1oFfmh+JBf13KGoxwl+s+V5Dljm2d6a68a1eaogqfZ LN5PFHA7saqGGj4Ge4GsUttjl6Fe9CRxoM79q/tTef1o33tVs293KRvJ9b750FJ3haJG 2pSXBxGJz9vroMCTOXmW8x7kpA20tHLZK+m9fzMlYhnCkoek4giq6VJmhetJgQK31N6w 4wNA== ARC-Authentication-Results: i=1; mx.google.com; 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=zte.com.cn Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qb19-20020a1709077e9300b007bf2e963d37si1830132ejc.217.2022.12.05.22.16.49; Mon, 05 Dec 2022 22:17:08 -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; 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=zte.com.cn Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232064AbiLFFs0 (ORCPT + 79 others); Tue, 6 Dec 2022 00:48:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36294 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229471AbiLFFsY (ORCPT ); Tue, 6 Dec 2022 00:48:24 -0500 Received: from mxct.zte.com.cn (mxct.zte.com.cn [183.62.165.209]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8C12A13F64; Mon, 5 Dec 2022 21:48:22 -0800 (PST) Received: from mse-fl1.zte.com.cn (unknown [10.5.228.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mxct.zte.com.cn (FangMail) with ESMTPS id 4NR8bR6Djjz4y3ZX; Tue, 6 Dec 2022 13:48:19 +0800 (CST) Received: from szxlzmapp03.zte.com.cn ([10.5.231.207]) by mse-fl1.zte.com.cn with SMTP id 2B65mAjr099460; Tue, 6 Dec 2022 13:48:10 +0800 (+08) (envelope-from yang.yang29@zte.com.cn) Received: from mapi (szxlzmapp02[null]) by mapi (Zmail) with MAPI id mid14; Tue, 6 Dec 2022 13:48:12 +0800 (CST) Date: Tue, 6 Dec 2022 13:48:12 +0800 (CST) X-Zmail-TransId: 2b04638ed79c441a7331 X-Mailer: Zmail v1.0 Message-ID: <202212061348121276979@zte.com.cn> In-Reply-To: References: 202212050936120314474@zte.com.cn,20221205175354.3949c6bb@kernel.org,CANn89iK4Cn-+BgJEuGSWF=PTfDPWuCy8ci75664+98ajt_+3Xw@mail.gmail.com Mime-Version: 1.0 From: To: Cc: , , , , , , , , , , Subject: =?UTF-8?B?UmU6IFtQQVRDSCBsaW51eC1uZXh0IHYyXSBuZXQ6IHJlY29yZCB0aW1lcyBvZiBuZXRkZXZfYnVkZ2V0IGV4aGF1c3RlZA==?= Content-Type: text/plain; charset="UTF-8" X-MAIL: mse-fl1.zte.com.cn 2B65mAjr099460 X-Fangmail-Gw-Spam-Type: 0 X-FangMail-Miltered: at cgslv5.04-192.168.251.13.novalocal with ID 638ED7A3.000 by FangMail milter! X-FangMail-Envelope: 1670305699/4NR8bR6Djjz4y3ZX/638ED7A3.000/10.5.228.132/[10.5.228.132]/mse-fl1.zte.com.cn/ X-Fangmail-Anti-Spam-Filtered: true X-Fangmail-MID-QID: 638ED7A3.000/4NR8bR6Djjz4y3ZX X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,UNPARSEABLE_RELAY autolearn=ham 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.kernel.org On Tue, Dec 6, 2022 at 11:18 AM Eric Dumazet wrote: > Yes, and if we really want to track all these kinds of events the > break caused by need_resched() in do_softirq would > also need some monitoring. I think this situation is a bit different. The break caused by need_resched() in __do_softirq() is some kind of internal events, kernel hacker may track it by something like tracepoint. But netdev_budget* are sysctl for administrator, when administrator adjust them, they may want to see the effect in a direct or easy way.