NetBSD Problem Report #38750

From martin@duskware.de  Sun May 25 22:34:04 2008
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 1A8EE63BA68
	for <gnats-bugs@gnats.netbsd.org>; Sun, 25 May 2008 22:34:04 +0000 (UTC)
Message-Id: <20080525221032.6584F63BAB2@narn.NetBSD.org>
Date: Sun, 25 May 2008 22:10:32 +0000 (UTC)
From: ad@netbsd.org
Reply-To: ad@netbsd.org
To: netbsd-bugs-owner@NetBSD.org
Subject: SCHED_FIFO behaviour does not match POSIX
X-Send-Pr-Version: www-1.0

>Number:         38750
>Category:       kern
>Synopsis:       SCHED_FIFO behaviour does not match POSIX
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 25 22:35:00 +0000 2008
>Last-Modified:  Sun Oct 06 16:10:58 +0000 2019
>Originator:     Andrew Doran
>Release:        4.99.63
>Organization:
The NetBSD Project
>Environment:
n/a
>Description:
The behavior of SCHED_FIFO threads doesn't match the specification.
Quote:

--
When a running thread becomes a preempted thread, it becomes the head of the thread list for its priority.
--

NetBSD currently does the opposite. It would be good to verify some of
the other requirements are met.


>How-To-Repeat:
Read the spec:

http://www.opengroup.org/onlinepubs/007908799/xsh/realtime.html

I won't cut and paste it here, but see the section with header
SCHED_FIFO.

>Fix:
Match spec.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: kern-bug-people->rmind
Responsible-Changed-By: rmind@NetBSD.org
Responsible-Changed-When: Mon, 09 Nov 2009 06:32:58 +0000
Responsible-Changed-Why:
Take.


Responsible-Changed-From-To: rmind->kern-bug-people
Responsible-Changed-By: rmind@NetBSD.org
Responsible-Changed-When: Sun, 06 Oct 2019 16:10:58 +0000
Responsible-Changed-Why:


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.