tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: A couple of questions

On Fri, Nov 02, 2012 at 06:45:43PM -0700, Paul Goyette wrote:
> 1. The kern/mqueue test currently contains a hard-coded pathname for the 
> name of the message_queue.

But this does not need to be an absolute path, so just use ./mqueue or
whatever, since we run the tests inside a temporary director already,
everything should be fine.

> 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?

I don't think so, and I have no idea how such a test could be done properly.


Home | Main Index | Thread Index | Old Index