Re: How to prevent other processes from being scheduled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 5, 2013 at 10:51 PM, J.Hwan Kim <frog1120@xxxxxxxxx> 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

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux