Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Before Posting...
Please check out the Community Guidelines in the Announcements and Administration Category.

Arguing about Linux

Jake_OshinsJake_Oshins Member Posts: 1,058
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.

--------------------------------------------

<xxxxx@hotmail.com> 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
>

Comments

  • Prokash_Sinha-1Prokash_Sinha-1 Member - All Emails Posts: 1,214
    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.
    >
    > --------------------------------------------
    >
    > <xxxxx@hotmail.com> 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
    >
  • James_HarperJames_Harper Member Posts: 1,615
    >
    > 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 :)

    James
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Upcoming OSR Seminars
Developing Minifilters 29 July 2019 OSR Seminar Space
Writing WDF Drivers 23 Sept 2019 OSR Seminar Space
Kernel Debugging 21 Oct 2019 OSR Seminar Space
Internals & Software Drivers 18 Nov 2019 Dulles, VA