Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp405783lqc; Fri, 8 Mar 2024 00:31:57 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV3cuCHE7zRRkEIngj29ijneJPurixw14qH+6FRLDpzsAFly33XDi6uf3kPwf099lDAPsbIF0F8VNDGQnn/tZGjYHA+6YIYITLYiHQwHg== X-Google-Smtp-Source: AGHT+IGKRL6CH42v+I0R4TRf7FI8FFs7ayKrR+pc/UrH3qwKIXbR3grjU/qAtu10jB9/A7eyaaT8 X-Received: by 2002:a81:4c44:0:b0:607:cb4e:eb41 with SMTP id z65-20020a814c44000000b00607cb4eeb41mr18003499ywa.35.1709886716962; Fri, 08 Mar 2024 00:31:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709886716; cv=pass; d=google.com; s=arc-20160816; b=aKfWhkKXc1wOCMsvCw9BXVChTyEs1sxDvr5FDbhEVv8e5itZlZY9jcEAjA2y2tr/c1 6V8Ac9t6jzgLh8/AZPBP6lcM5ChAw3Qd0SbWE8gIEobMmZc+6fza4hGLFHIwKNWJVjpv jxTPaVAXuAabfcTNjvnROQwgPLymiy2S1LyC7Hs4DQf3VAE5d0V9UCbOVFNDucQKbQa0 aAZXG3YDx+jqBTmW1rtOW5JOxd/jADey/cR+v8MfkEBxTlLqDSHXK8r3Dnd+BKq4Dwon IljqikIoCPlDAQljRGDQ1EWqacjRDrhVjFX6kOQ6VRt0SI8Xkh/dt6rPX8hoR3n4gZPg v/Sw== 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=XLn7+e1aeqBgGLbza/iMqo+QuO6CUiqrWk2z0ZFxDTI=; fh=okfgzCfy4z3AxFv78EQ03jDLkwFfd+PnCuq7ZEbNmcg=; b=fSqXlWB3RY0CNau01qv9hXpfduOe4XoFL2JOcy6vzdq435pvVKUJ+gaNX9KpuP4XYb 3A7BAZVxcmwrHHTrpzzAuw0g9bWaWTlBLd6bbmsMMV4aBcZ8N/9bYI51uwacl8b7mm0h 3RKYML3RqTmJlSKM9tk+wKRrulo6cZPECU420ovU6JjAgLKfH+00cpY/dDH8X0UGjU5o RVEiRSQtU7Lr8Z/bSyM+fcHLnZOg7ANKtRdHG6k6+cq+FyrH48mkXnBWCppaZ+rTShIm 8GmeaC6FWSozekNooVwQN8Q/d/Y5cN5nBUV7HzrL1iWa1iIjxZjKyu1MuzGlJc9maj9E e0jA==; 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-96652-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-96652-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id p15-20020a05622a13cf00b0042f0187f3d2si7599459qtk.290.2024.03.08.00.31.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Mar 2024 00:31:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-96652-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=sk.com); spf=pass (google.com: domain of linux-kernel+bounces-96652-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-96652-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id AEEF71C21917 for ; Fri, 8 Mar 2024 08:31:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5C773200DB; Fri, 8 Mar 2024 08:31:50 +0000 (UTC) Received: from invmail4.hynix.com (exvmail4.hynix.com [166.125.252.92]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3F2AA1CD3D; Fri, 8 Mar 2024 08:31:44 +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=1709886709; cv=none; b=X1Hdq5v7Gdmt4PukQqL7Pd2GfeXLec5lwA1S3SzJDyTLU+6UkFhAyjNmBDG40eqTs05j1LP5ycqxMwoAerTTUjRgM8macVCEGnTniuxJWt2VcPGJzMphkprJC0xUTYb3xFkEW/CAK6jO0VYbaRJpsCVxDRtKw5cnZNjepesSLdM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709886709; c=relaxed/simple; bh=hDfMG2qxYuktOsweK4dW0+1dH+uTHvPFBUTxH/5FjMg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=u1Kgf7yK38EwfmLSTRWAGyVjJFXWJ3gv6O3KKO2Ig4hUn8x/vzNGB+tu2aaCnjeohggQMxyIms+4OGuzbAePIu30mMaAQoX32nBzusnqhtHA5nCmASzvcrKQfRAC/PzbTi3JryD5V2fIUR0tUKa6XDUYCWNO7prWBXCigLDIBQE= 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-7f-65eacce93237 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: Re: [RFC PATCH v2 0/7] DAMON based 2-tier memory management for CXL memory Date: Fri, 8 Mar 2024 17:31:25 +0900 Message-ID: <20240308083129.1796-1-honggyu.kim@sk.com> X-Mailer: git-send-email 2.43.0.windows.1 In-Reply-To: <20240307030550.47095-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+NgFprHIsWRmVeSWpSXmKPExsXC9ZZnoe6rM69SDX4sZbeY2GNgMWf9GjaL XTdCLP7vPcZo8eT/b1aLEzcb2Sw6vy9lsbi8aw6bxb01/1ktjqw/y2Kx+ewZZovFy9Us9nU8 YLI4/PUNk8XkSwvYLF5MOcNocXLWZBaL2UfvsTsIeSw9/YbNY0MTkNg56y67R8u+W+weCzaV erQcecvqsXjPSyaPTas62Tw2fZrE7nFixm8Wj50PLT1ebJ7J6NHb/I7N4/MmuQC+KC6blNSc zLLUIn27BK6MqdubWAqeCVS8/vGKuYFxHW8XIyeHhICJxK47vWww9rJXN1hBbDYBNYkrLycx gdgiAooS5x5fBIpzcTALLGSR6P2+ASwhLBAucarpNXMXIzsHi4CqxNZEkCivgJnEousTWCFG ako83v6THcTmFDCWePnyPTOILS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VX5h5ilOBgVhLhZbEACvGmJFZWpRblxxeV 5qQWH2KU5mBREuf1Ck9NEBJITyxJzU5NLUgtgskycXBKNTD2e7KsOxDObuh5wr3bdqpo7+Wv 7x/XmBgqzDNsuqf398KjnYvPGl7wkH/O8fLv01zpNYfMzxix7tVsMbo+LSL5wcPz3+1YZCL9 Ky+FWka8WGJXzsNz2fJT8Yx0tQD9F6Lbv/OcU9Fluvh8q9PpAoN71zcefRu49adNX81Spbw8 vpl3mnewvipVYinOSDTUYi4qTgQAsqCBdasCAAA= X-CFilter-Loop: Reflected Hi SeongJae, I couldn't send email to LKML properly due to internal system issues, but it's better now so I will be able to communicate better. On Wed, 6 Mar 2024 19:05:50 -0800 SeongJae Park wrote: > > Hello, > > On Tue, 27 Feb 2024 15:51:20 -0800 SeongJae Park wrote: > > > On Mon, 26 Feb 2024 23:05:46 +0900 Honggyu Kim wrote: > > > > > There was an RFC IDEA "DAMOS-based Tiered-Memory Management" previously > > > posted at [1]. > > > > > > It says there is no implementation of the demote/promote DAMOS action > > > are made. This RFC is about its implementation for physical address > > > space. > [...] > > Honggyu joined DAMON Beer/Coffee/Tea Chat[1] yesterday, and we discussed about > > this patchset in high level. Sharing the summary here for open discussion. As > > also discussed on the first version of this patchset[2], we want to make single > > action for general page migration with minimum changes, but would like to keep > > page level access re-check. We also agreed the previously proposed DAMOS > > filter-based approach could make sense for the purpose. > > > > Because I was anyway planning making such DAMOS filter for not only > > promotion/demotion but other types of DAMOS action, I will start developing the > > page level access re-check results based DAMOS filter. Once the implementation > > of the prototype is done, I will share the early implementation. Then, Honggyu > > will adjust their implementation based on the filter, and run their tests again > > and share the results. > > I just posted an RFC patchset for the page level access re-check DAMOS filter: > https://lore.kernel.org/r/20240307030013.47041-1-sj@kernel.org > > I hope it to help you better understanding and testing the idea. Thanks very much for your work! I will test it based on your changes. Thanks, Honggyu > > > > > [1] https://lore.kernel.org/damon/20220810225102.124459-1-sj@kernel.org/ > > [2] https://lore.kernel.org/damon/20240118171756.80356-1-sj@kernel.org > > > Thanks, > SJ > > [...] > > >