Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1286126rwd; Thu, 25 May 2023 10:21:02 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7OLC6d4xbuw4S3kRmJ7c4p2bELboFnJXwln9Q1SVXPYyUTkAGr19PXxeILxFD66eRcGtS+ X-Received: by 2002:a05:6a20:428b:b0:10d:d42:f6bc with SMTP id o11-20020a056a20428b00b0010d0d42f6bcmr8844986pzj.41.1685035262295; Thu, 25 May 2023 10:21:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685035262; cv=none; d=google.com; s=arc-20160816; b=eCHDwXiVJ9SnnmRGzXEGMSwQFccae/39mK5StbSGu4pOLt5qhNBJP0FGKNX5Yctcrw qwZboWSfCn/Wb2ZI62CYkgoS7rq+u2fTXKPJpRUns2ouBkPsOriQgsPqu90IiAkreowo TVQ1az9JfyyWynEGjSYDiFJiPvESeFYXKN/5rjhkOjixoee7IMIElv3PzLC8hsZp21mi Uo0SpIs5Hi9XXskR6OxjWFD+Ty0XFNW1g+d6CZPHFsWMo313psrv8rmWZ7YZ2NVaiXG5 eS1jLKQh22hVbQZlIwaAmpKt6lrhs/thuk7Z3nc1PmEqlU+dbCKwUpVfBm7cMBxXk+8w jMPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:content-id:mime-version:subject :cc:to:references:in-reply-to:from:organization:dkim-signature; bh=2kW+rTE3/dBrTBKwDunnX8pfK/lEaBYR555nV9R9qVo=; b=mEXetjHCXJcGZ1igMNQUYOC5X0Ca/XG4Royd17oKISMzVKHZ+i+btW0mTPC2Nwak3t 1f//n4wCCLjWn6XslM37Hu+YVjUerM+uClQabCOQl1bt0+IASjkONgBbgdWl9xFHK2ge T084UkutFxgeVyCF2D8E0mQhjXd2OmuInJcjKh4jORMmTxn5E9QvmkQrB/hMnlWoR7rz WZk8HO6pfZ8Zpt0MD2uj3zsEp5yE5h1Q+XEAjnVUm2PPeObaEOX9pCVIsaxhdpSKZZuE 9cllVbyLMU3jzYUYbdGy6zjcE4B+II0li+J8RuqEwZhKyOnOSSTKsq///TstNMqn4FUR cF/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=MTmxEDSh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bv69-20020a632e48000000b0050fb1a00d3dsi1628239pgb.46.2023.05.25.10.20.47; Thu, 25 May 2023 10:21:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=MTmxEDSh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235831AbjEYRBw (ORCPT + 99 others); Thu, 25 May 2023 13:01:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231990AbjEYRBv (ORCPT ); Thu, 25 May 2023 13:01:51 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 266651A7 for ; Thu, 25 May 2023 10:01:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1685034069; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=2kW+rTE3/dBrTBKwDunnX8pfK/lEaBYR555nV9R9qVo=; b=MTmxEDShwZ5zO/qNp7QiYm9Ol9LTT2Fgh260I4ZMBzGmnEwsJI0djoGJAc7dfv80ICCMJ/ Cys3Q8oM/q41NRuuQOv2+IlQtcxjPdzHeu3/efQ1F3KLW+1mA5HtEGMOeMoXcq9c46HN09 Y62jfn1/vBNfIuSEiuPU8tcM8vkSwOc= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-624--3mXKAo5NJujWbM9vOOlyQ-1; Thu, 25 May 2023 13:01:04 -0400 X-MC-Unique: -3mXKAo5NJujWbM9vOOlyQ-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id C1E26801224; Thu, 25 May 2023 17:01:02 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.39.192.68]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4BE582166B2E; Thu, 25 May 2023 17:01:00 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: References: <20230522205744.2825689-1-dhowells@redhat.com> <3068545.1684872971@warthog.procyon.org.uk> <3215177.1684918030@warthog.procyon.org.uk> To: Linus Torvalds Cc: dhowells@redhat.com, Christoph Hellwig , Jens Axboe , Al Viro , Matthew Wilcox , Jan Kara , Jeff Layton , David Hildenbrand , Jason Gunthorpe , Logan Gunthorpe , Hillf Danton , Christian Brauner , linux-fsdevel@vger.kernel.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: Extending page pinning into fs/direct-io.c MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <88982.1685034059.1@warthog.procyon.org.uk> Date: Thu, 25 May 2023 18:00:59 +0100 Message-ID: <88983.1685034059@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 3.1 on 10.11.54.6 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Linus Torvalds wrote: > We do have cases that try to use the page coloring that we support. What do we gain from it? Presumably since nothing is supposed to write to that page, it can be shared in all the caches. David