Re: Preemption of the OS system call due to expiration of the time-sl ice for: a) SCHED_NORMAL (aka SCHED_OTHER) b) SCHED_RR

From: Oliver Neukum (oliver_at_neukum.org)
Date: 06/30/04

  • Next message: Colby Stanley: "Get $200 bonus at our Casino!"
    To: "Povolotsky, Alexander" <Alexander.Povolotsky@marconi.com>
    Date:	Wed, 30 Jun 2004 12:50:04 +0200
    
    

    Am Mittwoch, 30. Juni 2004 11:50 schrieb Povolotsky, Alexander:
    > Con - thanks for your kind answers !
    >
    > Preemption (due to the expiration of the time-slice) of the process, while
    > it executes OS system call, - by another process (of equal or higher
    > priority) when running under following scheduling policies:
    >
    > a) SCHED_NORMAL (aka SCHED_OTHER)
    > b) SCHED_RR
    >
    > Is it possible in Linux 2.6 ? Linux 2.4 ?

    It is possible if the kernel is compiled with CONFIG_PREEMPT
    and the calling task has not blocked it.

            HTH
                    Oliver
    -
    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/


  • Next message: Colby Stanley: "Get $200 bonus at our Casino!"

    Relevant Pages

    • Re: Priority Inheritance Test (Real-Time Preemption)
      ... Why should task B get lock1 the 2. ... time before the rt-task? ... priority after releasing the lock in __up_mutex. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • RE: [RFC][PATCH] O(1) Entitlement Based Scheduler
      ... well-defined location} to load some simple environment and path and priority ... Has this scheduler been tried for applications like CD burning? ... them if they are running specified binaries ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Power Management Update
      ... >> This is not suprising, and likely something that many people will run ... There is a lot of driver work that needs to be done, ... It is a priority, but they pose a stiff challenge that not many know how ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] O11int for interactivity
      ... >> more smoothing of the corners. ... * priority but is modified by bonuses/penalties. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.14-rt1
      ... On 11/2/05, Florian Schmidt wrote: ... > each other when the dynamic priority changes. ... understanding of realtime scheduling suggests SCHED_FIFO is supposed ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)