> -----Original Message-----
> From: Garrett Cooper [mailto:[email protected]]
> Sent: Friday, April 16, 2010 2:06 PM
> To: Mitani
> Cc: Randy Dunlap; [email protected]
> Subject: Re: [LTP] [PATCH] fix "hugetlb" several tests
> 
> On Thu, Apr 15, 2010 at 7:42 PM, Mitani <[email protected]> wrote:
> >
> >> -----Original Message-----
> >> From: Randy Dunlap [mailto:[email protected]]
> >> Sent: Thursday, April 15, 2010 12:20 AM
> >> To: Mitani
> >> Cc: 'Garrett Cooper'; [email protected]
> >> Subject: Re: [LTP] [PATCH] fix "hugetlb" several tests
> >>
> >> On Wed, 14 Apr 2010 17:58:17 +0900 Mitani wrote:
> >>
> >> > Hi,
> >> >
> >> > I suggest new patch.
> >> >
> >> > Signed-off-by: Tomonori Mitani <[email protected]>
> >>
> >> This one is OK with me also, but...
> >>
> >> Is it possible to determine the difference between a kernel that
> does
> >> not support hugepages at all and a kernel that does support hugepages
> >> but just does not have enough of them allocated?
> >>
> >> or maybe we don't care about this difference.  Do we?
> >
> > I cannot give a good opinion because I'm not a creator of these test
> > programs, but ...
> > I think that the difference of test refusal reason isn't so important.
> > How about following message? :
> > ------------
> > Not support Hugepages or not enough available Hugepages
> > ------------
> >
> > If users read above message, they will examine a reason by themselves
> > and will do appropriate measures (set an enough hugepages value or
> > gave up this test), I think.
> 
>     It's fine as-is. `Zero [supported] hugepages' is the same as `not
> enough hugepages'. If people can't read the message, and put together
> the details based on what's in the test output versus the
> documentation and the source code, they quite frankly shouldn't be
> running the tests.
> Thanks,
> -Garrett


I made patch for both Hugepages non-support message and "tst_exit()" 
calling.
I attach the patch as a file.

Signed-off-by: Tomonori Mitani <[email protected]>

Regards--

-Tomonori Mitani

Attachment: hugetlb.patch
Description: Binary data

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to