Find the answer to your Linux question:
Results 1 to 3 of 3
Hi,I am a newer here. I wonder if there any methord that i can add some code to the linux kernel to change the priority of a process in the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2005
    Posts
    2

    Problem about process priority


    Hi,I am a newer here.
    I wonder if there any methord that i can add some code to the linux kernel to change the priority of a process in the wait queue,so that the process can be scheduled first?
    Thanks!

  2. #2
    Linux Guru
    Join Date
    May 2004
    Location
    forums.gentoo.org
    Posts
    1,817
    Have you looked at the "nice" command?
    /IMHO
    //got nothin'
    ///this use to look better

  3. #3
    Just Joined!
    Join Date
    May 2005
    Posts
    2
    I find "sys_nice(int increment)" in "sched.c",
    I can specify the priority,but i can't specify one process which i want to change it's priority by using "sys_nice".

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •