2004-03-15 03:24:29

by Nishant Nagalia

[permalink] [raw]
Subject: Interrupts

Hello,

I am trying to modify linux scheduler for my project.

I want to schedule interrupts whenever I want,means I want to queue
an interrupt when it comes and execute it when my scheduler will want it
to. I should be able to queue it before it executes any function/ISR
inside kernel and then schedule it when required.

I am not able to find proper documentation of how exactly I can do this. I
would really appreciate if anyone can help me in this regards.

Nishant.


2004-03-15 05:51:04

by Zwane Mwaikambo

[permalink] [raw]
Subject: Re: Interrupts

On Sun, 14 Mar 2004, Nishant Nagalia wrote:

> Hello,
>
> I am trying to modify linux scheduler for my project.
>
> I want to schedule interrupts whenever I want,means I want to queue
> an interrupt when it comes and execute it when my scheduler will want it
> to. I should be able to queue it before it executes any function/ISR
> inside kernel and then schedule it when required.
>
> I am not able to find proper documentation of how exactly I can do this. I
> would really appreciate if anyone can help me in this regards.

There isn't any documentation stating how to do that because Linux doesn't
use that interrupt handling model. Perhaps you should be looking at the
FreeBSD 5 interrupt thread code instead.