Re: [PATCH 2/2] add-smp-option-to-svsematest.patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



David,

>> -		if (priority > 0)
>> +		if (priority > 1 && !sameprio)
>> 			priority--;
> Unless I'm missing something really obvious, shouldn't this one state:
> 	if (priority > 0 && !sameprio)
> 		priority--;
> Or else 1 will be the lowest priority. [..]
Yes, which is ok, since the range of valid SCHED_FIFO priorities is 1 to
99. A priority of 0 would cause sched_setscheduler() to set the EINVAL
error condition.

	Carsten.
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux