How to prevent other processes from being scheduled
mulyadi.santosa at gmail.com
Wed Nov 6 00:16:49 EST 2013
On Tue, Nov 5, 2013 at 10:51 PM, J.Hwan Kim <frog1120 at gmail.com> wrote:
> Hi, everyone
> How can I prevent other processes than my specific application from
> being scheduled?
> I thougt that when my program being started, it would invokes the kernel
> to do "local_irq_disable()"
> and when it ended, it would call "local_irq_enable()" in order that
> scheduler not working
> when my specific program runs.
> But i seems do not work as I likes.
> Please give me some hints what i should do...
> Thanks in advance.
> J.Hwan Kim
Sounds like you need to do (near) real time scheduling by using
SCHED_FIFO scheduling class.
Freelance Linux trainer and consultant
More information about the Kernelnewbies