From: Ingo Molnar Date: Tue, 28 Jun 2005 14:40:42 +0000 (+0200) Subject: [PATCH] Tweak idle thread setup semantics X-Git-Tag: v2.6.13-rc1~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f340c0d1a3f40fdcba69cd291530a4debc58748f;p=pandora-kernel.git [PATCH] Tweak idle thread setup semantics This patch tweaks idle thread setup semantics a bit: instead of setting NEED_RESCHED in init_idle(), we do an explicit schedule() before calling into cpu_idle(). This patch, while having no negative side-effects, enables wider use of cond_resched()s. (which might happen in the stock kernel too, but it's particulary important for voluntary-preempt) Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed