Thursday, February 08, 2007

An overview of UNIX kernels !!!

In this blog, I would like to share with you " An overview of UNIX kernels". Well some of you might be wondering what is a kernel ?? Am I right ?? Yes I am.

So here is the definition of kernel...

The kernel is the core of an operating system, it is loaded into main memory at boot time and it stays in the main memory until shut down. The kernel has two main responsibilities..

  • To service low level hardware programming requirements (e.g. responding to hardware interrupts).

  • To provide an environment for processes; instances of programs or threads in execution.

Mainly there are two types of kernels...monolithic kernels and microlithic kernels...More on that in my next post...

And now back to Unix Kernels....

Unix kernels provide an execution environment for the applications or processes. The applications can interact with other components of the system (mainly hardware) with the help of the resources, interfaces and the set of services provided by the kernel.

Processes and Threads

A process can be defined as program in execution. And thread can be defined as a sort of independent 'strand' in the course of a program execution. As opposed to processes, threads work on the same memory and can influence each other. The process of creating, terminating and synchronizing the process is controlled by a set of kernel routines.

Unix process/kernel model

In unix there are two modes of execution, they are user mode and kernel mode. User mode can be defined as a less privilaged mode. Because in user mode the process cannot access the kernel data structures. And the kernel mode is the high privilaged mode. In the kernel mode, a process can access all the kernel data structures. Normally, a program run in user mode but when a system call or interrupt comes it switch from user mode to kernel mode.

Re-entrant kernels

Unix has re entrent kernel. It simply means that several processes are executing in kernel mode at the same time. Yes ofcourse one process at one instant of time. Only one process will be executing and the other processes might be waiting. If the currently executing process needs
to do a read/ write operation on harddisk. The current process is temporarily stopped and the control is given to the device handler. And the kernel may start another process that is waiting. And when the the hard disk operation ceases the device handler raises an interrupt showing that the operation is over. And now the former process which was in the halt state comes back to execution. This feature in unix/linux kernels is called re-entrancy.

One way to provide re - entrancy is to write functions which allows to change the local variables but protects the global data structures from being modified. Such functions are called re-entrant functions. So in a re-entrant kernel an interrupt can stop a process even if it is in the kernel mode.

This is the basic overview of unix kernels.

41 comments:

Anonymous said...

thanks man ......

Anonymous said...

Technology really is an inescapable aspect of our daily lives, and I think it is safe to say that we have passed the point of no return in our relationship with technology.


I don't mean this in a bad way, of course! Societal concerns aside... I just hope that as memory becomes less expensive, the possibility of copying our memories onto a digital medium becomes a true reality. It's a fantasy that I dream about almost every day.


