Re: [ck] 2.6.16-ck9



And so it does. Annoying. Time to hack kernel to add a new scheduling
policy, SCHED_STAYIDLE, which is like SCHED_IDLE but cannot be unset
except by root.

Can't make it the default, since a program running at SCHED_IDLE in a
machine with 100% CPU usage by some other program will never process
SIGKILL, and thus can only be killed by setting its scheduling policy to
normal...

Try making SCHED_STAYIDLE non-idle enough so that non-catchable signals get
processed in an appropriate time.

Darn obnoxious program, SetiAtHome...

Obviously when they wrote the linux client and added the ability to set the
priority from within the program to nice 19 they also explicitly set the
scheduling policy at the same time. This might make sense on some other OS...
but not linux.

You have the source, you can change the behavior as a temporary workaround.


Jan Engelhardt
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • RE: Unable to logon
    ... the "Deny logon locally" policy is set on your computer. ... you have explicitly set to deny local logon ... rights to Authenticated Users, Domain Users, or Everyone. ... This posting is provided "AS IS" with no warranties, and confers no rights. ...
    (microsoft.public.win2000.active_directory)
  • Re: Password Policies
    ... explicitly set a policy for that OU to your liking? ... > password policy to a certain group using a group policy ...
    (microsoft.public.win2000.security)
  • Re: pthread_mutex_unlock SuS interpretation question
    ... There is a huge difference conceptually between an agent and the policy ... If the bylaw says the board's policy shall determine the answer, ... the specification says "scheduling policy" shall determine ...
    (comp.programming.threads)
  • pthread RR and FIFO priority not working
    ... I am unable to set the policy and priority of any pthread while ... it RR scheduling policy and priority =50. ... int my_policy; ...
    (comp.os.linux.development.apps)
  • [2.6 patch] fix sched_setscheduler semantics
    ... a negative policy argument passed into the ... EINVAL The scheduling policy is not one of the recognized policies, ... * not defined in the sched.h header. ...
    (Linux-Kernel)