Re: REQUEST: OpenLDAP 2.3.7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Arjan van de Ven wrote:

> On Sun, Sep 18, 2005 at 02:54:20AM +0200, Bernardo Innocenti wrote:
> 
>>Altough I generally dislike threaded programs and expecially
>>those who spin on locks instead of designing a proper arbitration
>>scheme for shared resources, I consider the new kernel behavior
>>unfair and bogus.
> 
> is it? "sched_yield" means "give up the cpu to lower priority processes",
> because, frankly, if there were higher priority ones.. they'd already be
> running. So what else does it mean?

It's more meaningful to interpret sched_yield() as "give up the processor,
as if the scheduler quantum had expired".

The scheduler wouldn't normally allow a lower priority process to
preempt a high-priority ready process for 30+ ms.  Unless I'm
mistaken about Linux's scheduling policy...

-- 
  // Bernardo Innocenti - Develer S.r.l., R&D dept.
\X/  http://www.develer.com/

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux