mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/3] vdso/datastore: Allow prefaulting by mlockall()
@ 2025-09-01 12:34 Thomas Weißschuh
  2025-09-01 12:34 ` [PATCH v2 1/3] vdso/datastore: Explicitly prevent remote access to timens vvar page Thomas Weißschuh
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Thomas Weißschuh @ 2025-09-01 12:34 UTC (permalink / raw)
  To: Anna-Maria Behnsen, Frederic Weisbecker, Thomas Gleixner,
	Andy Lutomirski, Vincenzo Frascino
  Cc: Nam Cao, linux-kernel, Thomas Weißschuh

Latency-sensitive applications expect not to experience any pagefaults
after calling mlockall(). However mlockall() ignores VM_PFNMAP and VM_IO
mappings, both of which are used by the generic vDSO datastore.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
---
Changes in v2:
- Stop using nth_page() which is being removed
- Link to v1: https://lore.kernel.org/r/20250812-vdso-mlockall-v1-0-2f49ba7cf819@linutronix.de

---
Thomas Weißschuh (3):
      vdso/datastore: Explicitly prevent remote access to timens vvar page
      vdso/datastore: Allow prefaulting by mlockall()
      vdso/datastore: Map zero page for unavailable data

 kernel/time/namespace.c |  7 ++-----
 lib/vdso/datastore.c    | 38 ++++++++++++++++++++++----------------
 2 files changed, 24 insertions(+), 21 deletions(-)
---
base-commit: 8f5ae30d69d7543eee0d70083daf4de8fe15d585
change-id: 20250721-vdso-mlockall-461bb33205b1

Best regards,
-- 
Thomas Weißschuh <thomas.weissschuh@linutronix.de>


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

end of thread, other threads:[~2025-09-04  3:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-01 12:34 [PATCH v2 0/3] vdso/datastore: Allow prefaulting by mlockall() Thomas Weißschuh
2025-09-01 12:34 ` [PATCH v2 1/3] vdso/datastore: Explicitly prevent remote access to timens vvar page Thomas Weißschuh
2025-09-01 12:34 ` [PATCH v2 2/3] vdso/datastore: Allow prefaulting by mlockall() Thomas Weißschuh
2025-09-01 12:34 ` [PATCH v2 3/3] vdso/datastore: Map zero page for unavailable data Thomas Weißschuh
2025-09-04  2:59   ` kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®