Date: Fri, 16 Aug 2024 03:28:55 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 280843] net/boinc-client: fix idprio to provide the least possible priority Message-ID: <bug-280843-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280843 Bug ID: 280843 Summary: net/boinc-client: fix idprio to provide the least possible priority Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ler@FreeBSD.org Reporter: alster@vinterdalen.se CC: ler@FreeBSD.org Flags: maintainer-feedback?(ler@FreeBSD.org) Assignee: ler@FreeBSD.org Attachment #252797 maintainer-approval?(ler@FreeBSD.org) Flags: CC: ler@FreeBSD.org Created attachment 252797 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D252797&action= =3Dedit [PATCH] net/boinc-client: fix idprio to provide the least possible priority When started with `idprio 31` boinc-client runs with actual PRI=3D88 NICE= =3Di-86. When started with `idprio 30` boinc-client runs with actual PRI=3D186 NICE= =3Di30. man idprio(1) says: > Priority is an integer between 0 and RTP_PRIO_MAX (usually 31). /usr/src/sys/sys/rtprio.h:61 have default value > #define RTP_PRIO_MAX 31 /* Lowest priority */ Seems like 31 should provide the lowest PRI, but it doesn't! Something really strange: I've found how to fix it, but can't understand, w= hy does it work this way=E2=80=A6 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-280843-7788>