[LTP] [PATCH 1/2] ltp/numa: add new test11

Li Wang liwang@redhat.com
Fri May 19 09:08:50 CEST 2017


On Thu, May 18, 2017 at 9:46 PM, Cyril Hrubis <chrubis@suse.cz> wrote:
> Hi!
>> @@ -52,16 +52,43 @@ static void help(void)
>>       printf("Input:  Describe input arguments to this program\n");
>>       printf("        argv[1] == 1 then allocate 1MB of memory\n");
>>       printf("        argv[1] == 2 then allocate 1MB of share memory\n");
>> -     printf("        argv[1] == 3 then pause the program to catch sigint\n");
>> +     printf("        argv[1] == 3 then allocate 1HUGE PAGE SIZE of memory\n");
>> +     printf("        argv[1] == 4 then pause the program to catch sigint\n");
>>       printf("Exit:   On failure - Exits with non-zero value\n");
>>       printf("        On success - exits with 0 exit value\n");
>
> Can we, pretty please, change this parameter to a string that describes
> the operation?

Sure, sounds good. But I hope to change this in a new patch, because
these exist two are focus on different issues.  I don't wanna mess
things up.


-- 
Regards,
Li Wang
Email: liwang@redhat.com


More information about the ltp mailing list