You are not logged in.

#1 2007-10-24 15:58:36

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

Why cooperative multitasking?

Why is archs kernel compiled with cooperative multitasking and not preemptive multitasking? Cooperative multitasking is an extremly old way to do multitasking which you need to go back to windows 95 and Mac OS 9 to find other operating system which uses the same technic?


Use the Source, Luke!

Offline

#2 2007-10-24 16:08:05

foxbunny
Member
From: Serbia
Registered: 2006-10-31
Posts: 759
Website

Re: Why cooperative multitasking?

I don't know why (I'm guessing it's the default setting in the config). If you don't like that, you can recompile the kernel using ABS.

http://wiki.archlinux.org/index.php/ABS
http://wiki.archlinux.org/index.php/Ker … n_with_ABS

Offline

#3 2007-10-24 16:33:30

btartsa
Member
Registered: 2004-07-26
Posts: 222

Re: Why cooperative multitasking?

can you specify which config options you are referring too?

Offline

#4 2007-10-24 16:44:32

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: Why cooperative multitasking?

$ uname -a
Linux ###### 2.6.23-ARCH #1 SMP PREEMPT Mon Oct 22 10:58:45 UTC 2007 i686 AMD Athlon(tm) 64 Processor 3700+ AuthenticAMD GNU/Linux

Doesn't the bold snippet tell that my kernel uses preemptive multitasking? This is on the stock 32bit Arch kernel.

Last edited by Ramses de Norre (2007-10-24 16:44:55)

Offline

#5 2007-10-24 19:45:39

funkyou
Member
From: Berlin, DE
Registered: 2006-03-19
Posts: 848
Website

Re: Why cooperative multitasking?

Afaik the linux kernel never had cooperative multitasking. Its only used by this uncooperative OS still installed on most desktops out there...


want a modular and tweaked KDE for arch? try kdemod

Offline

#6 2007-10-24 20:42:53

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

Re: Why cooperative multitasking?

Hmmm, a friend of my tried arch, and he was very annoyed over this, maybe he was looking wrong at the default kernels config file? I don't know.


Use the Source, Luke!

Offline

#7 2007-10-24 21:46:48

thorstenhirsch
Member
Registered: 2005-08-03
Posts: 115

Re: Why cooperative multitasking?

Of course Linux doesn't use cooperative multitasking. Even Windows doesn't use it nowadays. I think you have to go back to the days when Windows was not an OS on its own to find cooperative multitasking.

Last edited by thorstenhirsch (2007-10-24 21:47:16)

Offline

#8 2007-10-25 00:24:43

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Why cooperative multitasking?

Roberth wrote:

Hmmm, a friend of my tried arch, and he was very annoyed over this, maybe he was looking wrong at the default kernels config file? I don't know.

My guess is he was making things up. I mean, if something was acting weird, or slow, I would never say "man, this kernel config option is annoying". I'd say it was slow, or weird, or whatever it were actually doing.

Offline

#9 2007-10-25 00:27:58

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: Why cooperative multitasking?

Oh man, arch uses glockenshelaley IO primates in the bus factory interface?
*oop ack*


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

Board footer

Powered by FluxBB