Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 21 Mar 2003 00:19:54 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 21 Mar 2003 00:19:54 -0500 Received: from mx1.elte.hu ([157.181.1.137]:35047 "HELO mx1.elte.hu") by vger.kernel.org with SMTP id ; Fri, 21 Mar 2003 00:19:53 -0500 Date: Fri, 21 Mar 2003 06:30:19 +0100 (CET) From: Ingo Molnar Reply-To: Ingo Molnar To: Eric Wong Cc: linux-kernel@vger.kernel.org Subject: Re: [patch] sched-2.5.64-bk10-C4 In-Reply-To: <20030321004409.GA16206@bl4st.yhbt.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 612 Lines: 21 On Thu, 20 Mar 2003, Eric Wong wrote: > Would this be an equivalent fix for 2.4.20-ck4? yes - but the reverse of it. > - long sleep_time = jiffies - p->sleep_timestamp - 1; > + unsigned long sleep_time = jiffies - p->sleep_timestamp; > prio_array_t *array = rq->active; > > - if (!rt_task(p) && (sleep_time > 0)) { > + if (!rt_task(p) && sleep_time) { Ingo - 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/