Arguing about Linux

Why don’t you guys argue about Linux in Russian? That will make it so much
easier for the rest of us to gloss over it.


Jake Oshins
Hyper-V I/O Architect
Windows Kernel Team

This post implies no warranties and confers no rights.


wrote in message news:xxxxx@ntdev…
>
>>>> They also have spin_lock_irqsave() or such.
>
>> > yep. similar to these “special” spinlocks at HIGH_LEVEL that Jake O.
>
>> No, similar to KeAcquireInterruptSpinLock.
>
> Actually, Pavel is absolutely correct - spin_lock_irqsave() and
> spin_lock_irq() disable all interrupts on a given CPU; spin_lock_bh()
> disables software interrupts but hardware ones are still enabled; and
> spin_lock() does not disable any interrupts. In addition to above
> mentioned “conventional” spinlocks, Linux kernel provides reader/writer
> forms of spinlock as well. There are no equivalents to
> KeAcquireInterruptSpinLock() under Linux, because it does not support the
> concept of IRQL to the extent Windows does. Furthermore, it does not
> really support interrupt spinlocks in Windows programmer’s understanding -
> instead, it allows spinlock acquisition right in ISR…
>
>
> Anton Bassov
>

Well, i still stand by my word “I hate biochemists, who talk chemistry in
a biologist crowd, and vice-versa”, and it does not matter if it is
russian or ML or milner or lisp.

-pro

Why don’t you guys argue about Linux in Russian? That will make it so
much
easier for the rest of us to gloss over it.


Jake Oshins
Hyper-V I/O Architect
Windows Kernel Team

This post implies no warranties and confers no rights.


wrote in message news:xxxxx@ntdev…
>>
>>>>> They also have spin_lock_irqsave() or such.
>>
>>> > yep. similar to these “special” spinlocks at HIGH_LEVEL that Jake O.
>>
>>> No, similar to KeAcquireInterruptSpinLock.
>>
>> Actually, Pavel is absolutely correct - spin_lock_irqsave() and
>> spin_lock_irq() disable all interrupts on a given CPU; spin_lock_bh()
>> disables software interrupts but hardware ones are still enabled; and
>> spin_lock() does not disable any interrupts. In addition to above
>> mentioned “conventional” spinlocks, Linux kernel provides reader/writer
>> forms of spinlock as well. There are no equivalents to
>> KeAcquireInterruptSpinLock() under Linux, because it does not support
>> the
>> concept of IRQL to the extent Windows does. Furthermore, it does not
>> really support interrupt spinlocks in Windows programmer’s understanding
>> -
>> instead, it allows spinlock acquisition right in ISR…
>>
>>
>> Anton Bassov
>>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>

>

Why don’t you guys argue about Linux in Russian? That will make it so
much easier for the rest of us to gloss over it.

IRQL’s are a complicated thing (well… until you get your head around
them they are), and I think that there are enough people on this list
who know the details of how Linux does things but not Windows, so I
think that this is actually a useful discussion. IMHO.

Any other Linux discussion though, Russian please :slight_smile:

James