From: Jeff Dike <jdike@ka...> - 2002-09-12 03:33:08
> I was only worried about I/O device driver interrupts, which I can't
> imagine would need to access the current process for any reason.
Linux would like to schedule after any interrupt, regardless of source, and
rescheduling necessarily requires access to current. However, if some don't,
that's not really a huge problem. It'll just make interrupt latency longer
than it needs to be in some cases.
However, the timer absolutely does need to call schedule since that's the
one thing that guarantees that processes can be preempted.