From patchwork Mon Jun 14 19:45:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yu Zhao X-Patchwork-Id: 12319701 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-26.3 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT,USER_IN_DEF_DKIM_WL autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 19312C2B9F4 for ; Mon, 14 Jun 2021 19:46:04 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 9D94B6102A for ; Mon, 14 Jun 2021 19:46:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9D94B6102A Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 3972A6B006C; Mon, 14 Jun 2021 15:46:03 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 347D96B006E; Mon, 14 Jun 2021 15:46:03 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1E83B6B0070; Mon, 14 Jun 2021 15:46:03 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0076.hostedemail.com [216.40.44.76]) by kanga.kvack.org (Postfix) with ESMTP id DEE916B006C for ; Mon, 14 Jun 2021 15:46:02 -0400 (EDT) Received: from smtpin33.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id F22A98249980 for ; Mon, 14 Jun 2021 19:46:00 +0000 (UTC) X-FDA: 78253360080.33.C3B90B1 Received: from mail-yb1-f201.google.com (mail-yb1-f201.google.com [209.85.219.201]) by imf09.hostedemail.com (Postfix) with ESMTP id C75B86000148 for ; Mon, 14 Jun 2021 19:45:55 +0000 (UTC) Received: by mail-yb1-f201.google.com with SMTP id u48-20020a25ab330000b029053982019c2dso16342605ybi.2 for ; Mon, 14 Jun 2021 12:46:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:message-id:mime-version:subject:from:to:cc; bh=jL1l209LzhMTbJhpu3CR8ckQvCehrU1yWLZYhIv7hZM=; b=BgznbwVFtTfHC4Kl7e1yPj52f/AD7Gkkbf2ZLgCfY7zT4yPqFIjDb8Kg/QdK90uvnJ ATdQYAYUnLLS8M9WMfSftJhO6+8Mg5DeglTLi/EYFbLKrDCmEQOSa9yoQnc+zB+wNWw9 SHqdt+eqlTU7HL2vKIlwsU8eYke4IH2qSgp7PzJphLdsXP8Sskr2vzSUA3UnaI3n/JW7 Y/2aywGyl3iQQptbIHOFG/kOelwSuuiiytov/v8lreoJLmOKBjAwRd1hcs/Ij1P/C6J9 cywYN5VWVNH84dqhJ51J6piAPjZ+SRRJ90WApQgXf6MVyJKuhaMLftICr0sy5DqgzpC8 FQUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=jL1l209LzhMTbJhpu3CR8ckQvCehrU1yWLZYhIv7hZM=; b=YrbrsC2svVT9MRpHfWdF9Tltb44X0Ml5tpwrhk9mFeJ4dE0v7WOrpDClfiykNb12UL ikSSlVE7LjI6kCZe9wgbk+eWpWttt2YTCk0FISE6rpHecWUdWmVVnPRTtzNRGSpdt98u IKbIpYS1jLfhHbahzrPUCN9+2wyDU2jou2Euy0jBTMtawFSWogGI6XLOVCtE5mIFV0SG 8PpONcxjYzVcWdqfquiN886jh6DCTLmTe5qvlFE/YO1YnpizmTQNSydXfNEKfPinIjEg RP4iist2RPAfpFtRzySXGBVVaAT+4YK+f66BBULZtO8sbz+9T9JXQASt+7Dot8mZtVjz RSSQ== X-Gm-Message-State: AOAM533tzd+L8nX+LliFryArWdUM9rrv6qNsK3nwjgs1ujAYB3kN8wVj zB7FjYCBezSxJxBSYmF1fVU1I1kVjKU= X-Google-Smtp-Source: ABdhPJwd4sVlMxlCOyL9DM1oZcO+/z03JpeDaUYCM5BoEwivTrzTPOGSt4Y8cDeN/5Kcu3U3S6Q3dHKau94= X-Received: from yuzhao.bld.corp.google.com ([2620:15c:183:200:8922:59a6:1a7b:ac0d]) (user=yuzhao job=sendgmr) by 2002:a25:4256:: with SMTP id p83mr26960160yba.212.1623699959932; Mon, 14 Jun 2021 12:45:59 -0700 (PDT) Date: Mon, 14 Jun 2021 13:45:54 -0600 Message-Id: <20210614194554.2683395-1-yuzhao@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.32.0.272.g935e593368-goog Subject: [PATCH] include/trace/events/vmscan.h: remove mm_vmscan_inactive_list_is_low From: Yu Zhao To: Andrew Morton , Johannes Weiner Cc: linux-mm@kvack.org, Yu Zhao Authentication-Results: imf09.hostedemail.com; dkim=pass header.d=google.com header.s=20161025 header.b=BgznbwVF; spf=pass (imf09.hostedemail.com: domain of 397HHYAYKCIY849rkyqyyqvo.mywvsx47-wwu5kmu.y1q@flex--yuzhao.bounces.google.com designates 209.85.219.201 as permitted sender) smtp.mailfrom=397HHYAYKCIY849rkyqyyqvo.mywvsx47-wwu5kmu.y1q@flex--yuzhao.bounces.google.com; dmarc=pass (policy=reject) header.from=google.com X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: C75B86000148 X-Stat-Signature: qzdipgdmsxxs5jjmo4i5amx61nhpyae3 X-HE-Tag: 1623699955-48397 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000011, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: mm_vmscan_inactive_list_is_low has no users after commit b91ac374346b ("mm: vmscan: enforce inactive:active ratio at the reclaim root"). Remove it. Signed-off-by: Yu Zhao Acked-by: Johannes Weiner --- include/trace/events/vmscan.h | 41 ----------------------------------- 1 file changed, 41 deletions(-) diff --git a/include/trace/events/vmscan.h b/include/trace/events/vmscan.h index 2070df64958e..ca6974b0f74c 100644 --- a/include/trace/events/vmscan.h +++ b/include/trace/events/vmscan.h @@ -423,47 +423,6 @@ TRACE_EVENT(mm_vmscan_lru_shrink_active, show_reclaim_flags(__entry->reclaim_flags)) ); -TRACE_EVENT(mm_vmscan_inactive_list_is_low, - - TP_PROTO(int nid, int reclaim_idx, - unsigned long total_inactive, unsigned long inactive, - unsigned long total_active, unsigned long active, - unsigned long ratio, int file), - - TP_ARGS(nid, reclaim_idx, total_inactive, inactive, total_active, active, ratio, file), - - TP_STRUCT__entry( - __field(int, nid) - __field(int, reclaim_idx) - __field(unsigned long, total_inactive) - __field(unsigned long, inactive) - __field(unsigned long, total_active) - __field(unsigned long, active) - __field(unsigned long, ratio) - __field(int, reclaim_flags) - ), - - TP_fast_assign( - __entry->nid = nid; - __entry->reclaim_idx = reclaim_idx; - __entry->total_inactive = total_inactive; - __entry->inactive = inactive; - __entry->total_active = total_active; - __entry->active = active; - __entry->ratio = ratio; - __entry->reclaim_flags = trace_reclaim_flags(file) & - RECLAIM_WB_LRU; - ), - - TP_printk("nid=%d reclaim_idx=%d total_inactive=%ld inactive=%ld total_active=%ld active=%ld ratio=%ld flags=%s", - __entry->nid, - __entry->reclaim_idx, - __entry->total_inactive, __entry->inactive, - __entry->total_active, __entry->active, - __entry->ratio, - show_reclaim_flags(__entry->reclaim_flags)) -); - TRACE_EVENT(mm_vmscan_node_reclaim_begin, TP_PROTO(int nid, int order, gfp_t gfp_flags),