question about ExInterlockedInsertTailList RRS feed

  • Question

  • There is some code that uses ExInterlockedInsertTailList in some places
    and it iterates through the list in other places at passive IRQL.

    When it iterates it doesn't acquire any lock.

    It seems to me this code is incorrect, as the iteration through the list may interfere
    with the interlocked insertion if they are run on different CPUs, is it right?

    Saturday, March 7, 2015 2:14 AM