From: John Kacur <jkacur@redhat.com>
To: Carsten Emde <C.Emde@osadl.org>
Cc: Clark Williams <williams@redhat.com>,
RT-users <linux-rt-users@vger.kernel.org>
Subject: Re: [PATCH 2/2] remove-incorrect-options-from-smp-help-message-in-cyclictest.patch
Date: Mon, 8 Mar 2010 00:49:25 +0100 [thread overview]
Message-ID: <520f0cf11003071549y2e5780c8ua22b525ceaf81e13@mail.gmail.com> (raw)
In-Reply-To: <520f0cf11003071510q5d7c81c3m762f45ef81129683@mail.gmail.com>
On Mon, Mar 8, 2010 at 12:10 AM, John Kacur <jkacur@redhat.com> wrote:
> On Sun, Mar 7, 2010 at 9:39 PM, Carsten Emde <C.Emde@osadl.org> wrote:
>> The help message of cyclictest's -S option says that it equals -a -t -n -m -d0.
>> In reality, it only equals -a -t -n.
>>
>> Signed-off-by: Carsten Emde <C.Emde@osadl.org>
>>
>> Index: rt-tests/src/cyclictest/cyclictest.c
>> ===================================================================
>> --- rt-tests.orig/src/cyclictest/cyclictest.c
>> +++ rt-tests/src/cyclictest/cyclictest.c
>> @@ -777,8 +777,8 @@ static void display_help(int error)
>> "-W --wakeuprt rt task wakeup tracing (used with -b)\n"
>> "-y POLI --policy=POLI policy of realtime thread (1:FIFO, 2:RR)\n"
>> " format: --policy=fifo(default) or --policy=rr\n"
>> - "-S --smp Standard SMP testing (equals -a -t -n -m -d0)\n"
>> - " same priority on all threads.\n"
>> + "-S --smp Standard SMP testing: options -a -t -n and\n"
>> + " same priority of all threads\n"
>> "-U --numa Standard NUMA testing (similar to SMP option)\n"
>> " thread data structures allocated from local node\n",
>> tracers
>>
>> --
>
> Wow, you're right. I wonder if the intention here was to set -m and
> -d0 for -S, and if we instead need a patch to do exactly
> that if the user selects -S.
>
> Certainly a default of -d0 makes sense for smp, and it probably
> doesn't make sense to let the user override it either.
> However, I'm not sure if -m by default is a good choice to make for
> -S. I suggest we make -d0 the default for -S, and
> then see if anyone has an opinion about whether -m should be the
> default for -S. My vote is no, so then we would need
> to correct the documentation in that case.
>
Okay, looking at the history of cyclictest in git,
77abded073c5d11d118112c46c22a84ddc29e771
indicates that the intention was to set just -t -a and -n, so in that case
Acked-by: John Kacur <jkacur@redhat.com>
--
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 parent reply other threads:[~2010-03-07 23:49 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-07 20:39 [PATCH 0/2] [rt-tests] Two minor fixes of cyclictest Carsten Emde
2010-03-07 20:39 ` [PATCH 1/2] do-not-allow-prio-less-than-one-in-cyclictest.patch Carsten Emde
2010-03-07 22:37 ` John Kacur
2010-03-09 18:02 ` David Sommerseth
2010-03-09 18:12 ` John Kacur
2010-03-09 18:14 ` David Sommerseth
2010-03-07 20:39 ` [PATCH 2/2] remove-incorrect-options-from-smp-help-message-in-cyclictest.patch Carsten Emde
2010-03-07 23:10 ` John Kacur
2010-03-07 23:49 ` John Kacur [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=520f0cf11003071549y2e5780c8ua22b525ceaf81e13@mail.gmail.com \
--to=jkacur@redhat.com \
--cc=C.Emde@osadl.org \
--cc=linux-rt-users@vger.kernel.org \
--cc=williams@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).