Received: by 2002:ab2:7a55:0:b0:1f4:4a7d:290d with SMTP id u21csp594477lqp; Fri, 5 Apr 2024 03:13:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXYkZWsYR2O37Wc9Z5TqNEXDoY2OvFrZuS1pVxur+TXijLcex41Vy3Sl6XCoxQ9liHFY9xCzsS+jPcAoHw0OIxeLr/ukpMOb1K469WOrQ== X-Google-Smtp-Source: AGHT+IEFkJvT7/JgriAn7lZb1+qeDNjJ1U+rEGRYWR1RGDFubEoabqTE9nEJfwHgwAMF9fVjugnh X-Received: by 2002:a17:903:451:b0:1e2:538:a063 with SMTP id iw17-20020a170903045100b001e20538a063mr879219plb.33.1712312028063; Fri, 05 Apr 2024 03:13:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712312028; cv=pass; d=google.com; s=arc-20160816; b=yNA6xZi25XKkILA1C4fP+1VeCpfWROeeQ9qAfCs+YU5UUIXSOubHqj+CMAKJDRlprU gIHvwHF+u5xcY7YSJJByZ+DCJ+dp4RlgdTNPgNruF4mBWxpZaEetWLXPp85IksNvoa24 OQQ4o+WwdInC+Kz8Kzw4w+Uwcv1T2EKGxEJRxnBi/waSB712KjFDd7Wwv9lRXRnHvKAp wnBJEheK5dRNdFx+R/BVtiopL/XhXP2ysJU9X2t+fBRSA4f/e8GgFgGSuRC9qpcfM5zA kvlCqRcJB5bWCg0nLUeRceMxyAKaNEm8GQHJ2SuGxI8MLhnC8YEtyJEFOlNCudHBFxge oXfA== 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; bh=Ixk8g5YjmjGoSS3eY8RhRfgMzHZgrIwYh+aWFcEv06c=; fh=okfgzCfy4z3AxFv78EQ03jDLkwFfd+PnCuq7ZEbNmcg=; b=nrwdhTxA0PYnIBdIF81quGMuhuIXZYXzaE2Oj0odHkb/LSsATOfQOPAoYgfC3Dw7bq Uwlc+wRJOa92Mcl9H4hxmn/BpodPh1eNAjDtxKPcL9nvIcQoLt7uMY7FIWxh6dyd1A2T SFF+o8Jonjl7TdZLk1QT+w5UqKeyCOqHvzdu8UovFu9ouA1tUGg4btmDYw1tsElJSUTM KMNHga/FC96YxrrB4Y1CzpYJizkOR/vSdNfV0k+3ny8PLf8nWsMmJXOlCQJasLKYUTcK qcElRZoP4Q76yVPtluCFrB+EhUloSM8woYD/5976y69KbOhq4zS7G+CpWnY02R4eKg/9 5KWQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=sk.com); spf=pass (google.com: domain of linux-kernel+bounces-132801-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-132801-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 12-20020a170902ee4c00b001e2a0760af0si1075896plo.422.2024.04.05.03.13.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 03:13:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-132801-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=sk.com); spf=pass (google.com: domain of linux-kernel+bounces-132801-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-132801-linux.lists.archive=gmail.com@vger.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id BE049284FF6 for ; Fri, 5 Apr 2024 10:13:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 059CF161914; Fri, 5 Apr 2024 10:13:43 +0000 (UTC) Received: from invmail4.hynix.com (exvmail4.skhynix.com [166.125.252.92]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 89FB2161339; Fri, 5 Apr 2024 10:13:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=166.125.252.92 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712312022; cv=none; b=cUKLR/pXXqTG6zJm4lPmjZFLLWyVPF0KUbgrKXZeH1AdOfRA/4kUgTqc1H4C+9m1O+7iPCIL8sC/nF104ne8dAKhW/dELhxGbfOSa8R9D3cxdsYB0AoD7i2I4Tos7wvYKIfb1iS38LWFdeX1DAFhQOQKT9JE8H7wpAaQvHVcANw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712312022; c=relaxed/simple; bh=LwBk8Tg6gmrWwVs84PJrcHAHXc38aGhozruApm71iwg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=gZBNyVRHfcWea3HeuHWpHjMEL/dFPokU8qya7/v9v8e5LQuDi46R2k885WcvgsxCBDuzI5IF2epom5zAKLC/yXGqTLsMtaI3QzFDDwfxJmVRJu/slWxTu1yvz/uqzXPl04QQ/K7+sT9vrvliweIal5SjWyMUvfHK4AJ2sYuSHWQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sk.com; spf=pass smtp.mailfrom=sk.com; arc=none smtp.client-ip=166.125.252.92 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sk.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sk.com X-AuditID: a67dfc5b-d85ff70000001748-5f-660fcecfde3b From: Honggyu Kim To: SeongJae Park Cc: Honggyu Kim , 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 Subject: Re: [RFC PATCH v2 0/7] DAMON based 2-tier memory management for CXL memory Date: Fri, 5 Apr 2024 19:13:12 +0900 Message-ID: <20240405101316.2890-1-honggyu.kim@sk.com> X-Mailer: git-send-email 2.43.0.windows.1 In-Reply-To: <20240326230309.47079-1-sj@kernel.org> 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 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrAIsWRmVeSWpSXmKPExsXC9ZZnke75c/xpBt1tVhYTewws5qxfw2ax 60aIxf+9xxgtnvz/zWpx4mYjm0Xn96UsFpd3zWGzuLfmP6vFkfVnWSw2nz3DbLF4uZrFvo4H TBaHv75hsph8aQGbxYspZxgtTs6azGIx++g9dgchj6Wn37B5bGgCEjtn3WX3aNl3i91jwaZS j5Yjb1k9Fu95yeSxaVUnm8emT5PYPU7M+M3isfOhpceLzTMZPXqb37F5fN4kF8AXxWWTkpqT WZZapG+XwJXx43gHa8FdgYre7++YGhin8nYxcnJICJhI/DvRwA5jf97yiwXEZhNQk7jychIT iC0ioChx7vFF1i5GLg5mgYUsEr3fN4AlhAWCJeae/c8IYrMIqEpMv/EabBCvgJnEsovHWCCG ako83v4TLM4pYCzxZNtZNhBbSIBH4tWG/YwQ9YISJ2c+AatnFp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jNAeLkjivV3hqgpBAemJJanZqakFqEUyWiYNTqoHRtXLTnQvWpu3XZG6fz58ebOTs 0v/i7L8rem+YPm4MZQ1apjntbrBLr51DdusE/V2N8rtdWW/aVt1ZavFZ59gJEYWnm62zKvZ+ vut93LNKk+1QWpBTXWOAi/6E2/wiizvdLjSt65yRtv2xvxFHh9obr8fXxGdeNePbFKtuOfmY gKzSiu0BqUFKLMUZiYZazEXFiQD3vveyrQIAAA== X-CFilter-Loop: Reflected Hi SeongJae, On Tue, 26 Mar 2024 16:03:09 -0700 SeongJae Park wrote: > On Mon, 25 Mar 2024 15:53:03 -0700 SeongJae Park wrote: > > > On Mon, 25 Mar 2024 21:01:04 +0900 Honggyu Kim wrote: > [...] > > > On Fri, 22 Mar 2024 09:32:23 -0700 SeongJae Park wrote: > > > > On Fri, 22 Mar 2024 18:02:23 +0900 Honggyu Kim wrote: > [...] > > > > > > I would like to hear how you think about this. > > > > So, to summarize my humble opinion, > > > > 1. I like the idea of having two actions. But I'd like to use names other than > > 'promote' and 'demote'. > > 2. I still prefer having a filter for the page granularity access re-check. > > > [...] > > > I will join the DAMON Beer/Coffee/Tea Chat tomorrow as scheduled so I > > > can talk more about this issue. > > > > Looking forward to chatting with you :) > > We met and discussed about this topic in the chat series yesterday. Sharing > the summary for keeping the open discussion. > > Honggyu thankfully accepted my humble suggestions on the last reply. Honggyu > will post the third version of this patchset soon. The patchset will implement > two new DAMOS actions, namely MIGRATE_HOT and MIGRATE_COLD. Those will migrate > the DAMOS target regions to a user-specified NUMA node, but will have different > prioritization score function. As name implies, they will prioritize more hot > regions and cold regions, respectively. It's a late answer but thanks very much for the summary. It was really helpful discussion in the chat series. I'm leaving a message so that anyone can follow for the update. The v3 is posted at https://lore.kernel.org/damon/20240405060858.2818-1-honggyu.kim@sk.com. > Honggyu, please feel free to fix if there is anything wrong or missed. I don't have anything to fix from your summary. > And thanks to Honggyu again for patiently keeping this productive discussion > and their awesome work. I appreciate your persistent support and kind reviews. Thanks, Honggyu > > Thanks, > SJ > > [...]