[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-rt-users
Subject:    Re: [PATCH] cyclictest: Use symbolic names for scheduling policy
From:       John Kacur <jkacur () redhat ! com>
Date:       2010-03-08 13:11:44
Message-ID: 520f0cf11003080511o653693b7xf3db92fada2468c3 () mail ! gmail ! com
[Download RAW message or body]

On Mon, Mar 8, 2010 at 2:01 PM, Carsten Emde <Carsten.Emde@osadl.org> 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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic