non-preemptive kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In linux 2.4 the kernel is non-preemptive
That is, at any time, a process running in kernel mode can not be preempted by another user process, right?
 
Consider a user process issue a syscall, trap into kernel and when it stay in kernel mode, the timer interrupt comes and
the process find the its own time quantum is used up(task_struct->counter <=0)
it should be schduled out after timer interrupt complete, right?
 
then , if another user process scheduled to run issue a syscall, what happen?   
is it  allowed to trap into kernel?
if no, what mechanism used here ?
   

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux