From: Rishi k. K R. <ris...@li...> - 2010-04-20 11:46:46
|
The branch, master, has been updated via d0605c4e9525bd5ecdd0ba28ba27b8b237d1cfc8 (commit) from 4837fee8a7c2de6a83c8927a574c792ca6dabe4e (commit) - Log ----------------------------------------------------------------- commit d0605c4e9525bd5ecdd0ba28ba27b8b237d1cfc8 Author: Rishikesh K Rajak <ris...@li...> Date: Tue Apr 20 17:15:13 2010 +0530 msgctl10() un-necessarily eats up all the PIDs of the system leading to system becoming un-responsive. The changed no.s would better do the job. Signed-off-by: Subrata Modak<su...@li...> Acked/Tested-By: Caspar ZHANG <cz...@re...> Signed-off-by: Rishikesh K Rajak <ris...@li...> ----------------------------------------------------------------------- Summary of changes: testcases/kernel/syscalls/ipc/msgctl/msgctl10.c | 8 ++------ 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/testcases/kernel/syscalls/ipc/msgctl/msgctl10.c b/testcases/kernel/syscalls/ipc/msgctl/msgctl10.c index 90c9c99..bff67ed 100644 --- a/testcases/kernel/syscalls/ipc/msgctl/msgctl10.c +++ b/testcases/kernel/syscalls/ipc/msgctl/msgctl10.c @@ -65,12 +65,8 @@ extern int Tst_count; /* Test Case counter for tst_* routines */ int exp_enos[] = { 0 }; /* List must end with 0 */ -#ifndef CONFIG_COLDFIRE -#define MAXNPROCS 1000000 /* This value is set to an arbitrary high limit. */ -#else -#define MAXNPROCS 100000 /* Coldfire can't deal with 1000000 */ -#endif -#define MAXNREPS 100000 +#define MAXNPROCS 10000 /*These should be sufficient*/ +#define MAXNREPS 10000 /*Else they srewup the system un-necessarily*/ #define FAIL 1 #define PASS 0 hooks/post-receive -- ltp |