Date: Fri, 12 Jun 2015 10:51:20 +0300 From: Stefan Andritoiu <stefan.andritoiu@gmail.com> To: freebsd-virtualization@freebsd.org Subject: Are the sched_choose() or tdq_choose() functions called after returning from an interrupt? Message-ID: <CAO3d8=YWAn%2B9FYUBhnTFee99e7NuZ1VoY9A%2BLn-zj=rDHboV%2BQ@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hello, When returning from an interrupt, does it switch directly the thread that was interrupted? Or is the scheduler called to choose a thread to run (most probable the thread that was interrupted)? More specifically, are the sched_choose() or tdq_choose() functions called after returning from an IPI? Does an interrupt have it's own thread, or does it run in the context of the interrupted thread as in Linux? Thank you, Stefan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAO3d8=YWAn%2B9FYUBhnTFee99e7NuZ1VoY9A%2BLn-zj=rDHboV%2BQ>