>>> On 3/31/2010 at 03:22 AM, in message
<[email protected]>, Rishikesh K Rajak
<[email protected]> wrote: 
> Hi Murlin,
> 
> Can you please look into this problem again ? It seems you had some 
> discussion
> with garret to reach to some conclusion about the reported failure.

I hope to grab a little time to look at this again.  The big problem is the 
fact that the MAX_SWAPFILES supported by a particular kernel is not an exported 
variable.  It's a compile time macro defined in a kernel header.  There is 
nothing to export.  That brings up a question about what constraints LTP should 
run under.  1.  Can I require kernel headers and the current .config file be 
present on the build or install system that is going to run LTP?  2.  Is there 
a common place to find the correct kernel headers and config file?  3.  How 
hard would it be to use something like autoconf or some other tool to setup the 
correct define during LTP build?

The only other option I see at this point is similar to what the current code 
does.  Start at a given number of swapfiles expected, then start trying to 
create more one at a time until an error is returned.  That's ugly since the 
starting point is always subject to change.

Murlin


------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to