Messages in this thread | | | Date | Wed, 26 Nov 2003 01:07:01 -0500 | From | s0be <> | Subject | Re: [patch] trivial change in kernel/sched.c in 2.6.0-test9+ |
| |
> > this ends up saving a few math operations any time a child > > process exits. ( calling sched_exit(task_t * p) ) > > Yes, but does it have any noticeable effect on performance whatsoever? > premature optimization, root of all evil, etc.
I'm not on a system that I can take down long enough/crash testing right now that I could check this. And, to be honest, I can't think of anything other than a fork bomb that would do a good job of testing this. I just remembered helping con with O(3)int schedular hacks and he seemed concerned with how many math operations take place in sched.c due to it being in the core.
If you can suggest a way to test this, I will test it on my system tomorrow.
Pat Erley - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |