2.6.15-rt3 + Open Posix Test Suite

From: Daniel Walker
Date: Tue Jan 10 2006 - 18:02:06 EST



It's worth noting that a few tests in the current Open Posix Test Suite
hang RT systems.

Specifically this test (hope this url comes through),

http://cvs.sourceforge.net/viewcvs.py/*checkout*/posixtest/posixtestsuite/conformance/interfaces/sched_setparam/10-1.c?rev=1.2

sched_setparam test 10-1.c and I think 9-1.c .

The 10-1 test spawns some children at SCHED_FIFO priority 99 , then runs
the following,

void child_process(){
alarm(2);

while(1) {
(*shmptr)++;
sched_yield();
}
}

I'm sure this is what's hanging the system, the yield() is one issue.
Another is why the alarm() is never delivered .

Daniel

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/