Re: interrupt latency

Chris Wedgwood (chris@cybernet.co.nz)
Wed, 12 Aug 1998 11:23:41 +1200


On Tue, Aug 11, 1998 at 09:05:06AM -0400, Richard B. Johnson wrote:

> That's not how I would do it. I would execute an ioctl to make your
> driver do the work. The driver is already installed with its
> interrupt attached. The ioctl would return the results....

That might be a requirement anyhow. I just tried running:

main()
{
for(;;){
__asm__("int $15");
}
}

and it segfaults. I was hoping to see the interrupt counter for int
15 increase, but alas, it does not, and my isr never gets called.

I assume the only way I can induce the interrupt is from ring 0?

-cw

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html