On Thu, 2008-07-10 at 09:29 -0400, Jeff Burke wrote: > Subrata, > I have applied and tested 4 out of the 6 patches that are attached. > Comments in line.
Thanks Jeff for testing them out. I also did a thorough testing. Thanks Matt for providing those patches. Here are my observations below: 1) testcases/kernel/mem/mem/mem02.c ia64_2.6.16.21-0.8-default=[PREPATCH -> PASS, POSTPATCH -> PASS], x86_64_2.6.18-92.el5=[PREPATCH -> PASS, POSTPATCH -> PASS], x86_64_2.6.9-67.ELsmp=[PREPATCH -> PASS, POSTPATCH -> PASS], i386_2.6.7=[PREPATCH -> PASS, POSTPATCH -> PASS], i386_2.6.25-gcov-nomodconfig-smp=[PREPATCH -> PASS, POSTPATCH -> PASS], ppc54_2.6.9-42.EL=[PREPATCH -> PASS, POSTPATCH -> PASS], ppc64_2.6.18-92.el5=[PREPATCH -> PASS, POSTPATCH -> PASS], 2) testcases/kernel/mem/mtest06/mmap1.c ia64_2.6.16.21-0.8-default=[PREPATCH -> PASS, POSTPATCH -> PASS], x86_64_2.6.18-92.el5=[PREPATCH -> PASS, POSTPATCH -> PASS], x86_64_2.6.9-67.ELsmp=[PREPATCH -> PASS, POSTPATCH -> PASS], i386_2.6.7=[PREPATCH -> PASS, POSTPATCH -> PASS], i386_2.6.25-gcov-nomodconfig-smp=[PREPATCH -> PASS, POSTPATCH -> PASS], ppc54_2.6.9-42.EL=[PREPATCH -> PASS, POSTPATCH -> PASS], ppc64_2.6.18-92.el5=[PREPATCH -> PASS, POSTPATCH -> PASS], 3) testcases/kernel/mem/mtest05/mmstress.c ia64_2.6.16.21-0.8-default=[PREPATCH -> 1-5PASS< 6-7FAIL] [POSTPATCH -> 1-6PASS,7-FAILED], Your Patch makes TEST 6 Pass. So improving something on the ia64 architecture, x86_64_2.6.18-92.el5=[PREPATCH -> 1-5PASS< 6-7FAIL] [POSTPATCH -> 1-5PASS< 6-7FAIL], x86_64_2.6.9-67.ELsmp=[PREPATCH -> 1-5PASS< 6-7FAIL] [POSTPATCH -> 1-5PASS< 6-7FAIL], i386_2.6.7=[PREPATCH -> 1-5PASS< 6-7FAIL] [POSTPATCH -> 1-5PASS< 6-7FAIL], i386_2.6.25-gcov-nomodconfig-smp=[PREPATCH -> 1-5PASS< 6-7FAIL] [POSTPATCH -> 1-5PASS< 6-7FAIL], ppc54_2.6.9-42.EL=[PREPATCH -> 1-5PASS< 6-7FAIL] [POSTPATCH -> 1-5PASS< 6-7FAIL], ppc64_2.6.18-92.el5=[PREPATCH -> 1-5PASS< 6-7FAIL] [POSTPATCH -> 1-5PASS< 6-7FAIL], 4) testcases/kernel/syscalls/nanosleep/nanosleep01.c ia64_2.6.16.21-0.8-default=[PREPATCH -> PASS, POSTPATCH -> PASS], x86_64_2.6.18-92.el5=[PREPATCH -> PASS, POSTPATCH -> PASS], x86_64_2.6.9-67.ELsmp=[PREPATCH -> PASS, POSTPATCH -> PASS], i386_2.6.7=[PREPATCH -> PASS, POSTPATCH -> PASS], i386_2.6.25-gcov-nomodconfig-smp=[PREPATCH -> PASS, POSTPATCH -> PASS], ppc54_2.6.9-42.EL=[PREPATCH -> PASS, POSTPATCH -> PASS], ppc64_2.6.18-92.el5=[PREPATCH -> PASS, POSTPATCH -> PASS], 5) testcases/kernel/sched/nptl/nptl01.c ia64_2.6.16.21-0.8-default=[PREPATCH -> PASS, POSTPATCH -> PASS], x86_64_2.6.18-92.el5=[PREPATCH -> PASS, POSTPATCH -> PASS], x86_64_2.6.9-67.ELsmp=[PREPATCH -> PASS, POSTPATCH -> PASS], i386_2.6.7=[PREPATCH -> PASS, POSTPATCH -> PASS], i386_2.6.25-gcov-nomodconfig-smp=[PREPATCH -> PASS, POSTPATCH -> PASS], ppc54_2.6.9-42.EL=[PREPATCH -> PASS, POSTPATCH -> PASS], ppc64_2.6.18-92.el5=[PREPATCH -> PASS, POSTPATCH -> PASS], 6) testcases/kernel/syscalls/syscall/syscall01.c ia64_2.6.16.21-0.8-default=[PREPATCH -> PASS, POSTPATCH -> PASS], x86_64_2.6.18-92.el5=[PREPATCH -> PASS, POSTPATCH -> PASS], x86_64_2.6.9-67.ELsmp=[PREPATCH -> PASS, POSTPATCH -> PASS], i386_2.6.7=[PREPATCH -> PASS, POSTPATCH -> PASS], i386_2.6.25-gcov-nomodconfig-smp=[PREPATCH -> PASS, POSTPATCH -> PASS], ppc54_2.6.9-42.EL=[PREPATCH -> PASS, POSTPATCH -> PASS], ppc64_2.6.18-92.el5=[PREPATCH -> PASS, POSTPATCH -> PASS], Your patches stands applied. Regards-- Subrata > > 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. > Applied and tested with ltp-full-20080630 > ltp-testsuite-mmap1-safe-exit.patch > > > > 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. > Applied and tested with ltp-full-20080630 > ltp-testsuite-mmstress-optional-pages.patch > > > > 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. > Applied and tested with ltp-full-20080630 > ltp-testsuite-nanosleep-no-slop.patch > > > > 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. > > > Applied and tested with ltp-full-20080630 > ltp-testsuite-syscall32.patch ------------------------------------------------------------------------- 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
