From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796178521; b=yubSSlombf/Vno+tIGBPQW6FxP2k8cUjUxhLKqn1bjavByQqIcj2GRQ1czEhOH4R6EgZ gBpWafHPSIS7vC5iiYHfyCcHLwCtDCFmBUL1jGQ/qotb3sDz8DSW/DxDRt/rastGS/nBs 5Euj0at/BE4uPinuvgpIOa0q04VzwA7/hWqZknsxDKPZ7wHzNYLh3LfnarFs6FVLGN6WT JLrgmKOuU0b3sDGjyADPs7G3pdsW27lSWqJSvVQ0NT56iPANukMsGwpIpdUjHJOsc72wN A2z2M2a+KLOfeVPVEB6TBGCAudHR+DhbrbTuJA5XSjrhbVv7yvvfYYN6qh67/hgF2Bg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796178521; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: MIME-Version:Content-Transfer-Encoding; bh=ReBDsQudzFeIkcozK1ndAjHVH3wV1QqBTidFk6HVl/8=; b=KWDUkOTNGn3gBEiKUAGQLfHsaFRpvb13YeK0JAwqKHERZ0Quh2ZzrT9USPSu63e8u9Y9 dQxrxVT4U4wxxlpEBjVa6gzTADVA38L0LNdNQSz3tyG4oJvP9dqtQhkyRYYb5TWMbPkhm nGZN5U2Qc+SK7yAkcNkVJRLS6uiQAW4GMS3Owmem/jWcTcQZGZ63h7AwjNPERw2bazkvO 2ItoVDP9ufklZ1fmFL3A7UIC59FKiCsCGRQAqGvy2qkbUmj6XDj7BTMPidtbZWpIFez8n nyIHBqkIlCqacw5fZugcnbQxrTvs+iLzCWrqTwkKAq5ebHrPWx0qV4PzFyv21ScT/vQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=MYoD8O15; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F1404606A68B for ; Wed, 2 Dec 2026 02:28:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=MYoD8O15 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 82A181F000C1; Wed, 2 Dec 2026 02:28:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796178520; bh=ReBDsQudzFeIkcozK1ndAjHVH3wV1QqBTidFk6HVl/8=; h=From:To:Cc:Subject:Date; b=MYoD8O15frsIeJ9ja5Y4EiRw31w0N5ctoMmnhMVJC9/THpBaapF8G5e0eU2HYAc6P RagRFe+MmwFs9PjoG0f3Kzm8Mm0LcPVVfze5Bvi/Z9bQeLnjUJrjB7QUqlB6hPzugZ bPn+unVLqNmpX8xwXo3OkQPS5S3S02a3DY2Yue3oRPo0V4I4bChdFLPlT3iBM9y6ag s8Oi27PcRsOhe3BC3pseR2rZvCgtOypP8ikBuMIRz65eDvxc4QzgZMasgiwOVnK5xw p1N0xplqmLaMj7LLP/BUtCo0oxTBlOYgqo54smJ3z3v6tQ01ganUgvLVIFyHDwSsZE 2jJ4TRbaHJhFQ== From: SJ Park To: Cc: SJ Park , Andrew Morton , damon@lists.linux.dev, linux-mm@kvack.org Subject: [RFC PATCH v3 0/2] mm/damon: aware attr-only mode in DAMOS quota region selection Date: Tue, 1 Dec 2026 18:28:29 -0800 Message-ID: <20261202022833.93546-1-sj@kernel.org> X-Mailer: git-send-email 2.47.3 X-Mailing-List: damon@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit DAMOS quota's region prioritization/selection is not aware of the data attributes only monitoring mode. It uses wrong information for the decision and therefore becomes useless in this mode. Make it be aware of and properly work in the mode. Introduce a core API function for determining if it is in the mode, via patch 1. Update the prioritization score calculation to use the attributes monitoring results in the mode, via patch 2. Changes from RFC v2 - RFC v2: https://lore.kernel.org/20261201032655.123822-1-sj@kernel.org - Fix the wrong mode check in hotness calculation. - Wordsmith commit messages. - Rebase to the latest mm-new. Changes from RFC - RFC: https://lore.kernel.org/20261130001530.173703-1-sj@kernel.org - Scale freq_subscore denominator for the probe weights. - Rebase to the latest mm-new. SJ Park (2): mm/damon/core: expose damon_has_probe_weights() mm/damon/ops-common: use probe hits weighted sum in damon_hot_score() include/linux/damon.h | 1 + mm/damon/core.c | 2 +- mm/damon/ops-common.c | 23 ++++++++++++++++++++--- 3 files changed, 22 insertions(+), 4 deletions(-) base-commit: 4c508ea2c29a919e3c813147dddd620428bb7d77 -- 2.47.3