On Tue, 27 Nov 2007 17:33:05 +0800 "Zhang, Yanmin" <yanmin_zhang@linux.intel.com> wrote:sounds like a bad idea; volanomark (well, technically the jvm behind it) is abusing sched_yield() by assuming it does something it really doesn't do, and as it happens some of the earlier 2.6 schedulers accidentally happened to behave in a way that was nice for this benchmark. Todays kernel has a different behavior somewhat (and before people scream "regression"; sched_yield() behavior isn't really specified and doesn't make any sense at all, whatever you get is what you get.... it's pretty much an insane defacto behavior that is incredibly tied to which decisions the scheduler makes how, and no app can depend on that in any way. In fact, I've proposed to make sched_yield() just do an msleep(1)... that'd be closer to what sched_yield is supposed to do standard wise than any of the current behaviors .... ;_ -- If you want to reach me at my work email, use arjan@linux.intel.com For development, discussion and tips for power savings, visit http://www.lesswatts.org -
| Greg Kroah-Hartman | [PATCH 008/196] Chinese: add translation of volatile-considered-harmful.txt |
| Amit K. Arora | [RFC] Heads up on sys_fallocate() |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Linus Torvalds | Re: Slow DOWN, please!!! |
git: | |
| Gerrit Renker | [PATCH 0/37] dccp: Feature negotiation - last call for comments |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | [GIT]: Networking |
| Natalie Protasevich | [BUG] New Kernel Bugs |
