diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2013-03-06 22:04:01 +0100 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2013-03-06 22:04:01 +0100 |
commit | f8ed211a4da23edf469089254b3dace9479bf11f (patch) | |
tree | c98b9831dd6f48ae96017a9b9a6e5d59f4f1c7f5 /open_issues/nice_vs_mach_thread_priorities.mdwn | |
parent | 03fe52eebbcce37f30d67259f748cc7efd22ef72 (diff) | |
parent | 12c341b917921eb631026ec44a284c4d884e5de6 (diff) | |
download | web-f8ed211a4da23edf469089254b3dace9479bf11f.tar.gz web-f8ed211a4da23edf469089254b3dace9479bf11f.tar.bz2 web-f8ed211a4da23edf469089254b3dace9479bf11f.zip |
Merge remote-tracking branch 'fp/master'
Conflicts:
open_issues/gcc/pie.mdwn
open_issues/glibc.mdwn
Diffstat (limited to 'open_issues/nice_vs_mach_thread_priorities.mdwn')
-rw-r--r-- | open_issues/nice_vs_mach_thread_priorities.mdwn | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/open_issues/nice_vs_mach_thread_priorities.mdwn b/open_issues/nice_vs_mach_thread_priorities.mdwn index 76788a53..e27d3018 100644 --- a/open_issues/nice_vs_mach_thread_priorities.mdwn +++ b/open_issues/nice_vs_mach_thread_priorities.mdwn @@ -373,3 +373,17 @@ here. <pochu> braunr: can't remember right now, either that or to fix a ftbfs in debian <youpi> iirc it's coreutils which wants proper nice levels + + +# IRC, OFTC, #debian-hurd, 2013-03-04 + + <Steap> Is it not possible to set the priority of a process to 1 ? + <Steap> these macros: + <Steap> #define MACH_PRIORITY_TO_NICE(prio) (2 * ((prio) - 12)) + <Steap> #define NICE_TO_MACH_PRIORITY(nice) (12 + ((nice) / 2)) + <Steap> are used in the setpriority() implementation of Hurd + <Steap> so setting a process' priority to 1 is just like setting it to 0 + <youpi> Steap: that has already been discussed to drop the *2 + <youpi> the issue is mach not supporting enough sched levels + <youpi> can be fixed, of course + <youpi> just nobody did yet |