Hi!
> cpuset_memory_test.c:
>  * lack of "config.h"
>  * incorrect use of HAVE_LINUX_MEMPOLICY macro
>  * some cleanup
> 
> cpuset_memory_testset.sh:
>  * number of cpu and memory nodes are set based on environment
>  * we send second SIGUSR1 signal to make the child free its resources

Note that doing what the test does from signal handler is not safe.

If the tests needs to be driven by signals, it should sleep in pause()
or sigwaitinfo() or sigtimedwait() and execute the functions from main
loop rather than from the sighandler.

-- 
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to