* How to prevent other processes from being scheduled
@ 2013-11-05 15:51 J.Hwan Kim
2013-11-05 19:30 ` Valdis.Kletnieks at vt.edu
2013-11-06 5:16 ` Mulyadi Santosa
0 siblings, 2 replies; 3+ messages in thread
From: J.Hwan Kim @ 2013-11-05 15:51 UTC (permalink / raw)
To: kernelnewbies
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* How to prevent other processes from being scheduled
2013-11-05 15:51 How to prevent other processes from being scheduled J.Hwan Kim
@ 2013-11-05 19:30 ` Valdis.Kletnieks at vt.edu
2013-11-06 5:16 ` Mulyadi Santosa
1 sibling, 0 replies; 3+ messages in thread
From: Valdis.Kletnieks at vt.edu @ 2013-11-05 19:30 UTC (permalink / raw)
To: kernelnewbies
On Wed, 06 Nov 2013 00:51:03 +0900, "J.Hwan Kim" said:
> How can I prevent other processes than my specific application from
> being scheduled?
What problem are you trying to solve by not allowing other processes
to run? There's almost certainly a better approach.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 865 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20131105/2e18844c/attachment.bin
^ permalink raw reply [flat|nested] 3+ messages in thread
* How to prevent other processes from being scheduled
2013-11-05 15:51 How to prevent other processes from being scheduled J.Hwan Kim
2013-11-05 19:30 ` Valdis.Kletnieks at vt.edu
@ 2013-11-06 5:16 ` Mulyadi Santosa
1 sibling, 0 replies; 3+ messages in thread
From: Mulyadi Santosa @ 2013-11-06 5:16 UTC (permalink / raw)
To: kernelnewbies
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-11-06 5:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-05 15:51 How to prevent other processes from being scheduled J.Hwan Kim
2013-11-05 19:30 ` Valdis.Kletnieks at vt.edu
2013-11-06 5:16 ` Mulyadi Santosa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).