x86: xsaveopt kernel enabling patches
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | x86: track the offset, size of features state in the xsave layoutarch/ | +29 | 0 replies | |
| 2/3 | x86: sync xsave memory layout with its header for user handlingarch/ arch/ arch/ +1 more | +123 | 0 replies | |
| 3/3 | x86: use xsaveopt in context-switch path when supportedarch/ arch/ arch/ +2 more | +29 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [patch 0/3] x86: xsaveopt kernel enabling patches
AVX Programming Reference (June, 2010 version) located at
http://software.intel.com/en-us/avx/ refers to the optimized extended state save instruction "xsaveopt".
xsaveopt is similar to xsave and incorporates optimizations specifically targeted for speeding up context switch save, like:
a. if a state is in an INIT state, the instruction may clear the corresponding
bit in the xheader.bv with out writing the actual state in to the memory.
b. if the state hasn't been modified since the last xrstor, the instruction
may not write out the state to the save area.
Following patches enable the use of xsaveopt for context switch save/restore of the extended state.
Signed-off-by Suresh Siddha <[email protected]>