On 02/08/2012 04:37 PM, Wanlong Gao wrote:
>> > Hi, I just have another concern, that you might want to keep the initial
>> > value of nr_hugepages and restore it once the test is done.
> 
> as set_sys_tune defined in mem lib, this restore work should be done there,
> too.

no, set_sys_tune only set the value and verify the content if the third
parameter is setting to "1".

You should save the original value by using get_sys_tune in setup() and
restore it in cleanup() by using set_sys_tune again.

Thanks,
Caspar

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to