Return-Path: Received: from imx12.toshiba.co.jp (imx12.toshiba.co.jp [61.202.160.132]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id 38FC5DDF06 for ; Mon, 19 Mar 2007 11:01:20 +1100 (EST) Date: Mon, 19 Mar 2007 09:00:56 +0900 Message-ID: From: Tsutomu OWA To: Sergei Shtylyov Subject: Re: [patch 1/6 -rt] powerpc 2.6.20-rt8: add preemption checks for NEED_RESCHED_DELAYED. In-Reply-To: <45FAEDFB.70103@ru.mvista.com> References: <45FAEDFB.70103@ru.mvista.com> MIME-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: text/plain; charset=US-ASCII Cc: linuxppc-dev@ozlabs.org, mingo@elte.hu, linux-kernel@vger.kernel.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi, At Fri, 16 Mar 2007 22:20:27 +0300, Sergei Shtylyov wrote: > Argh, I've missed this one! :-( > But shouldn't we also add !need_resched_delayed() to another place below? > > if (ppc_md.power_save) { > [...] > if (!need_resched() && !cpu_should_die()) Thanks for pointing it out. Yes, it looks like needed. -- owa