Originally posted by arQon
View Post
Announcement
Collapse
No announcement yet.
Intel Posts Big Linux Patch Set For "Classes of Tasks" On Hybrid CPUs, Thread Director
Collapse
X
-
Originally posted by NobodyXu View PostLinux actually has RLIMIT_NICE which could support this, but most distro just set it to 0...
Developers and users have a right to expect their OS to behave in a sane manner. Being unable to reset the priority of a process to the same priority it was started with is unquestionably *not* sane, and it prohibits several key use cases from being possible at all, let alone readily viable. The suggestion that every distro should have to work around it just to arrive at a correctly-functional system is, by definition, an indicator that the behavior is fundamentally broken.
Which it is, though like I say it was for "good" reasons at the time, since the alternative was an exploit. What we ideally need though is for the bug to be fixed properly, so that the exploit stays gone but the rest of the behavior becomes correct. The "cost" of that though is an extra int in the process struct, so instead we got this terrible hack.
Comment
-
Originally posted by arQon View Post
Thanks, but I'm already painfully aware of this, because I have use cases (especially on Pi-tier HW) where I need renice to, you know, *actually work properly*.
Developers and users have a right to expect their OS to behave in a sane manner. Being unable to reset the priority of a process to the same priority it was started with is unquestionably *not* sane, and it prohibits several key use cases from being possible at all, let alone readily viable. The suggestion that every distro should have to work around it just to arrive at a correctly-functional system is, by definition, an indicator that the behavior is fundamentally broken.
Which it is, though like I say it was for "good" reasons at the time, since the alternative was an exploit. What we ideally need though is for the bug to be fixed properly, so that the exploit stays gone but the rest of the behavior becomes correct. The "cost" of that though is an extra int in the process struct, so instead we got this terrible hack.
Comment
-
Originally posted by NobodyXu View PostYes I think having a hard upper limit for nice (default to 0) is probably a good fix, but it seems nobody is motivated to submit a patch for it.
Comment
-
Originally posted by arQon View Post
If there's *excessive* pain, find a decent pain specialist and investigate a CRPS diagnosis immediately. The success rate for treatment drops sharply after ~3 months, and continues to plummet after that. Since it's literally the worst pain known to man you very much do not want to end up there, and early intervention is crucial if you develop it.
If you really know the stuff, please email me at aros at gmx dot com. I have MRI scans.
I happen to live in Russia, a country with one of the worst health care systems in the world unless you're very rich in which case you can ... go outside and seek help elsewhere, e.g. in Germany, Israel, USA or even India.Last edited by birdie; 02 October 2022, 05:26 AM.
Comment
Comment