See SDM rev. 68 Vol 3 4.6.2 Protection Keys and the description of the RDPKRU and WRPKRU instructions.
Tested by: pho
Differential D18893
Add support for Intel userspace protection keys feature on Skylake Xeons. kib on Jan 18 2019, 6:09 PM. Authored by Tags None Referenced Files
Details
See SDM rev. 68 Vol 3 4.6.2 Protection Keys and the description of the RDPKRU and WRPKRU instructions. Tested by: pho
Diff Detail
Event TimelineThere are a very large number of changes, so older changes are hidden. Show Older Changes Comment Actions The patch is currently being tested by Peter Holm, more detailed description will come after the testing finishes. Also libc functions warrant manpages.
Comment Actions Handle all Mark' notes except M_NOWAIT. Comment Actions Do you think it would be useful to define a PKRU_SET flag that causes the operation to fail when the request range overlaps with an existing key range?
Comment Actions Add AMD64_PKRU_EXCL.
Comment Actions Add comment about sync/w fork. Add formally required process_deferred() call (there is no deferred entries which curthread could create).
Comment Actions Rename rangeset_get() to rangeset_lookup(). Comment Actions I plan to commit this review as is after Peter re-tests it. I do not want the grammar fixes to block the code. I will work on the man page independently of the code commit. |