Re: [PATCH] cyclictest: Use symbolic names for scheduling policy

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

 



On Mon, Mar 8, 2010 at 2:01 PM, Carsten Emde <Carsten.Emde@xxxxxxxxx> wrote:
> Hi John,
>
>>> [..]
>>> We need to adapt the help message accordingly.
>> Hmnn, not sure if I like this one. The message is not perfect as it
>> stands, but I don't think this is an improvement.
>> The code seems to parse, fifo, rr, and other.
>> Internally the numbers are as specified, but we're not parsing them anyway.
> The original help message says:
>
> -y POLI  --policy=POLI     policy of realtime thread (1:FIFO, 2:RR)
>                           format: --policy=fifo(default) or --policy=rr
>
> This *could* be understood that "-y 2" would be a legal way to specify
> SCHED_RR, but it is not. Shouldn't we at least remove the "(1:FIFO,
> 2:RR)" part?
>
>        Carsten.

Yes, I agree to that, since what the internal number is, is of no
significance to
the user.

Thanks,
John
--
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