Re: preemptive

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

 



On Tue, Feb 18, 2003 at 06:42:08PM +0100, Lukas Ruf wrote:
> * ytse <javaguest@libero.it> [2003-02-18 18:36]:
> 
> > What means non preemptive?
> > 
> 
> preemptive:     interruptible
> non-preemptive: non-interruptible
> 
> this means that a task running in kernel space can not be interrupted
> by another task in kernel space, i.e. the scheduler, if run, returns
> always to the same process/task on return.

Can you tell me where this is done in the scheduling algorithm
(2.4.xx)?
 
> However, Linux is a multitasking OS.  Processes in user space may be
> interrupted nearly at any time.  
> 
> Another process model would "co-operative" where processes in user
> space are interrupted only by system calls, i.e. they agree to give
> the processor away to another process.
> 
> Consider reading a book on OS principles...

..doing... :)
 

Thanks.

ytse
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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