bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RFC: [PATCH] Fix setpriority calling __task_priority() for processes


From: Olaf Buddenhagen
Subject: Re: RFC: [PATCH] Fix setpriority calling __task_priority() for processes instead of threads.
Date: Mon, 19 Sep 2016 18:15:21 +0200
User-agent: Mutt/1.6.0 (2016-04-01)

Hi,

On Wed, Aug 31, 2016 at 02:16:12PM +0200, Samuel Thibault wrote:

> Linux' notion of nice values is already not
> really POSIX for root :) (POSIX doesn't define negative nice values).

It's been a while; but I'm almost confident that according to my last
reading of the POSIX man pages, the Linux implementation is actually
perfectly correct -- the POSIX description is just very confusing...

Note that this is a very old known issue, and there was previous
discussion. (Which I'm too lazy to try digging up...) My conclusion was
that trying to implement it correctly on top of the existing Mach
interfaces would be tricky, for no real benefit -- we should just change
the kernel interface instead to directly provide the semantics needed
for POSIX behaviour.

-antrik-



reply via email to

[Prev in Thread] Current Thread [Next in Thread]