[lkml]   [2010]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Considerations on sched APIs under RT patch
    On Wed, 2010-04-21 at 21:24 +0200, Primiano Tucci wrote:
    > Is it sure that calling a scheduler api won't induce a re-scheduling
    > of the caller process (e.g. as in the case of a lock held by another
    > processor)? It would be very unpleasant if the scheduling apis can
    > induce re-scheduling, making the realization of a Real Time scheduling
    > infrastructure completely un-deterministic.

    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.

     \ /
      Last update: 2010-04-21 21:59    [W:0.020 / U:0.228 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site