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=1796312583; b=SSAYgAtdUEMMYa6f5ZPcLb0aJ1JldhhjskD6I+Z37x6inLMb86KbH0ZcSjublxEsd/9q EEMupP6Zs9PMS/gf7xfwZ3QcVZsSgqniHlriN88j11evwdFq9NNmzkDdxVYF1K5naaUBN ukDCE9hWQMZdcYC94n4/m9c2N8Wsv0q8V6aZNl2DCik3vYhPy8XZ1fXrNED6qn8HAAK6j 4MIL1FB/vcRIRbHwnUyNC029CPAsamBUAbF1ZNecRSPriCZD1ApGQ8quTPCgMJ1J2PsNE mSd1dMsMa4xr6XBO1jHWaNsbeti5Feyr+uaUKRIguH7savbUkAwwu3dKpJCpCFebrNw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796312583; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:MIME-Version:Content-Transfer-Encoding; bh=uG5zQdN+e6k2/2DcULxuqDtKtvkcGidc4SDAgr/DzAA=; b=uKwkcsPpHjfAOZF/yru1ce0SnhPSXyyq9akvhJES7D/2IbUg8+fukXZlfk/UMG+nPChl rd6afysRgt8nhz6P4clAfRrUJByYH54/pfIU2EAYEDzQZKSSNiszuRxUsDs3rbGF8s+fJ idwy/f7tAJr15fr7AZgdCtPJFTJw7l3atOxiWLAs7R4mtui+jewqCAWXePmL+SASUnlO1 Ku9u7+IGeNdg2SLKcmZ4M75Qw8OQrpQsZK57OBbz87I2CpaNHBVpmpBRdu/bxeV8rC47o m4Ylms0mLwCqkQIh4yXChyxUNlsxt976OvRjPmnrKTSbspv8uKTWcIzfKkG+1G7prVA== 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=B1zg0h3Q; 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 8A951606A322; Thu, 3 Dec 2026 15:43:03 +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=B1zg0h3Q Received: by smtp.kernel.org (Postfix) with ESMTPSA id D32011F00896; Thu, 3 Dec 2026 15:43:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796312583; bh=uG5zQdN+e6k2/2DcULxuqDtKtvkcGidc4SDAgr/DzAA=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=B1zg0h3QbG19rn7ImtZgksP51kUVRf9SQ9KPyqWCPbMbnVVUnTDwDDNgpsJy/7fY7 yFmJ+dkC5/oyQV1RLijXBdAFGw922U9g0ZI2VIlf6v8K/lY4uyX7u8rV1rxLbnkwkB gDW8IQyB28s4/QvgyM2xeEbSEsbgBBd6jOksqK7Ne1FvGKX0UtDiO96qLnb3wLZ8Hw N4amowvSTKKC+deX0fIHbk+jwa7btRE/LOaDS7U1ATiqaS4NSUKnhFOgmRv3FJYBCH sy33ZkRSdL15R7r9D7wTGmViMaMeF1cEUERVy9SRhPgW6L02Ak6B/FEgKMRBDaUOdz pjQRQVMFFhcFw== From: SJ Park To: SJ Park Cc: Andrew Morton , Brendan Higgins , David Gow , damon@lists.linux.dev, kunit-dev@googlegroups.com, linux-kselftest@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH v2 0/3] mm/damon: treat DAMOS core filters as a primary target selection method Date: Thu, 3 Dec 2026 07:42:55 -0800 Message-ID: <20261203154256.733792-1-sj@kernel.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261203150821.730276-1-sj@kernel.org> References: X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit On Thu, 3 Dec 2026 07:08:16 -0800 SJ Park wrote: > DAMOS access pattern and core filters are treated as a primary and a > secondary target region selection method, respectively. DAMOS target > regions are initially selected with the access pattern. Later core > filters are applied additionally when needed, in the middle of lower > level operations. DAMOS quota goal type eligible_mem_bp is ignoring the > core filters. > > Core filters are effectively applied on all places that > damos_access_pattern is applied, except the eligible_mem_bp DAMOS quota > goal type handling. > > Promote DAMOS core filters to a primary target selection method. Use it > in the central high level place that the damos_access_pattern is > handled. Split out damos_access_pattern to a function and call it > directly from the eligible_mem_bp handling, to keep the old behavior. > > Remove unit tests that were too duplicated and will fail after the > change, via patch 1. Make the promotion via patch 2. Clarify the > changed eligible_mem_bp behavior on the kernel-doc comment, via patch 3. Sashiko found [1] a few things that are better to be fixed. I will post a new version with the fixes. [1] https://lore.kernel.org/20261203154045.733625-1-sj@kernel.org Thanks, SJ [...]