Re: [Xenomai] [PATCH] x86/ipipe: get FPU backup area allocated for all threads

2013-10-04 Thread Gilles Chanteperdrix
Jan Kiszka wrote: On 2013-09-30 21:21, Gilles Chanteperdrix wrote: In order to be able to handle FPU faults in the Xenomai domain without switching to the root domain, the FPU backup area must be systematically allocated for all Linux tasks. Currently, the backup area is systematically

Re: [Xenomai] [PATCH] x86/ipipe: get FPU backup area allocated for all threads

2013-10-04 Thread Gilles Chanteperdrix
Jan Kiszka wrote: On 2013-10-04 10:50, Gilles Chanteperdrix wrote: Jan Kiszka wrote: On 2013-09-30 21:21, Gilles Chanteperdrix wrote: In order to be able to handle FPU faults in the Xenomai domain without switching to the root domain, the FPU backup area must be systematically allocated

[Xenomai] [PATCH] x86/ipipe: get FPU backup area allocated for all threads

2013-10-04 Thread Gilles Chanteperdrix
In order to be able to handle FPU faults in the Xenomai domain without switching to the root domain, an FPU context must be systematically allocated for all Linux tasks. Currently, the FPU context is systematically allocated in arch_dup_task_struct(), but gets freed upon exec by flush_thread().

[Xenomai] [PATCH] x86/ipipe: get FPU backup area allocated for all threads

2013-09-30 Thread Gilles Chanteperdrix
In order to be able to handle FPU faults in the Xenomai domain without switching to the root domain, the FPU backup area must be systematically allocated for all Linux tasks. Currently, the backup area is systematically allocated in arch_dup_task_struct(), but gets freed upon exec by