Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp3029imm; Mon, 2 Jul 2018 06:45:10 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLWovOxERk4IVuRIJre+twjnIONzIyEXyJKy78z/fsV8uTCq0alFm56y5ezlNhiKdAjrW32 X-Received: by 2002:a65:448a:: with SMTP id l10-v6mr21942435pgq.382.1530539110914; Mon, 02 Jul 2018 06:45:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530539110; cv=none; d=google.com; s=arc-20160816; b=csYeyJcFrLcitjV1uGo4VZzoZHsz20mmm9zhT52t9AdBuq+1AtPSMvR05Sy4H0Fg34 apQnLhcdf707L2ZQvuOJiVs55OBecvCGPfCSVxUq8CDB9cgevZQTTYw6eCZBEnh+73+d FLpzoNPa4HHdlVl/dwSThbT7DXIJP+kHUrqYtpt1qEdB6Esa43OQR01qZ5OAp/L3RJ/J iUvQnEJXE6ojwOtzS8bSWq2lWTavdxQh+312NgjY6W3IbMxXW8LyHnVwxIHyjsZaedOb eEBFTZr5U+c6941+Rhl9oWodr4oNSkVq6OUpu1owyohRheHEpxZnhgI2tvNh6B5DBMJk +tyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date :arc-authentication-results; bh=H3U7GokQ000rTfDCIiAjxmjQrtsiG5tUjyfE3ePPdgI=; b=SZ5h9K9mtx3oZnPDK2yEAHgjboMWF5wA6uuhwTKM8QNNqNdORjD7htQYQL3BP5/r41 OdFryv2GrueO16wLvKA4KLZG8uPUOjT/O5bGjoPPZQ/9d5K8+tBpm41UYb4aqgEVHoSB bObQyv4H129og41gZ+E5H6s/vjo+4rYohSkjooldxEvGyYPk5fby1bpi1mv6wxIz53Q+ oxIx0p2ywk/LQ5U8OyzTLksmoz5PdqM75vV34J81W8lRePrNOsG+9ATPgJzhwP0rCEW4 uDTCcZx1ZJIaiXz3aDF+SscmGpeIq/BkyjECOHvOVxFmqR2UPDoNHLRxm2xo9gvMvH7X naRw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v35-v6si13000042plg.117.2018.07.02.06.44.42; Mon, 02 Jul 2018 06:45:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752579AbeGBNmu (ORCPT + 99 others); Mon, 2 Jul 2018 09:42:50 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:50692 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751443AbeGBNmt (ORCPT ); Mon, 2 Jul 2018 09:42:49 -0400 Received: from localhost (unknown [59.29.86.96]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 45F3A13F15D3F; Mon, 2 Jul 2018 06:42:48 -0700 (PDT) Date: Mon, 02 Jul 2018 22:42:47 +0900 (KST) Message-Id: <20180702.224247.143793494675352608.davem@davemloft.net> To: laoar.shao@gmail.com Cc: satoru.moriya@hds.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] net: expose sk wmem in sock_exceed_buf_limit tracepoint From: David Miller In-Reply-To: <1530459090-11037-1-git-send-email-laoar.shao@gmail.com> References: <1530459090-11037-1-git-send-email-laoar.shao@gmail.com> X-Mailer: Mew version 6.7 on Emacs 26 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Mon, 02 Jul 2018 06:42:49 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Yafang Shao Date: Sun, 1 Jul 2018 23:31:30 +0800 > Currently trace_sock_exceed_buf_limit() only show rmem info, > but wmem limit may also be hit. > So expose wmem info in this tracepoint as well. > > Regarding memcg, I think it is better to introduce a new tracepoint(if > that is needed), i.e. trace_memcg_limit_hit other than show memcg info in > trace_sock_exceed_buf_limit. > > Signed-off-by: Yafang Shao Applied to net-next.