a micro micro kernel

Discussions on more advanced topics such as monolithic vs micro-kernels, transactional memory models, and paging vs segmentation should go here. Use this forum to expand and improve the wiki!
User avatar
Brendan
Member
Member
Posts: 8561
Joined: Sat Jan 15, 2005 12:00 am
Location: At his keyboard!
Contact:

Re: a micro micro kernel

Post by Brendan »

Hi,
earlz wrote:no, I mean "out of the kernel" as in near native speed IPC going from ring 0->0. (my framework doesn't know about userspace)
Um?

Can you explain how that is different to a kernel module?


Cheers,

Brendan
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.
earlz
Member
Member
Posts: 1546
Joined: Thu Jul 07, 2005 11:00 pm
Contact:

Re: a micro micro kernel

Post by earlz »

Brendan wrote:Hi,
earlz wrote:no, I mean "out of the kernel" as in near native speed IPC going from ring 0->0. (my framework doesn't know about userspace)
Um?

Can you explain how that is different to a kernel module?


Cheers,

Brendan
well I suppose I confused myself on terminology.. but I don't intend for the modules to have direct access to kernel symbols..
m35
Member
Member
Posts: 26
Joined: Sun Aug 09, 2009 2:51 pm

Re: a micro micro kernel

Post by m35 »

earlz wrote: well I suppose I confused myself on terminology.. but I don't intend for the modules to have direct access to kernel symbols..
How do you prevent that if it's running in ring 0?
earlz
Member
Member
Posts: 1546
Joined: Thu Jul 07, 2005 11:00 pm
Contact:

Re: a micro micro kernel

Post by earlz »

m35 wrote:
earlz wrote: well I suppose I confused myself on terminology.. but I don't intend for the modules to have direct access to kernel symbols..
How do you prevent that if it's running in ring 0?
I don't prevent it.. but I also don't support it
User avatar
AndrewAPrice
Member
Member
Posts: 2299
Joined: Mon Jun 05, 2006 11:00 pm
Location: USA (and Australia)

Re: a micro micro kernel

Post by AndrewAPrice »

May I suggest searching through the archives? If you're somewhat interested in microkernels I recommend reading: http://forum.osdev.org/viewtopic.php?f=1&t=10712
My OS is Perception.
User avatar
NickJohnson
Member
Member
Posts: 1249
Joined: Tue Mar 24, 2009 8:11 pm
Location: Sunnyvale, California

Re: a micro micro kernel

Post by NickJohnson »

berkus wrote:
Brendan wrote: However, IMHO there are some things that never make sense (e.g. shifting the scheduler out of the kernel). In these cases you get the disadvantages (worse efficiency caused by slower interfaces) but you don't get any advantages (you're still screwed if it crashes).
Take a look at Pebble, it is certainly possible to do this rather efficiently.
But it's harder to implement (especially efficiently), there's always at least a bit of latency due to context switching, and it really doesn't help in 99.99% of circumstances,
Post Reply