Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261241AbVCZTLg (ORCPT ); Sat, 26 Mar 2005 14:11:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261250AbVCZTLg (ORCPT ); Sat, 26 Mar 2005 14:11:36 -0500 Received: from mx1.elte.hu ([157.181.1.137]:39835 "EHLO mx1.elte.hu") by vger.kernel.org with ESMTP id S261241AbVCZTLa (ORCPT ); Sat, 26 Mar 2005 14:11:30 -0500 Date: Sat, 26 Mar 2005 20:11:22 +0100 From: Ingo Molnar To: Steven Rostedt Cc: Esben Nielsen , linux-kernel@vger.kernel.org Subject: Re: [patch] Real-Time Preemption, -RT-2.6.12-rc1-V0.7.41-07 Message-ID: <20050326191122.GA8144@elte.hu> References: <20050324113912.GA20911@elte.hu> <20050325061907.GA20242@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-ELTE-SpamVersion: MailScanner 4.31.6-itk1 (ELTE 1.2) SpamAssassin 2.63 ClamAV 0.73 X-ELTE-VirusStatus: clean X-ELTE-SpamCheck: no X-ELTE-SpamCheck-Details: score=-4.9, required 5.9, autolearn=not spam, BAYES_00 -4.90 X-ELTE-SpamLevel: X-ELTE-SpamScore: -4 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1085 Lines: 25 * Steven Rostedt wrote: > > i think this should be covered by the 'unschedule/unwakeup' feature, > > mentioned in the latest mails. > > The first implementation would probably just be the setting of a > "pending owner" bit. But the better one may be to unschedule. But, > what would the overhead be for unscheduling. Since you need to grab > the run queue locks for that. This might make for an interesting case > study. The waking up of a process who had the lock stolen may not > happen that much. The lock stealing, would (as I see in my runs) > happen quite a bit though. But on UP, the waking of the robbed owner, > would never happen, unless it also owned a lock that a higher priority > process wanted. yeah, lets skip the unscheduling for now, the 'pending owner' bit is the important one. 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/