在Linux中,处理器所作的事可以归纳为3种情况: 1.In user-space, executing user code in a process; 2.In kernel-space, in process context, executing on behalf of a specific process; 3.In kernel-space, in interrupt context, not associated with a process, handling an interru