How to prevent other processes from being scheduled
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
On Tue, Nov 5, 2013 at 10:51 PM, J.Hwan Kim <frog1120@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. CMIIW .... -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com
participants (3)
-
J.Hwan Kim -
Mulyadi Santosa -
Valdis.Kletnieks@vt.edu