(Posted on Nintendo DS running [url=http://kwstar88.livejournal.com/491.html]R4i[/url] DS SPPost)

Anonymous said...

Genial fill someone in on and this enter helped me alot in my college assignement. Thank you as your information.

Anonymous said...

I am reading this article second time today, you have to be more careful with content leakers. If I will fount it again I will send you a link

Anonymous said...

You have to express more your opinion to attract more readers, because just a video or plain text without any personal approach is not that valuable. But it is just form my point of view

Anonymous said...

Sweet site, I hadn't come across bonniem.blogspot.com previously during my searches!
Carry on the excellent work!

Anonymous said...

I've on all occasions liked things like sand clocks, lava lamps, and the like to type of rightful spend all at once staring at it as a configuration of catharsis. In a route, it helps me with meditation, to reduce stress and strain and just deem about nothing. That's why since I was a kid, instead of dolls and cars I've perpetually at ease more of such pieces like sand clocks, lava lamps, harmonious boxes etc. So I was most pleased when I base the[url=http://www.dealtoworld.com/goods-1260-2-Laser++LED+Light+Show+Laser+Top+Gyroscope+with+Music+Effects.html] 2-Laser + LED Shine Manifest Laser Ace Gyroscope with Music Effects[/url] from DealtoWorld.com protection the Toys section. It's like a harmonious thump, a spinning exceed, and a berate show all rolled into one. Which is spectacular entertainment! The gyroscope will outing for around a minute. The laser enlightenment pretension with accompanying music makes this gyroscope a pretty unequalled fiddle with that my friends be suffering with also been most amused with.

My dogs are also nice-looking curious around the laser gyroscope I got from DealtoWorld.com. They each cleave to the gyroscope as it spins, although at first place they kept barking at the laser diverting dismiss accompany, and also because it produces music. But after they got used it, they've stopped barking but due watch over following the gyroscope whenever I start spinning it. Kids are also attractive amused nearby it. Sometimes it's good to possess diverting toys on all sides the lineage so that you can pull out the small on while the kids are being amused or playing with it while you live fit out scoff or receive changed. The gyroscope is a particular such fool with with this purpose.

The gyroscope I bought from DealtoWorld.com has a dragon as a map on it, and produces a taper accompany with red, blue, and green colours. Steal a look at the pictures I've uploaded of the gyroscope with laser luminosity show. The music produced from the gyroscope is not that enormous but decorous sufficiency to consider any redone visitor to the house. The gyroscope is red and jet-black, making it look exceedingly cool, and slightly masculine with that dragon imprint.

The music luminescence make clear gyroscope runs on 6 LR44 batteries, which are replaceable anyway. I've also acclimatized this gyroscope to their heels my girlfriend during our anniversary celebration. I did the cheesy matter of decorating the b & b latitude with roses and when I led her in, I started up the gyroscope as well so that the laser insight register produces a dreamed-up effect. I also had some battery operated candles so all the moonlight effects created a sort of romanticist atmosphere. She loved it, not later than the custom, to my relief. I also bought the candles from DealtoWorld.com. These days it seems to be my oversight shopping placement in return all gifts and ideas for fancied occasions.

Since Christmas is coming, this laser light make clear gyroscope can possibly be a momentous Christmas gift looking for the toddler or even the humour! Alternatively, the gyroscope can altogether be a gracious reckoning to the ordinary Christmas decorations. I can presume placing it within a mile of the Christmas tree and maybe spinning it when guests arrive in the house. Looks like [url=http://www.dealtoworld.com]DealtoWorld.com[/url] is getting my duty still again!

Anonymous said...

[b][url=http://www.luxuryhandbagsalesshop.com/]louis vuitton handbags oultet[/url][/b] Consider just about any creator designer purse web pages and you also are therefore apt to get them getting used around. To search out one of a kind designer purses is simply a tiny number of keys to press aside similarly. They feature the best of the best that will make it easier to help you save the massive dollars.

[b][url=http://www.uggbootsoutletukstore.co.uk/]ugg boots[/url][/b] For female intending to put on denims, also even though on an laid-back Feb fifth or perhaps an informal company meeting, t-shirts and likewise fish tank surfaces is usually rather a no-no. Marginally accessorizing in addition to formal jacket may possibly change the genuine expert dial using a smaller little bit, having said that button-down handles together with female tops will be the finest guess to obtain a talented business relaxed try out on the lookout in jeans. The easiest shouldn't be also restricted and also revealing.

[b][url=http://www.besthandbagstore.co.uk/]louis vuitton outlet[/url][/b] This corporation features options to a extensive array of sectors, this sort of as clinical ups to help keep vital machinery running, processing systems for economic sectors, infrastructures for data centres plus far more power answers for IT, retail, MOD, marine, industrial, telecommunications, etc. They may be a seasoned firm that supply, put in and manage a support for their shoppers, and along with this they believe that providing uninterruptable electrical power remedies involves them to create a robust and trusting romance with their buyers to ensure complete customer fulfillment. They supply a variety of goods and products and services to ensure you will generally have strength; this includes single period ups, a few stage ups, rackmount ups, details centre ups, batteries, generators, electric power conditioning models, pdu's additionally significantly extra..

[b][url=http://www.louisvuittonsalesstoreus.com/]louis vuitton on sale[/url][/b] A harmless time of moodiness can switch into one thing extra violent or detrimental from the flash of the eye, so becoming knowledgeable of what goes on in their lifestyle will probably be critical. Usually, a great signal is if they arenâ„¢t as ready to converse whatâ„¢s bothering them. If wanted, look at with their instructors, principal or even college counselors to test and obtain towards the bottom of it..

[b][url=http://www.uggbootsoutletukstore.co.uk/]uggs boots[/url][/b] No matter on birthday celebration, anniversary, Xmas working day, New Year's time, Easter or perhaps the like, they've particular colors, prices or logos and patterns, which correspond to your special day. With this you are able to now manage Louis Vuitton excellent and design within your finances. It is definitely tricky to choose which sort of bag so you choose to choose the brand name .

Anonymous said...

[url=http://www.microgiving.com/profile/lexapro]gaudium marques
[/url]escitalopram medication
esertia vitaminas
information on esipram
eslorex yorum

Anonymous said...

[url=http://www.freewebs.com/atorvastatin]xanthelasma lipitor
[/url]atorvastatin target
atorvastatin effects
buy atorvastatin calcium
lipitor cost australia
atorvastatin 10 mg ezetimibe 10 mg

Anonymous said...

top [url=http://www.001casino.com/]free casino bonus[/url] check the latest [url=http://www.casinolasvegass.com/]free casino games[/url] unshackled no deposit bonus at the leading [url=http://www.baywatchcasino.com/]bay attend casino
[/url].

Anonymous said...

top [url=http://www.c-online-casino.co.uk/]uk casinos[/url] hinder the latest [url=http://www.casinolasvegass.com/]casino online[/url] manumitted no deposit bonus at the leading [url=http://www.baywatchcasino.com/]online casino
[/url].

Anonymous said...

maqui berry taste kh2bt0 maqui berry buy bz6ww8 maqui berry review ac9ub1 maqui berry side effects pc1mp0 cheap maqui berry lo4lt0 maqui berry ultimate xv7qw1 order maqui berry zi4ko5 select maqui berry eb3fw8 buy maqui berry weight loss bp0op6 what does maqui berry do gs5vs0 maqui berry official website maqui berry dosage fo0lw8

Anonymous said...

ni8ew8 hgh energizer formula tk2vd4 hgh energizer cheap gz7fh1 hgh energizer 4 sale wz1up2

Anonymous said...

yy3kv4 xtreme no effects ls9ww3 cheap xtreme no ym0af8 xtreme no side effects il3xi2

Anonymous said...

rf6gh9 xtreme no in south africa wp4qm9 http://orderxtremeno.tumblr.com gw0zs2 xtreme no side effects bu0oa1

Anonymous said...

6deyb616 provillus free shipping 6qoaz377 provillus 9gtoc597 buy provillus locally 3mjan321

Anonymous said...

7liqx833 provillus hair vitamins 7wumf226 provillus buy 7dpxg678 provillus ultra herbal 9fmvl957

Anonymous said...

7zp7kg7 cheap raspberry ketones 4ya9sg2 benefits of raspberry ketones and green tea 8ru8mj5 raspberry ketones dosage to lose weight 4ll2og7 raspberry ketones reviews and side effects 8pc1lg1 best raspberry ketones on the market 1iy3un3 raspberry ketones official website 1fo8wh8 where to buy raspberry ketones vitamins 5mx2es9 cheaper raspberry ketones 5em2wu7 red raspberry ketones reviews 4ao0qx2

Anonymous said...

uc1sa9 maqui berry dr oz ed1gv7 maqui berry maqui berry uses rq3uv1

Anonymous said...

|
Next way oF autoresponFer usage proveF http://www.germanylovelv.com/
earn huge income [url=http://www.germanylovelv.com/]Louis Vuitton kopierte Tasche kaufen[/url]
many online entrepreneur[url=http://www.germanylovelv.com/]Louis Vuitton Outlet[/url]
Timely FelivereF Follow up email messages that are baseF on autoresponFer are wiFely recognizeF as a must-have marketing strategy. The theory behinF claims that biggest customer response is gaineF at 8th contact only.
The First thing that you neeF [url=http://www.germanylovelv.com/]louis vuitton knolckoffs[/url]
Fo [url=http://www.germanylovelv.com/]louis vuitton knolckoffs[/url]
exercise your poster marketing muscles is http://www.germanylovelv.com/
start with those common public location[url=http://www.germanylovelv.com/]Louis Vuitton Outlet[/url]
Bus stops, bulletin boarFs, train stations anF other community areas shoulF be covereF with your custom poster[url=http://www.germanylovelv.com/]Louis Vuitton Outlet[/url]
These are the staple For any kinF oF poster marketing anF it shoulF give you your FounFation For business exposure.There are numerous keys [url=http://www.germanylovelv.com/]louis vuitton knolckoffs[/url]
making your blog operate to suit your neeFs, as a substitute For another way about. AFter you unFerstanF anF integrate these measures, it shoulF choose you simply 10-20 minutes per put up. It really is proposeF that a Further twenty minutes a pair oF instances each week shoulF really be put in reaFing through anF commenting on other blogs anF websites online so you can carry worthwhile inFormation anF Facts [url=http://www.germanylovelv.com/]louis vuitton knolckoffs[/url]
your reaFers..

Anonymous said...

cheap raspberry ketones 6na9sc0 raspberry ketones for weight loss buy raspberry ketones online 5dm2ez5

Anonymous said...

Hello. And Bye. Thank you very much.

Anonymous said...

qg5wk9 da8fi6 toe nail fungus cm0hm0 nc1ya3 http://zetaclearbuy.webs.com/ http://zetaclearreviewsx.webs.com/ http://toenailfungusremedies.webs.com/ http://nailfungustreatmenttoday.webs.com/

Anonymous said...

Everyone loves what you guys are up too. Such clever work and reporting!
Keep up the excellent works guys I've incorporated you guys to my blogroll.

Here is my web blog ... miu miu 財布

Anonymous said...

I appreciate, result in I found just what I was taking a look for.
You have ended my 4 day lengthy hunt! God Bless
you man. Have a nice day. Bye

My site: chloe バッグ

Anonymous said...

I'm impressed, I must say. Seldom do I encounter a blog that's both educative and engaging, and without a doubt, you've hit the nail on the head. The problem is something not enough people are speaking intelligently about. I am very happy I came across this in my hunt for something relating to this.

Visit my web-site :: コーチ 財布

Anonymous said...

Do you mind if I quote a couple of your posts as long as I
provide credit and sources back to your webpage? My website
is in the very same area of interest as yours and
my users would truly benefit from a lot of the information you provide here.
Please let me know if this alright with you.
Thanks a lot!

my web blog robotc.mx

Anonymous said...

Nice respond in return of this question with solid arguments and
explaining all about that.

Also visit my web site :: トリーバーチ靴

Anonymous said...

Hi there, after reading this remarkable post i am also happy
to share my know-how here with friends.

My blog; http://www.chloeoutletshopx.com/

Anonymous said...

If you are going for best contents like I do, only pay a
visit this web site daily because it provides feature contents, thanks

Here is my webpage; http://www.toryburchoutletshop2013.com

Anonymous said...

Hey There. I found your weblog the usage of msn.
This is an extremely smartly written article. I will make sure to bookmark it and come back to learn more of your useful info.
Thank you for the post. I'll definitely return.

Feel free to visit my weblog: wiki.i-crew.org

Anonymous said...

Αfter eхploring а few of the blog articles
on уour blog, Ӏ honestlу appreciаte your way of ωritіng a blog.
I saved as a favοrite it tο my bookmark webрage liѕt and will
be checking bасk soоn. Take a look at my wеbsіte as well and tell me your
opinion.

Mу hоmеpagе - http://www.squirrelstales.com/2011/05/squirrels-baseball-an-interview-with-radio-hosts-jon-laaser-and-anthony-oppermann/opps_and_laze_550x325/

Anonymous said...

Usually I do not read article on blogs,
howеνer I wish tо say thаt this wrіte-up vеry pressured me to take a look at anԁ do so!
Yοur wrіting tаste has beеn surρгised
mе. Thanks, quitе greаt post.

Feel fгee to ѕurf to mу page :: facebook cuenta gratis

Anonymous said...

I could not resist commenting. Exceptionally well written!


Here is my weblog :: トリーバーチ財布

Anonymous said...

Hi, I log on to your blogs like every week. Your writing style is awesome, keep
up the good work!

Feel free to surf to my weblog - コーチメンズバッグ

Anonymous said...

Every weekend i used to visit this web site, as i want enjoyment,
since this this web site conations truly fastidious funny
data too.

Also visit my weblog: ミュウミュウ長財布

Anonymous said...

I've read several just right stuff here. Certainly value bookmarking for revisiting. I surprise how a lot effort you put to make any such excellent informative web site.

my web page :: Abrir Cuenta Facebook

Anonymous said...

Еxcellent post. Ι was checking continuouѕlу this
blоg and I'm impressed! Very helpful information specifically the last part :) I care for such information much. I was looking for this particular info for a very long time. Thank you and best of luck.

my web blog - http://ichsan-menembus-batas-nalar.blogspot.com

Anonymous said...

Ӏt's a pity you don't havе a donаtе button!
I'd without a doubt donate to this brilliant blog! I suppose for now i'll settle for bоokmarking аnd adԁіng уouг RSS
fееd to mу Google aсcοunt.
ӏ lоok foгωard tо brand neω updates
and wіll talk about this site with my Facebook grоup.
Talk soon!

my weblog; crear facebook

Anonymous said...

I was rеcommended this blog by my cousin. Ι'm not sure whether this post is written by him as no one else know such detailed about my trouble. You are wonderful! Thanks!

My homepage http://psyfacile.blogspot.com/2010/09/quand-les-problemes-saccumulent.html