sh: Make check_pgt_cache() more aggressive while idling.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 16 Oct 2009 08:27:58 +0000 (17:27 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 16 Oct 2009 08:27:58 +0000 (17:27 +0900)
commit0e6d4986e7940125a04ba8c3aa558f3b248cb9b4
treeb54572e3fd33d50177d3c3699eda07283678dbb2
parentf533c3d340536198a4889a42a68d6c0d79a504e7
sh: Make check_pgt_cache() more aggressive while idling.

This follows the x86 change and moves check_pgt_cache() up under the
!need_resched() tight loop, rather than simply calling in to it when
exiting idle.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/idle.c