none
KeStallExecutionProcessor - Does thread priority matter RRS feed

  • Question

  • Hello all.

    How does thread priority level / IRQL affect KeStallExecutionProcessor(50uS)?  Just like any other code wrt IRQL?  I.e., the stall is not an atomic operation, right?

    Its not so important that the stall be exactly 50uS of realtime; anywhere between 50 and 500 is fine for this application.

    Thanks!

    Saturday, April 1, 2017 3:19 PM

Answers

  • The stall is not atomic, so yes priority level and IRQL do impact this.


    Don Burn Windows Driver Consulting Website: http://www.windrvr.com

    Saturday, April 1, 2017 5:06 PM
  • You can combine it with KeRaiseIrql for more predictable result. The low bound of the specified time is warranted, but the high bound is not, if the processor is interrupted.

    -- pa


    • Edited by Pavel A Saturday, April 1, 2017 5:32 PM
    • Marked as answer by Wade_Dawson Monday, April 3, 2017 1:01 PM
    Saturday, April 1, 2017 5:25 PM

All replies

  • The stall is not atomic, so yes priority level and IRQL do impact this.


    Don Burn Windows Driver Consulting Website: http://www.windrvr.com

    Saturday, April 1, 2017 5:06 PM
  • You can combine it with KeRaiseIrql for more predictable result. The low bound of the specified time is warranted, but the high bound is not, if the processor is interrupted.

    -- pa


    • Edited by Pavel A Saturday, April 1, 2017 5:32 PM
    • Marked as answer by Wade_Dawson Monday, April 3, 2017 1:01 PM
    Saturday, April 1, 2017 5:25 PM