From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-il1-f177.google.com (mail-il1-f177.google.com [209.85.166.177]) (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 186742210CD for ; Thu, 12 Dec 2024 15:48:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734018510; cv=none; b=GdYZLhHhglskAJ9o9uXbkPaJ2ji0B2W0bK4SfvTRv2o6W1jn6ZHiZjYrbtuoB3q0uGCBvFKY7qEMffVJb4gaPm1yZJWNgnwdMpLUy+cSSM5jcCZ2YGy6XUcGa9s+KLS9lFmq7f2OmmvsmiAm3Prau30DvCVrZN9F+b1YSvuLnmE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734018510; c=relaxed/simple; bh=TMFV4DzKyPPAfoOQ6tLwtGLtOGvpKCjN8AV48PlDsoY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=JdXSPwE+Rst+byWMrydUq1pd1vtWZfcoqBVKJduG9xbwkCCDKwVOw0RGBe2+pTNH5rRZwHJXqODz2vHsLOkeKkTWFJ2jzq5dDZrs87XBT0Xd5J1JeNWVLk50rqR4fxKO96DX0WBUwfB1OFGQQWaqbUyY05RdkwDHyah6TnBQ+q0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk; spf=pass smtp.mailfrom=kernel.dk; dkim=pass (2048-bit key) header.d=kernel-dk.20230601.gappssmtp.com header.i=@kernel-dk.20230601.gappssmtp.com header.b=GYekcX5M; arc=none smtp.client-ip=209.85.166.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kernel.dk Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel-dk.20230601.gappssmtp.com header.i=@kernel-dk.20230601.gappssmtp.com header.b="GYekcX5M" Received: by mail-il1-f177.google.com with SMTP id e9e14a558f8ab-3a8180205f3so7351035ab.0 for ; Thu, 12 Dec 2024 07:48:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20230601.gappssmtp.com; s=20230601; t=1734018507; x=1734623307; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=PvBx/w2DhSklV4ojnPJsBMakpCIKbBPJ0+ZbaVI4zHA=; b=GYekcX5MlMuaMNE3LLOO4GQGxJZRFf+TcETm5lJ4cgJ1VNKm5Rs+WEwKI9ProMZjy9 cy1o5Cm6AOQo29DKT7BrU/7ayQlJuk5TPmNLoWWq9ekxn2s8Nu8HE3+t2WFVLk/O8MgE 9ez7VN02ATqrCwMHdwUA1rWXeIluVJeBd6ChFoqYbWBvwWh0vEP06z8KspKvD8Dszea1 pmtBaKerDl+gahaonybh1cw1zcjHywPaSV+v8FynkbLqV1FcH7a8YG6QaL3NkOZYvxkw wP0FBl5FC6dHpNdSbJlE8Eb8Aih5ARwNXiqxgEm+P521b3mOBx/sZGOsVLpj3f8CpdjQ qhwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734018507; x=1734623307; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=PvBx/w2DhSklV4ojnPJsBMakpCIKbBPJ0+ZbaVI4zHA=; b=EDqB4ZzdWk/VlOCPBURVW8VdX0JgtznPsnpsUyfQhNvFDgOSIpsHfHvBBIJokF0jA2 oz2ZmRcjctwbdkevUdgjIDqMXG7y1zMt4ifCVtJx8LXp50YI3htPu2ge0zeNaVWG1qye dSM8e1eFgX42TRpVv1C5xmW32T73cD2aQwBx2KcKqTVet+K5tXd//Z9rRpcLhBpBlbXD gdtks3Pi2cmWYiKS9Yp+5obgoY2DUSRuIJLlfUslV8OkWyyHrM7+guEcw8+e86zYYWSI hrLNUuv9owPL4pY53PwduPpZWLA/NXhqLX8UTVc6ax7c/UvWoHfrYuWrscc3GWAEOnu8 Ooeg== X-Forwarded-Encrypted: i=1; AJvYcCWnP3+4c/0U9oZrv8DDh3QB2HSBdiJc95LR0xEhE9Auiz1pedsFRsSSE9Q4AKwrV4Iqb83aw3Cg2TMxuT8=@vger.kernel.org X-Gm-Message-State: AOJu0YzFAPg2w5/R9V9F1yf4vQ4L/+MPlGEUDUW/3pjczoCq2b3OCQd4 pQPbzo4bSRJBLr+ouyjD9LM23PC81xsZvEYSUvNZwim2Qq16DzZTtV/2XMxnrTU= X-Gm-Gg: ASbGncsCtSo7Z7iTn/TGu59XVEHizWoZJcROBesXgJAISKaIh2E7lIpQCNSHd2gX50G FqHkR6SWhB1T1D3h1SF1+hOnjUe8atrBiwJyZIcHrQx0U/gn4QKc19gSau2koccgDCvk04hBS18 CuXNnc8PqXVKgfUhZ6YVlwCkJjR5yf3/oRe6ja3Mb9fL9FnPfe1nOCGj75K/XgJsieQ4WiaUI9S jSxBWq1QfdPCKjp7CvNXNGt4/qtsglYNx9k36tWH2wwQqA3L7gW X-Google-Smtp-Source: AGHT+IHAQGTQIEr3hJAJZPVw8dHIc1jCD+zOwFKHo7t0IBPz9msmAmKUzqJ4fHZUe037ZAO0zcn+QA== X-Received: by 2002:a05:6e02:214d:b0:3a7:cce2:d349 with SMTP id e9e14a558f8ab-3ae70e32b20mr5044935ab.8.1734018507220; Thu, 12 Dec 2024 07:48:27 -0800 (PST) Received: from [192.168.1.116] ([96.43.243.2]) by smtp.gmail.com with ESMTPSA id e9e14a558f8ab-3a808e1e0d6sm44607975ab.63.2024.12.12.07.48.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 12 Dec 2024 07:48:26 -0800 (PST) Message-ID: <04e11417-cf68-4014-a7f7-e51392352e9d@kernel.dk> Date: Thu, 12 Dec 2024 08:48:25 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCHSET v6 0/12] Uncached buffered IO To: Christoph Hellwig , "Darrick J. Wong" Cc: "Christoph Lameter (Ampere)" , linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, hannes@cmpxchg.org, clm@meta.com, linux-kernel@vger.kernel.org, willy@infradead.org, kirill@shutemov.name, bfoster@redhat.com References: <20241203153232.92224-2-axboe@kernel.dk> <668f271f-dc44-49e1-b8dc-08e65e1fec23@kernel.dk> <36599cce-42ba-ddfb-656f-162548fdb300@gentwo.org> <20241204055241.GA7820@frogsfrogsfrogs> Content-Language: en-US From: Jens Axboe In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 12/10/24 4:11 AM, Christoph Hellwig wrote: > On Tue, Dec 03, 2024 at 09:52:41PM -0800, Darrick J. Wong wrote: >> RWF_DONTCACHE, to match {I,DCACHE}_DONTCACHE ? ;) >> >> They sound pretty similar ("load this so I can do something with it, >> evict it immediately if possible") though I wouldn't rely on people >> outside the kernel being familiar with the existing dontcaches. > > FYI, another word for dontcache. uncached just has too many conotations > in the kernel context. Sure, we can go with DONTCACHE instead. Only thing I don't like about that is that you can use uncached as a verb and adjective, eg talking about uncached IO. Talking about dontcached IO sounds pretty weird. As I've said previously in this and other threads, I don't feel too strongly about the in-kernel naming, I care more about the exposed name. And uncached does seem to be the most descriptive and most easily understandable by users. -- Jens Axboe