Hi! > > To use this test also in embedded systems it needs to reduce the memory > > allocation to avoid the test failing when it check the ru_maxrss field > > expecting a value close to the allocated one. > > The ru_maxrss field contains the total amount of resident set memory > > used, so this field doesn't take into account of the swapped memory. > > Passing [num] parameter at command line the test is executed using the > > input parameter as multiply factor instead of 10, that is the default > > value when no argument is passed. > > > > Signed-off-by: Filippo Arcidiacono <[email protected]> > > Signed-off-by: Carmelo Amoroso <[email protected]> > > This version looks good to me. @Cyril?
Yes, looks good. I usually use snprintf() to be extra sure not to rewrite memory, but as far as the BUFSIZ is big enough, this shouldn't be a problem. And I would like to have some mechanism how to get free system memory and compute this automatically in the future (as more tests are failing when there is not enough memory)... -- Cyril Hrubis [email protected] ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
