linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* x86/pkeys in early kernel version
@ 2023-01-25 19:02 Jeff Xu
  2023-01-25 19:12 ` Dave Hansen
  0 siblings, 1 reply; 13+ messages in thread
From: Jeff Xu @ 2023-01-25 19:02 UTC (permalink / raw)
  To: linux-mm, Stephen Röttger, dave.hansen, tglx,
	Jorge Lucangeli Obes, Kees Cook

Hello,

I'm investigating if there is a need to backport x86/pkeys fix/feature
into earlier kernel
versions, Chrome is starting to use PKEY in x86, and I hope experts
here can give
advice on this.

For background, ChromeOS regularly syncs with upstream kernel
versions, and has production
that uses 4.4/4.14/4.19/5.4/5.10/5.15.

We plan to use PKEY as Stephen Röttger proposed in
https://docs.google.com/document/d/1O2jwK4dxI3nRcOJuPYkonhTkNQfbmwdvxQMyXgeaRHo/edit?usp=sharing
In short, Chrome will use PKEY to protect a thread and have exclusive
access to some pages.
If there are fixes/features to make this happen, we can backport those
from the ChromeOS branch.

Thanks!
Best regards,
Jeff


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

end of thread, other threads:[~2023-03-14  0:25 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-25 19:02 x86/pkeys in early kernel version Jeff Xu
2023-01-25 19:12 ` Dave Hansen
2023-01-26  1:43   ` Jeff Xu
2023-01-27  5:36     ` Jeff Xu
2023-01-27  5:55       ` Kyle Huey
2023-01-27 19:08         ` Jeff Xu
2023-01-27 19:22           ` Kyle Huey
2023-01-27 19:30             ` Kyle Huey
2023-01-27 21:12               ` Jeff Xu
2023-03-13 23:24                 ` Jeff Xu
2023-03-14  0:24                   ` Dave Hansen
2023-01-27 15:22     ` Dave Hansen
2023-01-27 17:58       ` Jeff Xu

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