Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How Linux Kernel 2.6, Scheduler gets scheduled & how it schedules process?

Status
Not open for further replies.

raj_linux

Newbie level 2
Newbie level 2
Joined
Aug 30, 2011
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,299
Hi,

I read the earlier post -- "RTOS vs. Linux kernel workqueue - what are advantages ? ". It is an awsome explaination. It is of great help for any Linux beginner.
I've one a few very basic questions -- How Linux Scheduler gets scheduled? Who schedules it? If let's assume, on my x86 PC, a key is pressed on gedit process. Starting from Hardware interrupt, how actually, the key is shown on the gedit screen??
It involves, Hardware interrupt, processor, ISR, context switching, device driver etc... I would be really thankful if anybody can explain me the complete flow. I didn't come across any blog, thread anywhere which discusses about this.


with regards
Raj
 

Hi..
Basically scheduler gets scheduled by kernel itself......Please once check below links..I hope it will help you
**broken link removed**
**broken link removed**
**broken link removed**
 
Hi Naveen,

First of all, a big thanks for your prompt response.
I'm reading the stuff mentioned by you. Thanks once again.

It would be great if I can get the complete flow for the usecase I mentioned:
Let's assume, on my x86 PC, a key is pressed on gedit process. Starting from Hardware interrupt, how actually, the key is shown on the gedit screen??
It involves, Hardware interrupt, processor, ISR, context switching, device driver etc...


(In the usecase, the minute details like finding out the priority, timeslice computation or things like that can be safely ignored for simplicity purpose.)
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top