title: Entry and exit of kernel schedule() function
body: <p>I know that the kernel scheduler is run periodically. This period is determined by a timer.
  However, I have been unable to find where the IRQ for the timer interrupt is and the entire flow from beginning to end of the scheduler code.</p>
  
  <p>I understand that the schedule() function may potentially have several entry and exit points..
  but could someone point me towards where to look for these?</p>
  
  <p>From the kernel source, I've gathered that __schedule() is the main schedule function that seems to be called from schedule()..
  but what calls schedule()..and what calls the function that calls schedule.. ..</p>