Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756566Ab0DUUqN (ORCPT ); Wed, 21 Apr 2010 16:46:13 -0400 Received: from mail-pv0-f174.google.com ([74.125.83.174]:61061 "EHLO mail-pv0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754944Ab0DUUqL (ORCPT ); Wed, 21 Apr 2010 16:46:11 -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=arcR4lt1vVdlg5k0o1Up3RcFBY2oguOSpIr6wWq0sm8+bEfRpVC3oY0rFqlSRq0GC6 5La9wa7MS944XO594dCwoIygLX91vIwCw7lhoWMdfDHOcjW452pCAm9iH9JI4D3B+Hn7 APKxSedHGfNCLB3JrHC0ZXKSaKLwkfVVsHRTE= MIME-Version: 1.0 In-Reply-To: <1271879833.1776.186.camel@laptop> References: <1271755208.1676.422.camel@laptop> <1271804453.10448.168.camel@gandalf.stny.rr.com> <1271839772.1776.58.camel@laptop> <1271854016.10448.172.camel@gandalf.stny.rr.com> <1271879833.1776.186.camel@laptop> Date: Wed, 21 Apr 2010 22:38:36 +0200 Message-ID: Subject: Re: Considerations on sched APIs under RT patch From: Primiano Tucci To: Peter Zijlstra Cc: rostedt@goodmis.org, linux-kernel@vger.kernel.org, tglx Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1164 Lines: 30 > No, any syscall can end up blocking/scheduling there are no exceptions. > But blocking doesn't mean its non-deterministic, esp. when coupled with > things like PI. > > But you do have to treat system resources as such, that is they can (and > will) create cross-cpu dependencies, if you do not take that into > account you will of course be surprised. > I actually don't understand why do you recall PI so frequently, it seems to be the unique point of interest. Actually I take care about not sharing cross-cpu resources, but I cannot take care of what the kernel should do. In my viewpoint is unacceptable that the scheduler apis can led into a rescheduling. It voids any form of process control. If I lose the control while controlling other processes, Quis custodiet ipsos custodes? P.S. It actually does not happen in other RTOSes, e.g., VxWorks SMP Primiano, -- Primiano Tucci http://www.primianotucci.com -- 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/