kern/157657: commit references a PR

dfilter service dfilter at FreeBSD.ORG
Tue Jun 7 03:00:29 UTC 2011


The following reply was made to PR kern/157657; it has been noted by GNATS.

From: dfilter at FreeBSD.ORG (dfilter service)
To: bug-followup at 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 at freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe at freebsd.org"
 


More information about the freebsd-bugs mailing list