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=1796095629; b=PZpAEvcB4yhHriIitJsRFhFGkY1GGKaditobCwP2WPLlhnTpAM+II7o2B5TQtUBDhviv JXwAVoClGsCLkiYP6c58e+Y25XVd8XXeYfdxzJtFEeYnofEeR9Jp3dSDlm7IiMWp+5i3J bXisWDEFvKjb2I3o163jebe+jILfZ5qR9VMzF28RQq4lqsKkkGAo98a6hn+1sycXc7ARm 2uXTk5Fpu23+I2RaHjgIOpcq5n8A7vs4207Ry3cslebtD3KIkYcpskgmf4n/Sl9aZRlmH O9tJRZYUi/Bb/8q2JBEPk1dZrXTHNkJSxdRN9v+XU6Ir+NF8Vs3g108eld7n+OcA0Wg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796095629; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: MIME-Version:Content-Transfer-Encoding; bh=RV5lFcxufgaNir20RuNGyyypblB3uzhOWRU2SoO7Xwc=; b=DTrilbPotNSfq8BbYJJ1UC9iy9vXAkcTYY2Lj3kIMu+EK9Bk3MnCXop2YQphzJdPXmxR QyRlfmIthrBZSZqMTical0YLAah3Nzo3yVpweLUZ5fs5M7yvgPM8LGxyO3cNJG0d9aknw AOe0gH/Sx5+Ek++A3Jt8FNnJ29v/4EerJYup2JugjcTMOxBQeRkeu3fYe4d/NRetGI6rv D/tto+FzYUfQUHk+/L0t8WW9VVqUmqM6vFpDcVaNXXh8mrPk6CngjmZuZ5h0iKKchzQXV AE857Ezu44Ws3ZgbFLCVDydeOZNs2/iS4Ic1cP2+Gp3Ibt7a8hTSKL+q7N4SUfm55+w== 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="DaUE/zb0"; 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 2F44A606A327 for ; Tue, 1 Dec 2026 03:27:08 +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=DaUE/zb0 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 942161F000C1; Tue, 1 Dec 2026 03:27:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796095628; bh=RV5lFcxufgaNir20RuNGyyypblB3uzhOWRU2SoO7Xwc=; h=From:To:Cc:Subject:Date; b=DaUE/zb0MCbAAwtDxc/CW2FWNeVfyaiw2jpFFd+LFczBAFNPxH3Kelp3AxpY0LPVc z8iNUmzl2AwZcBQCFUh5O4SGjKcPRjAwol691fTxH66J3vukbB7nlH289C3bEtHRHS vgSxfrUG1sbVibA/e/qpEg6lov1VGSBxgnL7ypdMnIbwS7wEbIB1I1GKtWqaX57PL7 H4UDiN2pd25k6WdtChhLBlqtTnz7r4TuaedE5LbBFQKMktEPmRxf1N0DtpoTFfXVs1 aHkKuu4qdXpdrGaRpriwepLQyPT0FyKQmOHmOPidqGd/ZThI1awus+hIyozobV5VNC XAHhiaztNiO5w== From: SJ Park To: Cc: SJ Park , Andrew Morton , damon@lists.linux.dev, linux-mm@kvack.org Subject: [RFC PATCH v2 0/2] mm/damon: improve DAMOS quota region prioritization in attr-only mode Date: Mon, 30 Nov 2026 19:26:51 -0800 Message-ID: <20261201032655.123822-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 is not aware of the data attributes only monitoring mode. As a result, it becomes useless in the mode. Improve it to be aware of it and use the attributes monitoring results. Introduce a core API function for knowing 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 - RFC: https://lore.kernel.org/20261130001530.173703-1-sj@kernel.org - Scale freq_subscore denominator for the probe weights. SJ Park (2): mm/damon/core: expose damon_has_probe_weights() mm/damon/ops-common: use probe hits weighted sum for hotness 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: 0bbbdf85abf48b019cb8dd7a6e87f0a8995fdcd2 -- 2.47.3