Skip site navigation (1)Skip section navigation (2)
Date:      Thu,  3 Jun 1999 06:38:04 -0700 (PDT)
From:      jcmichot@teaser.fr
To:        freebsd-gnats-submit@freebsd.org
Subject:   misc/12006: scheduler policy different define value between Linux and FreeBSD
Message-ID:  <19990603133804.AB97E1538C@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         12006
>Category:       misc
>Synopsis:       scheduler policy different define value between Linux and FreeBSD
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun  3 06:40:02 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Jean-Claude MICHOT
>Release:        3.2-STABLE, and 2.2.8-STABLE
>Organization:
France-Teaser
>Environment:
FreeBSD niak.teaser.fr 3.2-STABLE FreeBSD 3.2-STABLE #5: Tue May 18 19:23:20 CES 1999 jcmichot@niak.teaser.fr:/usr/src/sys/compile/NIAK i386
>Description:
Linux define SCHED_OTHER 0, SCHED_FIFO 1, SCHED_RR 2
FreeBSD define SCHED_FIFO 1, SCHED_OTHER 2, SCHED_RR 3

Few linux program try to set scheduler policy to SCHED_OTHER and
FreeBSD complain about sched_setscheduler invalid value.
>How-To-Repeat:
Get Linux version of Webtrends web server report 
(http://www.webtrends.com) each time you try to start this 
program you get the console message and application is not started.
>Fix:
Modify linux emulator to translate scheduler policy.
functions sched_getscheduler, sched_setscheduler


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990603133804.AB97E1538C>