Re: Terminate and Stay Resident Software (TSR) in Linux
- From: "Geronimo W. Christ Esq" <thegreatsuprendo@xxxxxxxxxxx>
- Date: Fri, 24 Nov 2006 21:12:59 +0000
Sebastian wrote:
Why give a timeslice to a process waiting for input that the scheduler
knows has not received that input? That's just a waste of resources.
Yes, that was my idea, too. I did not know how/if it's done.
It's done with interrupts. The task goes to sleep and never gets a timeslice until the interrupt occurs to wake it up.
Timeslices are only allocated to tasks which are actually runnable, ie they are not sleeping waiting for an interrupt.
.
- References:
- Terminate and Stay Resident Software (TSR) in Linux
- From: karthikbg
- Re: Terminate and Stay Resident Software (TSR) in Linux
- From: Stephane CHAZELAS
- Re: Terminate and Stay Resident Software (TSR) in Linux
- From: Sebastian
- Re: Terminate and Stay Resident Software (TSR) in Linux
- From: Sebastian
- Terminate and Stay Resident Software (TSR) in Linux
- Prev by Date: Re: IDE device driver query
- Next by Date: Re: Communication between threads of same PIDs
- Previous by thread: Re: Terminate and Stay Resident Software (TSR) in Linux
- Next by thread: Re: Terminate and Stay Resident Software (TSR) in Linux
- Index(es):
Relevant Pages
|