|
T_FPU without effect: msg#00107linux.real-time.xenomai.devel
Hi, after receiving SIGXCPU for unexpected context switches in a larger application, I found out that the T_FPU bit does not seem to be recognised on x86 during native task creation. Here is a simple test case, watch out for /proc/xenomai/faults after program start and 5 s later: #include <native/task.h> #include <sys/mman.h> float x; void task_func(void *p) { rt_task_sleep(5000000000LL); x = 3.14 + (int)p; } main() { RT_TASK task; mlockall(MCL_CURRENT|MCL_FUTURE); rt_task_spawn(&task, NULL, 0, 40, T_FPU | T_JOINABLE, task_func, 0); rt_task_join(&task); return 0; } Any immediate ideas? Jan
Xenomai-core mailing list Xenomai-core@xxxxxxx https://mail.gna.org/listinfo/xenomai-core |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [PATCH] detect problematic kernel configs: 00107, Jan Kiszka |
|---|---|
| Next by Date: | Re: T_FPU without effect: 00107, Gilles Chanteperdrix |
| Previous by Thread: | [PATCH] detect problematic kernel configsi: 00107, Jan Kiszka |
| Next by Thread: | Re: T_FPU without effect: 00107, Gilles Chanteperdrix |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |