linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [LSF/MM/BPF TOPIC] Scalable Pagefaults
@ 2023-02-17 20:13 Matthew Wilcox
  2023-02-22 18:36 ` Liam R. Howlett
  0 siblings, 1 reply; 2+ messages in thread
From: Matthew Wilcox @ 2023-02-17 20:13 UTC (permalink / raw)
  To: lsf-pc; +Cc: linux-fsdevel, linux-mm

We should continue the conversation from last year on the topic of page
fault scalability.  I presume that by the time of the conference Suren's
current patches for per-VMA locks [1] [2] will be at least in Andrew's
tree, even if not quite upstream yet.  We will then be in a good place
to discuss enhancements:

 - File-backed VMAs
 - UFFD
 - Swap
 - Improve performance for low-thread-count apps
 - Full RCU handling of (some) page faults

Suren Baghdasaryan, Liam Howlett, Michel Lespinasse, Laurent Dufour,
Peter Xu would all be good participants.

[1] https://lore.kernel.org/linux-mm/20230216051750.3125598-1-surenb@google.com/
[2] https://lwn.net/Articles/906852/


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [LSF/MM/BPF TOPIC] Scalable Pagefaults
  2023-02-17 20:13 [LSF/MM/BPF TOPIC] Scalable Pagefaults Matthew Wilcox
@ 2023-02-22 18:36 ` Liam R. Howlett
  0 siblings, 0 replies; 2+ messages in thread
From: Liam R. Howlett @ 2023-02-22 18:36 UTC (permalink / raw)
  To: Matthew Wilcox; +Cc: lsf-pc, linux-fsdevel, linux-mm


* Matthew Wilcox <willy@infradead.org> [230217 15:14]:
> We should continue the conversation from last year on the topic of page
> fault scalability.  I presume that by the time of the conference Suren's
> current patches for per-VMA locks [1] [2] will be at least in Andrew's
> tree, even if not quite upstream yet.  We will then be in a good place
> to discuss enhancements:
> 
>  - File-backed VMAs
>  - UFFD
>  - Swap
>  - Improve performance for low-thread-count apps
>  - Full RCU handling of (some) page faults

A few other enhancements that we should discuss:

 - Adding protection of detached VMAs to mmap_lock page fault handler
 - Using detached VMAs to stop stack expansion and allow mmap_write_lock
   to downgrade regardless of surrounding VMAs.
 - Fast mmap_write_downgrade by using detached VMAs in other code paths.

> 
> Suren Baghdasaryan, Liam Howlett, Michel Lespinasse, Laurent Dufour,
> Peter Xu would all be good participants.
> 
> [1] https://lore.kernel.org/linux-mm/20230216051750.3125598-1-surenb@google.com/
> [2] https://lwn.net/Articles/906852/
> 
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-02-22 18:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-17 20:13 [LSF/MM/BPF TOPIC] Scalable Pagefaults Matthew Wilcox
2023-02-22 18:36 ` Liam R. Howlett

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).