Re: [PATCH 2/2] remove-incorrect-options-from-smp-help-message-in-cyclictest.patch

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

 



On Sun, Mar 7, 2010 at 9:39 PM, Carsten Emde <C.Emde@xxxxxxxxx> 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@xxxxxxxxx>
>
> 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.

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