D7757: Use real-time scheduling policy for kwin_wayland
Martin Flöser
noreply at phabricator.kde.org
Sun Sep 10 13:47:08 UTC 2017
graesslin added a comment.
In https://phabricator.kde.org/D7757#144415, @tcberner wrote:
> ^
> /home/Tobias/git/kwin/main_wayland.cpp:452:38: error: use of undeclared identifier 'SCHED_RESET_ON_FORK'
> sched_setscheduler(0, SCHED_RR | SCHED_RESET_ON_FORK, &sp);
> ^
>
>
> Yes, `SCHED_RESET_ON_FORK` is linux only:
> https://www.freebsd.org/cgi/man.cgi?query=sched_setscheduler
do you know whether there is an alternative for BSD? If not, I'll have to disable that feature on BSDs to not leak the real time scheduler to all child processes.
REPOSITORY
R108 KWin
REVISION DETAIL
https://phabricator.kde.org/D7757
To: graesslin, #kwin, #plasma
Cc: tcberner, plasma-devel, kwin, bwowk, ZrenBot, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170910/f58520f7/attachment.html>
More information about the Plasma-devel
mailing list