Paul Goyette wrote:
2. The kern/ras[123] tests seem to rely on external events to cause the process to be preempted. (The tests simply sit in a tight loop until a timeout occurs, or a predetermined number of "restarts" has occurred.) Is there some clean way to force preemption, even on SMP systems with lots of cores? (On my 24-core machine, the tests succeed less than half the time under normal system load.)
Maybe you can use schedctl(8) and launch two concurrent processes, both with affinity to CPU 0?
r.