Re: IBM HDAPS things are looking up (was: Re: [Hdaps-devel] Re: [ltp] IBM HDAPS Someone interested? (Accelerometer))

Jens Axboe
2005-07-04T14:46:28Z

(don't top post!)

On Mon, Jul 04 2005, Shawn Starr wrote:
>
> We could put it in userspace, but if the system is
> swapping like mad, can we still get a critical
> response if this remains in userspace fully?

Just make sure the program isn't swapped out.

> Someone mentioned we should use a kernel thread(s) to
> handle stopping all I/O so we can safely park heads.

That's madness, we can't add a kernel thread for every single little
silly thing. You don't need to stop any io, you just want to make sure
that your park request gets issued right after the current io has
finished.

--
Jens Axboe