From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qk1-f176.google.com (mail-qk1-f176.google.com [209.85.222.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1E11719E819 for ; Thu, 2 Jan 2025 15:22:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735831340; cv=none; b=UKId2Gcf4yg3lSaJ+mHt5KFfNpZDyGy00KTs7c1+vplm0+pWncPFTbGROrtaL6dwnVYHMtttvlxrkKDQ6xO8dFVlMsHkDVkRWhV22wDzwduDqmw/s6CKnH2zQFFl14rVKz5f/PtGpx/EwHVZ+wdIkqKnt0Nv5KKQMY/UQEQp0FU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735831340; c=relaxed/simple; bh=oCihSBuS2VNVO8/hWBLIs6K1jMBtk2K0UT43cb7VHg4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=QXT3EkYn72xzmYMGg4XIU3aBH0QA+JUC1TSdYdw26gIbg8tejZEXr3A5aJx5WDEUp6fKkcganVKrzZe1LTwRewOt4PqPp8vsmRsKziCooDvIDcr7WY+KYjB6anRqPWMdcSpvBi1WAwOrFm6kf43mxADhLXirvOJu+YMaPprW0HQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gourry.net; spf=pass smtp.mailfrom=gourry.net; dkim=pass (2048-bit key) header.d=gourry.net header.i=@gourry.net header.b=u+haENvw; arc=none smtp.client-ip=209.85.222.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gourry.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gourry.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gourry.net header.i=@gourry.net header.b="u+haENvw" Received: by mail-qk1-f176.google.com with SMTP id af79cd13be357-7b9c6c2c44eso699188985a.1 for ; Thu, 02 Jan 2025 07:22:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gourry.net; s=google; t=1735831338; x=1736436138; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=7e6aFXIY2jI70eGDhTaDLuoI3uVplBD4j+gTnpi/Nqs=; b=u+haENvwoZOaxsSAh0DK/JJ+f/a9Q+WgmGknOcpxmASSHDpAyumf8eXuOmLTBpOkU/ 2EOy80puPFB2/eKtQ5QHjFIRDXnCRLksLeuxCm3qR7fd2f4ajK1H0KsT2Agw8Q7LdpmV NTjpM9Vz8cHtHjb3RSFqYTCDwWgom6+1n5cVup4Dd0NXjZnzX/75OToGBPR1YwiWI7B0 X1r5Qw/8864/TFwY1HCVxscUaHe7WAVJ5VP+E+hRji3Rkah1RtBAkCNMClal3sjGz6Cv h6DrjH6g6nUIg4c5KySkgTHC1rAGPFg8y6aipoJClEPTU80icsEUUwWPiKrRbPVdr0yW 8lAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735831338; x=1736436138; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=7e6aFXIY2jI70eGDhTaDLuoI3uVplBD4j+gTnpi/Nqs=; b=dSV6WhxIpsGpeCKGNYFAtCHCnwgjMrg6iDISRZ1Mx3PiKZdyTrfXz5JkGD+CIYa8+/ E3IHgYOdppvN0tM0XH8Bv7BaHowW4xtNQglYkc7fQolhF/5kiJZjPKlS6qNQDBuoyV3y DGuXlsJ02q4nZsh7MiY17VvSxyHWoQ2FZcLB1S88a1CqEC8DGyl+lLN+UYEguYXFJk6f y2D0UBBguJxM523LPSRvMwagWDyp0LIuESzLnwzNjT0xy4IHU5pUwsnZHatwqZHj1AjS kyaMBkgL96vsJ6idIZB3yZKjyacyx2yZl3NKkKpyd86FzGSEY3boyMSdncTD4DyesnBz xexg== X-Forwarded-Encrypted: i=1; AJvYcCUMPhwfton9BqiAI3K7gBXnc8iowD5cWMxGLZYchgoog0uC+KbQD+JPPMmGnt8FHYMAHSIW/bDzwKvexFw=@vger.kernel.org X-Gm-Message-State: AOJu0Yyx5AAjezLIWWa2UdFP7Hdf0vmGj+mHf0rxBZLKrHl2tkMmKEVt Gk15OQkrgMaCu0yuXidDuGDLilE8S1IDEXl/nGkcWrDT8IBXgPp59ZtIMxd/MeQ= X-Gm-Gg: ASbGncs/N2W3zLQFS3B2LcZGoINsx1eMhyFmF6nfT12f0tbsArteqhMSZFueC9DOfyN 05ZzsI3a97AmYBGRsoA0oW1INeExvBF5Fvjb9f+BiImcoeQDw69lM844F2UWd206tNrtAdyq4Zt Z7ZkDQFhRSH3DxzmuLcrAqxidULNYyBOcuKJSC8DqrwLIti6xd3I3BgvWD7D6SKL/jOzq3D1okX t76e0JrN42fIm7RYwEaQ/Z+zySJcSZqAm4RxjV9TjqiuoIQpOPwrCrix02OdBQ3XsPsVVpp2un/ f9jLEmtiNseWLtytpx19EhPPXrHMp4Iiwx/6eDE= X-Google-Smtp-Source: AGHT+IFJi5ZHDBoES+yY082aj6WOBTVnLviKXgAJ2IMoxXIAcz/heNto3P5anrtdmaw1Pg9lmvXJNw== X-Received: by 2002:a05:620a:4486:b0:7b6:eed4:694c with SMTP id af79cd13be357-7b9ba84f893mr7754038885a.62.1735831337980; Thu, 02 Jan 2025 07:22:17 -0800 (PST) Received: from gourry-fedora-PF4VCD3F (pool-173-79-56-208.washdc.fios.verizon.net. [173.79.56.208]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7b9ac2bbd1dsm1193273785a.18.2025.01.02.07.22.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Jan 2025 07:22:17 -0800 (PST) Date: Thu, 2 Jan 2025 10:22:14 -0500 From: Gregory Price To: Matthew Wilcox Cc: SeongJae Park , lsf-pc@lists.linux-foundation.org, damon@lists.linux.dev, linux-mm@kvack.org, linux-kernel@vger.kernel.org, kernel-team@meta.com, Raghavendra K T , Yuanchu Xie , Jonathan Cameron , Kaiyang Zhao , Jiaming Yan , Honggyu Kim Subject: Re: [LSF/MM/BPF TOPIC] DAMON Requirements for Access-aware MM of Future Message-ID: References: <20250101222039.74565-1-sj@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Thu, Jan 02, 2025 at 04:09:38AM +0000, Matthew Wilcox wrote: > On Wed, Jan 01, 2025 at 02:20:39PM -0800, SeongJae Park wrote: > > Hi all, > > > > > > I find a few interesting and promising projects that aim to do efficient access > > pattern-aware memory management of near future, including below (alphabetically > > sorted). > > > > - CXL hotness monitoring unit > > (https://lore.kernel.org/20241121101845.1815660-1-Jonathan.Cameron@huawei.com) > > - Memory tiering fainess by per-cgroup control of promotion and demotion > > (https://lore.kernel.org/20241108190152.3587484-1-kaiyang2@cs.cmu.edu) > > - Promotion of unmapped page cache folios > > (https://lore.kernel.org/20241210213744.2968-1-gourry@gourry.net) > > I'm not sure how DAMON can help with this one. As I understand DAMON, > it monitors accesses to user addresses. This patchset is trying to solve > the problem for file pages which aren't mapped to userspace at all. > ie only accessed through read() and write(). DAMON can monitor physical addresses to, though the mechanism is different. I haven't assessed this as a solution, yet. ~Gregory