Interrupts

By: Travis Downs (travis.downs.delete@this.gmail.com), August 19, 2019 6: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 06:13 PM
  Interruptsanon2019/08/19 08:10 PM
    Interruptsblaine2019/08/19 10:50 PM
      Interruptsrwessel2019/08/20 12:40 PM
        InterruptsDavid Hess2019/08/21 06:09 PM
  InterruptsLinus Torvalds2019/08/20 10:37 AM
    InterruptsBrett2019/08/20 10:48 AM
      InterruptsMichael S2019/08/20 11:06 AM
      InterruptsLinus Torvalds2019/08/20 11:49 AM
        Interruptsanonymou52019/08/20 12:12 PM
        InterruptsMaynard Handley2019/08/21 07:46 AM
          InterruptsEtienne2019/08/21 08:24 AM
            InterruptsRobert David Graham2019/08/21 09:44 AM
          InterruptsLinus Torvalds2019/08/21 11:22 AM
            InterruptsMaynard Handley2019/08/21 07:04 PM
            Interruptsanon2019/08/21 08:10 PM
              Interruptsanonymou52019/08/21 09:18 PM
          Interruptsrwessel2019/08/21 12:30 PM
      Interrupts, slow?Brendan2019/08/20 06:05 PM
        Interrupts, slow?Anon2019/08/21 12:18 AM
      InterruptsDavid Hess2019/08/21 06:17 PM
    InterruptsTravis Downs2019/08/21 08:23 PM
      InterruptsLinus Torvalds2019/08/22 10:58 AM
        InterruptsLinus Torvalds2019/08/22 12:01 PM
          InterruptsCharles2019/08/23 12:55 AM
            InterruptsLinus Torvalds2019/08/23 09:19 AM
              Thanks (NT)Charles2019/08/23 12:18 PM
          InterruptsTravis Downs2019/08/24 12:37 AM
        InterruptsTravis Downs2019/08/23 08:51 PM
Reply to this Topic
Name:
Email:
Topic:
Body: No Text
How do you spell green?