🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.freebsd.bugs
Article #146

[Bug 299617] linuxulator: implement .sched_nice filling in linux_sched_getattr

#146
From: bugzilla-noreply
Date: Mon, 19 Oct 2026 20:23
37 lines
3137 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=299617

            Bug ID: 299617
           Summary: linuxulator: implement .sched_nice filling in
                    linux_sched_getattr
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: ngie@FreeBSD.org

Most of linux_sched_getattr was added in https://reviews.freebsd.org/D60214 as
part of bug 297468, but there is some missing support: in particular,
`.sched_nice` isn't being set in scenarios where it should be.

From the review, @olce said:

> Linux (checked on a recent checkout) sets both sched_nice and sched_runtime if the policy is not SCHED_DEADLINE nor SCHED_RR nor SCHED_FIFO.

We support SCHED_NORMAL/SCHED_OTHER, so at the very least the `.sched_nice`
property should be set in that case.

-- 
You are receiving this mail because:
You are the assignee for the bug.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID: <bug-299617-227@https.bugs.freebsd.org/bugzilla/>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: bugzilla-noreply@freebsd.org
Newsgroups: muc.lists.freebsd.bugs
Subject: [Bug 299617] linuxulator: implement .sched_nice filling in
 linux_sched_getattr
Date: Mon, 19 Oct 2026 20:23:02 +0000
Organization: Newsgate at muc.de e.V.
Sender: owner-freebsd-bugs@FreeBSD.org
Approved: news-admin@muc.de
Distribution: world
Message-ID: <bug-299617-227@https.bugs.freebsd.org/bugzilla/>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="58168"; mail-complaints-to="news-admin@muc.de"
X-Original-To: bugs@mlmmj.nyi.freebsd.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1792441383;
	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=Uwol5ZwypKrBrXIYFduAaOnsK4kL8CIK6SWWki6bjCQ=;
	b=g3zdoTw/sKsePwhnMuX6ztjJx7KOUVH5COIMOORYYaQQ/RO1sGUIsH8pXif+COlImYznsb
	dGVr5KTnMKUGT+zG3i3bgwotnWX2p9IredAwap2H/8OgZgGrWu6RNyNC9ZL4SAxjWxpusx
	Y9pureUNcFtI6qd11zKpwCJ89E1Ex4D8UUuSqYxuYHZNKmjyrnJhpOJygJ6squYHi9Pqtl
	3d6ub3sbV1zApBbV5uJGNXuea+s3T8MtSOlDSDfKrw+StWYrGYtwIt0qwGeK4qAePQv6ZN
	CUawoYnNPEpcRNJT8DNYhRvP1PI0otMmoH75XiMIH9FVccuuyBwM59aBzaDKzQ==
X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f
Auto-Submitted: auto-generated
Precedence: list
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes