[so] Întreruperea preemptibilit??ii în nucleu

Lucian Cojocar cojocar at gmail.com
Sun Apr 12 18:02:03 EEST 2009


On 04/12/09 17:50, Razvan Deaconescu wrote:
> On Sun, 2009-04-12 at 17:08 +0300, Lucian Cojocar wrote:
>> Salut,
>>
>> Operating System Concepts, 6.8.3 paragraful 2:
>>
>> """
>> the kernel is not preemptible if a kernel-mode task is holding a lock
>> """
>>
>> De ce trebuie să avem comportamentul ăsta?
[...]
> Altfel, un alt proces ar fi planificat si ar incerca achizitionarea
> spinlock-ului. Acesta fiind deja achizitionat de procesul proaspat
> preemptat ar astepta nedefinit si s-ar pierde intreaga notiune de
> busy-waiting de scurta durata (pentru un spinlock).

Acum am înţeles, mersi.

Lucian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3374 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://cursuri.cs.pub.ro/pipermail/so/attachments/20090412/b8384920/attachment.bin>


More information about the so mailing list