linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Peter Xu <peterx@redhat.com>
To: Muhammad Usama Anjum <usama.anjum@collabora.com>
Cc: David Hildenbrand <david@redhat.com>,
	linux-kernel@vger.kernel.org, linux-mm@kvack.org,
	Andrea Arcangeli <aarcange@redhat.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	Mike Rapoport <rppt@linux.vnet.ibm.com>,
	Axel Rasmussen <axelrasmussen@google.com>,
	Nadav Amit <nadav.amit@gmail.com>,
	"kernel@collabora.com" <kernel@collabora.com>
Subject: Re: [PATCH v2] mm/uffd: UFFD_FEATURE_WP_UNPOPULATED
Date: Thu, 2 Mar 2023 17:00:18 -0500	[thread overview]
Message-ID: <ZAEccqZfZtw4XtSm@x1n> (raw)
In-Reply-To: <fad40511-3909-4362-5760-bcb57c94e534@collabora.com>

On Thu, Mar 02, 2023 at 08:14:05PM +0500, Muhammad Usama Anjum wrote:
> I've heard about a use case where a file of size 10s of GBs can be mapped
> to the memory and then accessed off and on. We need to handle this
> correctly and efficiently.

Note again that besides any slowness it'll stop working for generic FSs.

One way is we can consider enabling uffd-wp async for all archs, but I need
to think more about it, and it will not be compatible with any other modes.

-- 
Peter Xu


  reply	other threads:[~2023-03-02 22:01 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-27 23:00 [PATCH v2] mm/uffd: UFFD_FEATURE_WP_UNPOPULATED Peter Xu
2023-02-28  0:36 ` Peter Xu
2023-02-28  7:21   ` Muhammad Usama Anjum
2023-02-28 15:58     ` Peter Xu
2023-02-28 16:24       ` Muhammad Usama Anjum
2023-03-01  7:55         ` Muhammad Usama Anjum
2023-03-01 15:19           ` Peter Xu
2023-03-01 17:13             ` Muhammad Usama Anjum
2023-03-02  9:37               ` David Hildenbrand
2023-03-02 13:57                 ` Peter Xu
2023-03-02 14:01                   ` David Hildenbrand
2023-03-02 15:14                     ` Muhammad Usama Anjum
2023-03-02 22:00                       ` Peter Xu [this message]
2023-03-02 17:19   ` Muhammad Usama Anjum
2023-03-02 17:38     ` David Hildenbrand
2023-03-02 22:21       ` Peter Xu
2023-03-03  6:42         ` Muhammad Usama Anjum
2023-03-03 16:47           ` Peter Xu
2023-03-06  9:03             ` Muhammad Usama Anjum
2023-03-06 16:09               ` Muhammad Usama Anjum

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZAEccqZfZtw4XtSm@x1n \
    --to=peterx@redhat.com \
    --cc=aarcange@redhat.com \
    --cc=akpm@linux-foundation.org \
    --cc=axelrasmussen@google.com \
    --cc=david@redhat.com \
    --cc=kernel@collabora.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=nadav.amit@gmail.com \
    --cc=rppt@linux.vnet.ibm.com \
    --cc=usama.anjum@collabora.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).