From nobody Fri Aug 16 03:28:55 2024 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WlSBw3XSJz5HngK for ; Fri, 16 Aug 2024 03:28:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WlSBw1qb7z4gsX for ; Fri, 16 Aug 2024 03:28:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723778936; a=rsa-sha256; cv=none; b=uNCZxViUsQa3AcJzTvvEyP+8Uu+cV41UoPHzaeczfkhsRnwItUoO1p1EYE4u41OxHtntq2 yj6ZK3RkSxcLSBaKeAUPzee5mAmNpGTHaPEMwIpWrlQ8AeHda3n/B1RawfouUStVuwcRj8 nCu3j6k2Fgomn3n1tdE/RGRCdDL8Ue+Rf9hGCblA68E1y7XjzW5iBBalnx8gxi81uYCj/S guj/j5Itvb5FSpLjuQymk96OssWdKFKej6MGW+Fp0hKl8tX6vLXhh0hqe26Lq3hL3o2r1P tEFWBwsS0wF44KjWTxxDGJ/853A7DLKsWdH8mjuDEhas+hs8hzu2wkgwcC9UIA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723778936; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=yO9Ye2ox17eqFF5FRB0YEYD2ekUFHl3jIO3sYlMNGJg=; b=ZascVSs87ZBf8fFGQg6qJJ51Ix2P+cq/+RrB42LMFn/rstjyN3KL145zMnfoQRYi8wqV8M POqomGqDBn2wcdZhmqiWHweJtPDbJoUHwKSLcmDNbd+59RsfOQ1j7hLGao6VtZn/lI77zS mTaK6bmmkBZ4CmndkLNR+zpN5lCjsdPZIiqItoq57SvS+pU1KI92ARq9X2YBCRIrSDk0Pc 6LNMxkYNcTsoqXS3KyPRCOuS4or4s2WQAGC5+N2Fy1AE98k5j9+IH95npKFSsTmyGUf+oe H/a61t4JK26FxxUt8/kxd5x43TJDu8LJzuOZsN9wZbtTcGu/TDmU5nxHQx24Rg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WlSBw1KBkzqnl for ; Fri, 16 Aug 2024 03:28:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 47G3Suph078700 for ; Fri, 16 Aug 2024 03:28:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 47G3SuvD078699 for ports-bugs@FreeBSD.org; Fri, 16 Aug 2024 03:28:56 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 280843] net/boinc-client: fix idprio to provide the least possible priority Date: Fri, 16 Aug 2024 03:28:55 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: alster@vinterdalen.se X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ler@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 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.=