From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qk1-f180.google.com (mail-qk1-f180.google.com [209.85.222.180]) (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 292B2156676 for ; Fri, 24 Jan 2025 15:53:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737734030; cv=none; b=AZ1pAk5RApXRxofDOAgu2hgDsejmHDmJSflQXsAvcGWWp8w5imhgHIcz9dq64JpjWrsW3amvTlBzIWadC247APMBwYvW5VlaUu2mvlD2nn6zAQR1VrN2IKtbzEBxeIolIY37UXqCYlFivWtNsnlahbMBXRvjBnRfsOWD6wOUXmw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737734030; c=relaxed/simple; bh=DEKjAD8V1b8lppa3dL4yHvR/da6RO33fHpI49jJmFXo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=l/4AQgOEqnSlFNjcFgP1MVZwQYcOMmBxahYrwod6LxRpBJm4Or9bqsvAWjK9KE/2DD+gmmAi008m6Bzu/zPpNFkiuxVQJIBvdcVEOlX7oC0zqwQ8t5db9dymiX4F/g6q7HBUYCDW2aC9SXQKB4QZVlSY6UaYZdBPXZRToqyILdI= 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=Rkkqgp1n; arc=none smtp.client-ip=209.85.222.180 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="Rkkqgp1n" Received: by mail-qk1-f180.google.com with SMTP id af79cd13be357-7be44a90468so251520585a.3 for ; Fri, 24 Jan 2025 07:53:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gourry.net; s=google; t=1737734028; x=1738338828; 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=QNbhaq2mDbHmLsVQccpi4ScY6Cq5iVtMLLZKxX9HEIQ=; b=Rkkqgp1n8P9Ig8fp5dPsAzNWlaDSvxGndx+xMT7MzBEUBCzlwReOLz+EsBP7lsdNqG NMsr4I2+j+XBAb9HWd8H3sradLFYwNKUvbhuSINobHRa920/RgreJQGp0oSuFyp/VZLt 6UzDBa4WtBS4SDrlP+MhUv8+eExflanwnkpZd9FZXSKbCZj+fSAeOVM0zjdTHfUVK93m g7jAicO0XYz+SHMgAjYGrCqtc7+f80vuDC7VfYQY8ay/layFDeEFqhXXXaKjgWpV/T2F KLBZUUyzBADLxa13y7DLRPCQfPewy4GtUqurAaVatB6zOGJ6Nio+9+yEodCxAwf7m0oq 2RbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737734028; x=1738338828; 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=QNbhaq2mDbHmLsVQccpi4ScY6Cq5iVtMLLZKxX9HEIQ=; b=S4yRyLYH2Q2ceSrISgW/2T6VHyy3NzpLueYlpjauwN1Mp9u8PnNeT0z4WoY/3/dqf3 WpDcbwFA/0thJzkCjHTIkpLvqcA7njXdy77Nsf/qIzc9oWi+WZnYzypj4p5cv0abB4Zd S0jrkfnc8tDRnLwn56FMjFtFZCPQiuGgUZu10qPPJNQXRpNd8aQcC7/rLOqGwK4rtF9J kuK8DCELhTTZB6XtT3hJ0H7FUsGWE1jy4V78LcYDGkv3Nqx1XcOc0p+o3Izw50wdbI+H Tfl9Uc96Z8J/MrlxYYVxZWG4qEG9bUnSWzJwWYcfeWuneLZd4s6ULOKkLv03n81OP7vQ XGmw== X-Forwarded-Encrypted: i=1; AJvYcCX2MEGpBwgdbQi+svKMqna7USiOMVT+RqPxJp13OFIgP2jbnU+qZliquyQNeTYW3BP2Eqf9ptYJAu7Ohn8=@vger.kernel.org X-Gm-Message-State: AOJu0Yzpbp1eW8265UeNFey9NNH9hAjPgxU7ZfBgk0d0M6kU4EIjc5oU jFJG8qIDwc31cj4sfxJY0ryIaZ3lwOGQvMcfgFvKy7THb3GQNl2M4UnwXeoXw4k= X-Gm-Gg: ASbGncuVsY8uACeE6Y/szsRhbVpTbLwK0U7ZNMHkDkVBY1L2MCIx9fYo0Ex8PWwGwy0 OMacAgxuv615gp+PxwWQCnYuE7ovdjFkkQZGn27WDVrGu4yYw0LbtIqyXoxYshbdgGj9liwalDc ipgfyTakZR4mqhHem+vq+525JD4DQikrPLj4q7wjQ3a+xjeXNnOzC71ACZg+97HLmvw9WxBhP5g OtFRObDQFoU9Yx+2kewm/1tLZFMFG/npi4kWZ44cwbAHicUN//27m9LmFxCk+xQFxbxxlIguUK9 x3pC3KnB3xBoJXqAXPA+wTCvdwrK18oH6ViLP5JgRUfjO2Wv+/LVScx+HMb1eaQ= X-Google-Smtp-Source: AGHT+IFTWiA+tThQLUYQm/V512P/UYDBb7llFCWkcCEMbCbinB1KbnHmt16PLYaWYOwlwSthaf9oAg== X-Received: by 2002:a05:620a:2603:b0:7a9:aba6:d012 with SMTP id af79cd13be357-7be631f2e01mr4765020285a.22.1737734028053; Fri, 24 Jan 2025 07:53:48 -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 d75a77b69052e-46e6689f720sm11388961cf.42.2025.01.24.07.53.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jan 2025 07:53:47 -0800 (PST) Date: Fri, 24 Jan 2025 10:53:45 -0500 From: Gregory Price To: Matthew Wilcox Cc: Joshua Hahn , hyeonggon.yoo@sk.com, ying.huang@linux.alibaba.com, rafael@kernel.org, lenb@kernel.org, gregkh@linuxfoundation.org, akpm@linux-foundation.org, honggyu.kim@sk.com, rakie.kim@sk.com, dan.j.williams@intel.com, Jonathan.Cameron@huawei.com, dave.jiang@intel.com, horen.chuang@linux.dev, hannes@cmpxchg.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, linux-mm@kvack.org, kernel-team@meta.com Subject: Re: [PATCH v3] Weighted interleave auto-tuning Message-ID: References: <20250115185854.1991771-1-joshua.hahnjy@gmail.com> 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 Fri, Jan 24, 2025 at 05:58:09AM +0000, Matthew Wilcox wrote: > Putting page cache in the CXL seems like nonsense to me. I can see it > making sense to swap to CXL, or allocating anonymous memory for tasks > with low priority on it. But I just can't see the point of putting > pagecache on CXL. Also for what it's worth, I'm trying to get page cache *off* CXL when it becomes warm/hot :] https://lore.kernel.org/linux-mm/20250107000346.1338481-1-gourry@gourry.net/ ~Gregory