Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jun 2011 03:00:25 GMT
From:      dfilter@FreeBSD.ORG (dfilter service)
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/157657: commit references a PR
Message-ID:  <201106070300.p5730PFg014632@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/157657; it has been noted by GNATS.

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/157657: commit references a PR
Date: Tue,  7 Jun 2011 02:50:24 +0000 (UTC)

 Author: davidxu
 Date: Tue Jun  7 02:50:14 2011
 New Revision: 222802
 URL: http://svn.freebsd.org/changeset/base/222802
 
 Log:
   Use p4prio_to_tsprio to calculate TS priority instead of using
   p4prio_to_rtpprio which is for RT priority.
   
   PR:	kern/157657
   Submitted by:	krivenok.dmitry at gmail dot com
   MFC after:	3 days
 
 Modified:
   head/sys/kern/ksched.c
 
 Modified: head/sys/kern/ksched.c
 ==============================================================================
 --- head/sys/kern/ksched.c	Tue Jun  7 01:28:12 2011	(r222801)
 +++ head/sys/kern/ksched.c	Tue Jun  7 02:50:14 2011	(r222802)
 @@ -206,7 +206,7 @@ ksched_setscheduler(struct ksched *ksche
  		if (param->sched_priority >= 0 &&
  			param->sched_priority <= (PRI_MAX_TIMESHARE - PRI_MIN_TIMESHARE)) {
  			rtp.type = RTP_PRIO_NORMAL;
 -			rtp.prio = p4prio_to_rtpprio(param->sched_priority);
 +			rtp.prio = p4prio_to_tsprio(param->sched_priority);
  			rtp_to_pri(&rtp, td);
  		} else
  			e = EINVAL;
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 



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