From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756843Ab1EXOdV (ORCPT ); Tue, 24 May 2011 10:33:21 -0400 Received: from mail-wy0-f174.google.com ([74.125.82.174]:45151 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756201Ab1EXOdU (ORCPT ); Tue, 24 May 2011 10:33:20 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=o3uJdmy/2F7488b5cVBhtlbQNPlrQlbyzXbY+PRRhTh8E69kahZpsQ57TYRrCJl0ot QvUsGjJF3zg/8dkgjU7eqjmF5PPSYQc1FZj+z1AWOKl+UcdJuHTeUsgma/MxhNYb1bmS e9Woyrt48RR+HxiCTPqNs1/P9Qf8FNKQHaN6w= MIME-Version: 1.0 In-Reply-To: <1306247058.1465.66.camel@gandalf.stny.rr.com> References: <1306244836.2497.60.camel@laptop> <1306247058.1465.66.camel@gandalf.stny.rr.com> Date: Tue, 24 May 2011 22:33:19 +0800 Message-ID: Subject: Re: [PATCH] sched: remove starvation in check_preempt_equal_prio() From: Hillf Danton To: Steven Rostedt Cc: Peter Zijlstra , LKML , Ingo Molnar , Mike Galbraith , Yong Zhang Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 24, 2011 at 10:24 PM, Steven Rostedt wrote: > On Tue, 2011-05-24 at 22:01 +0800, Hillf Danton wrote: >> On Tue, May 24, 2011 at 9:47 PM, Peter Zijlstra wrote: >> > On Tue, 2011-05-24 at 21:34 +0800, Hillf Danton wrote: >> >> If there are pushable tasks and they are high enough in priority, in which >> >> case task p is covered, the current could keep holding its CPU. >> > >> > -ENOPARSE.. >> > >> >> Here the priority is same, then pushing task p off has little difference from >> pushing any other pushable. > > If task p is currently running and is a FIFO task, you do not push it > off for another task of same prio. > If it is one of the current principles in RT schedule, the patch has to be dropped. thanks Hillf