Interrupts

By: Travis Downs (travis.downs.delete@this.gmail.com), August 19, 2019 5:13 pm
Room: Moderated Discussions
I notice that when I interrupt a process on x86, the interrupt locations as measured by the return instruction (i.e., the instruction at which execution will resume at) line up exactly at the instruction after slow-to-retire instructions.

Naively, I would expect that when an interrupt comes in, all in-flight work is thrown away - that is, all unretired instructions. However, that would leave the interrupts pointing at the slow instruction, not one past the instruction.

Is there some reason it works like this? I seems like it would increase interrupt latency a bit.
 Next Post in Thread >
TopicPosted ByDate
InterruptsTravis Downs2019/08/19 05:13 PM
  Interruptsanon2019/08/19 07:10 PM
    Interruptsblaine2019/08/19 09:50 PM
      Interruptsrwessel2019/08/20 11:40 AM
        InterruptsDavid Hess2019/08/21 05:09 PM
  InterruptsLinus Torvalds2019/08/20 09:37 AM
    InterruptsBrett2019/08/20 09:48 AM
      InterruptsMichael S2019/08/20 10:06 AM
      InterruptsLinus Torvalds2019/08/20 10:49 AM
        Interruptsanonymou52019/08/20 11:12 AM
        InterruptsMaynard Handley2019/08/21 06:46 AM
          InterruptsEtienne2019/08/21 07:24 AM
            InterruptsRobert David Graham2019/08/21 08:44 AM
          InterruptsLinus Torvalds2019/08/21 10:22 AM
            InterruptsMaynard Handley2019/08/21 06:04 PM
            Interruptsanon2019/08/21 07:10 PM
              Interruptsanonymou52019/08/21 08:18 PM
          Interruptsrwessel2019/08/21 11:30 AM
      Interrupts, slow?Brendan2019/08/20 05:05 PM
        Interrupts, slow?Anon2019/08/20 11:18 PM
      InterruptsDavid Hess2019/08/21 05:17 PM
    InterruptsTravis Downs2019/08/21 07:23 PM
      InterruptsLinus Torvalds2019/08/22 09:58 AM
        InterruptsLinus Torvalds2019/08/22 11:01 AM
          InterruptsCharles2019/08/22 11:55 PM
            InterruptsLinus Torvalds2019/08/23 08:19 AM
              Thanks (NT)Charles2019/08/23 11:18 AM
          InterruptsTravis Downs2019/08/23 11:37 PM
        InterruptsTravis Downs2019/08/23 07:51 PM
Reply to this Topic
Name:
Email:
Topic:
Body: No Text
How do you spell purple?