Re: How Does Preemptive and non-Preemptive kernel works in following case.

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

 



Hi,

On Wed, 12 Apr 2006 14:58:32 +0530
"Manjunath Naik" <peter.desouzain@xxxxxxxxx> wrote:

>   main()
>  {
>      while(1);
>   }

If you put "main()" at the beginning, I'll assume this code is executed
in userspace. Under Linux, userspace programs have always been
preemptible. So, of course, this userspace program won't block all the
system.

The discussion concerning preemption between 2.4 and 2.6 only applies
to the code executed by the kernel itself.

Sincerly,

Thomas
-- 
PETAZZONI Thomas - thomas.petazzoni@xxxxxxxx 
http://{thomas,sos,kos}.enix.org - Jabber: thomas.petazzoni@xxxxxxxxx
http://{agenda,livret}dulibre.org - http://www.toulibre.org
Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E  1624 F653 CB30 98D3 F7A7

Attachment: signature.asc
Description: PGP signature


[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