Re: TDF_NEEDRESCHED when extending pcb on x86

2005-03-01 Thread Denis Ustimenko
John Baldwin wrote: On Monday 28 February 2005 07:06 pm, Peter Wemm wrote: On Monday 28 February 2005 02:57 pm, Denis Ustimenko wrote: The problem occurs when we extend pcb and set TDF_NEEDRESCHED bit hoping that thread will be rescheduled and new TSS will be loaded. But sched_switch function

TDF_NEEDRESCHED when extending pcb on x86

2005-02-28 Thread Denis Ustimenko
Hi, there! I've tried s3switch utility from ports on 5.2.1 and found that i386_set_ioperm syscall doesn't work properly. The next code illustrates the problem. It will get SIGBUS with very high probability. #include #include #include int main() { if ( i386_set_ioperm( 0x80, 1, 1)) {