Subject: Re: how do I disable preemptive scheduling for the currently executing kproc?
To: Tad Hunt <>
From: Jason Thorpe <>
List: tech-kern
Date: 07/17/2003 23:03:51
On Thursday, July 17, 2003, at 04:15  PM, Tad Hunt wrote:

> I looked, but I don't see where the kernel makes the decision not
> to reschedule a process which is executing in kernel space.

Actually, the kernel makes a decision to preempt a process when it 
returns to user space.  Look for calls to the preempt() function from 
machine-dependent trap return code.

         -- Jason R. Thorpe <>