This Requires lot of investigation from me. I will take time and do this. Regards-- Subrata
On Tue, 2008-07-08 at 11:09 +0100, Matt Fleming wrote: > Hi guys, > > I've attached some patches that I created for LTP at work. Most of them > simply add command-line options to specify the amount of memory/pages to > use for tests. However, there's one fix that works around a bug in > uClibc's pthread implementation. > > ltp-testsuite-make-memsize-configurable.patch: > Allow the amount of memory to be used to be passed as a > command-line argument. > > ltp-testsuite-mmap1-safe-exit.patch: > It can be unsafe to call exit(3) from a signal handler. Call > _exit(2) instead. > > ltp-testsuite-mmstress-optional-pages.patch: > Allow the number of pages to use for the test to be specified on > the command-line. Fix a memory leak. > > Also, call _exit(2) from child processes which avoids the child > calling the atexit functions that the pthread library setup. > This fixes an issue where the pthread manager thread would begin > exiting at the same time as a child thread. The child thread would > run the atexit functions which cause it to wait for a signal to be > sent from the thread manager. As the thread manager was trying to > exit that signal would never be sent. Calling _exit(2) from the child > avoids this whole mess. > > ltp-testsuite-nanosleep-no-slop.patch: > Don't place an upper limit on the amount of time a nanosleep(2) > call should take. The nanosleep(2) call will suspend execution for > _at least_ the specified time, no upper limit is guaranteed. > > ltp-testsuite-nptl-configure-num-loops.patch: > Allow the number of iterations to be specified on the command > line. > > ltp-testsuite-syscall32.patch: > Check for SYS_getuid32 and SYS_getgid32, these are the versions > provided by some architectures. > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ Ltp-list mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ltp-list ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
