Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp57238lqe; Fri, 5 Apr 2024 12:27:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUoAZKmtpABrwyaL+tqi1JEEiC2UaEklLwjE76OJVqnDlV1Wha5aV5q/T5EHhNIEim5cUbxGTlwjGdjYBcl+dAOG05CGPZH+VMyo9jNAg== X-Google-Smtp-Source: AGHT+IFG1QzjyXYyydsM42mfBF2+SLy27tyDNXAuihZ+qrizcB95vXUvfMkFpUo1znvstP6uELIS X-Received: by 2002:a19:5e51:0:b0:516:a18f:872e with SMTP id z17-20020a195e51000000b00516a18f872emr1760381lfi.38.1712345264591; Fri, 05 Apr 2024 12:27:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712345264; cv=pass; d=google.com; s=arc-20160816; b=tGeQmb6QZ5xZlWuHb9j01NAhwVqUCISAA5aBHtIxQKzDa9d4MXU9j+XtBWyT6KnkzX ZvH3vCyq6Xv7xXBPPKAmQaDiZAV5vnWm/8hU2UuuhGKhHmHH45z7rRuYWBRgGO6cb8fF dgHX8ClaYfVrQiqeTJBNstvDwrXKhVGcDmjrEyVKZLZFvWfMp+kEgLBkOLYa1ZQHZ/R/ 1ALfzcvZGRck5bZt2J+w2mCEZfBu/MB79FJWsWGFmAhHf3AdsCZU++GcBuk9uEpJBzRk LgQLFX/f8FGoysdP3yxvGz6b6JEDm/8G9Z6LIpCN+UkOE1lbkJN5QvE5NqLrj+JwT68L fUHg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=dfCKWXF/ZymG27Sxbw5sJ5Lrfmy4Vaoya60Bgd2b0zY=; fh=vthu0SYzpky+WzEpp04LHS7M01Tv3cuywMDMy+rfr78=; b=K4roxyR2c+rWnff+X/5RgjVVxU/aRkb/h/1PwQqmb728yhdJewC1L4TaVdmAzH3O35 WwA3NLn4c7fgfbCvmWymoK02x6wgJCIR5f4T+R7Vs+QRDA6HeG1QYRGoMxKPVZ1oDkec Le1J//QPLdHeX17dp1rXQBfv8zUGuF7f4GCGV6dYmbnIK8xC4YssnqZlkLFbrpxPIMuB BTvVAMTYFOUbPfsOGpCaNtmwHXM6rhk5u9ehA75r+AqsXuRhFcuzwdPPn3lxiDVmlo0o LUHSxxkage12D6jqRNl4GREjZVGOPqGwyT0/a73DrvrC22FJXcQkYnePpRYWJVlhibi8 ydOw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=vIRKBuv5; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-133528-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133528-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id o13-20020a1709061b0d00b00a4e86066f44si968989ejg.575.2024.04.05.12.27.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 12:27:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-133528-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=vIRKBuv5; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-133528-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133528-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 7503D1F22970 for ; Fri, 5 Apr 2024 19:27:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 73D8A172BD7; Fri, 5 Apr 2024 19:27:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="vIRKBuv5" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9442F171E66; Fri, 5 Apr 2024 19:27:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712345244; cv=none; b=OLgT9e1t6dDmgCX2j6dxROmpH1u8iZXAUfCYHXDaqVcXnb5FIeENh2PqXS97/VXXSbqXq5Y4pVRTgUtGwB23CzjUjYMunYvInvx/txfv6G6NIhJINszCcIfowqvTyEouIEGVT+Z5p72bm2+qQnVERG/iVLmOmzNIGZ/h0BwtWJA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712345244; c=relaxed/simple; bh=3iULADqOeKH3CjdALOPv/AVx23i/t1mNEvfguYPv3eE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=TwZW+0O/hdsuDLjcvBQiVsxmjZkEOLo0rnWjEO1L5ORJtwCuXr+dNyw16OakxoIHEGXLUtMqsGETVNqVbgnFyKwGcEFj5ceA6uyG8ECxE5lg3KbJ5wbFY5YBNlcbm6YbLtHnESyKAZub1WpU21nXPpufkAmI0nDG3jLvj/OprxI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=vIRKBuv5; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 87205C433F1; Fri, 5 Apr 2024 19:27:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712345244; bh=3iULADqOeKH3CjdALOPv/AVx23i/t1mNEvfguYPv3eE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vIRKBuv5WBqU/qqpKjUdme0w+YS2LEgfmsgCK4Lc+5SDX+FXkkxf7rbr/MvTtWaPD EmvkcBNxKHYQhhc6HcwtrzP9bbULRIYLnG4qfL4qO04ygp+l8TjL+YhutTPAEUojPE j2oQ+fs1gDvMh5xOZQjfsHtnxb7BXrU2JT16NIt1FTlIZI73JJ9gxY71ym/FoFuNOk 1j9BnICgGGLcdSFED7u00pI4vIhAp+R6j7RFIwPcO1O5PTexJjfX0vmcTQu81TC/zw wXqc1TfEKeZ802eXczzzOZPdTflSuQH25kw4hjBIfNTz2aJnELyeBMfrnu2LJMILXk cr1yt31/6f3Bg== From: SeongJae Park To: Honggyu Kim Cc: SeongJae Park , damon@lists.linux.dev, linux-mm@kvack.org, akpm@linux-foundation.org, apopple@nvidia.com, baolin.wang@linux.alibaba.com, dave.jiang@intel.com, hyeongtak.ji@sk.com, kernel_team@skhynix.com, linmiaohe@huawei.com, linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, mathieu.desnoyers@efficios.com, mhiramat@kernel.org, rakie.kim@sk.com, rostedt@goodmis.org, surenb@google.com, yangx.jy@fujitsu.com, ying.huang@intel.com, ziy@nvidia.com, 42.hyeyoo@gmail.com, art.jeongseob@gmail.com Subject: Re: [RFC PATCH v3 7/7] mm/damon: Add "damon_migrate_{hot,cold}" vmstat Date: Fri, 5 Apr 2024 12:27:21 -0700 Message-Id: <20240405192721.67119-1-sj@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240405060858.2818-8-honggyu.kim@sk.com> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit On Fri, 5 Apr 2024 15:08:56 +0900 Honggyu Kim wrote: > This patch adds "damon_migrate_{hot,cold}" under node specific vmstat > counters at the following location. > > /sys/devices/system/node/node*/vmstat > > The counted values are accumulcated to the global vmstat so it also > introduces the same counter at /proc/vmstat as well. DAMON provides its own DAMOS stats via DAMON sysfs interface. Do we really need this change? Thanks, SJ [...]