|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH][RFC] FPU LWP 3/5: define new FPU interface functions
Current Xen implementation only support lazy FPU reload via CR0.TS. But
new FPU state isn't always tracked by CR0.TS bit. One example is AMD's
lightweight profiling. With this patch, Xen calls fpu_save() on vcpu
which is being scheduled out and fpu_restore() on vcpu which is being
scheduled in. The nonlazy FPU state is saved and restored in these two
functions.
This patch also defines fpu_reload() to handle lazy FPU state when #NM
is triggered.
Signed-off-by: Wei Huang <wei.huang2@xxxxxxx>
lwp3.txt
Description: lwp3.txt
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH][RFC] FPU LWP 3/5: define new FPU interface functions: fpu_save, fpu_restore, fpu_reload,
Wei Huang <=
|
|
|
|
|