public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Preemptive kernel and vm management in 2.4.9
@ 2001-09-21  0:19 Samuel T Ting
  2001-09-21  1:42 ` Mike Fedyk
  2001-09-21  8:48 ` Anders Peter Fugmann
  0 siblings, 2 replies; 3+ messages in thread
From: Samuel T Ting @ 2001-09-21  0:19 UTC (permalink / raw)
  To: linux-kernel

Hello all,

Lately, I have been hearing a lot about preemptive kernels on the list.
I have just started looking into kernel internals, so could somebody
explain what kernel preemption is?

Also, how does virtual memory management in 2.4.9 work?

Thanks!

Samuel Ting


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Preemptive kernel and vm management in 2.4.9
  2001-09-21  0:19 Preemptive kernel and vm management in 2.4.9 Samuel T Ting
@ 2001-09-21  1:42 ` Mike Fedyk
  2001-09-21  8:48 ` Anders Peter Fugmann
  1 sibling, 0 replies; 3+ messages in thread
From: Mike Fedyk @ 2001-09-21  1:42 UTC (permalink / raw)
  To: linux-kernel

On Thu, Sep 20, 2001 at 05:19:46PM -0700, Samuel T Ting wrote:
> Hello all,
> 
> Lately, I have been hearing a lot about preemptive kernels on the list.
> I have just started looking into kernel internals, so could somebody
> explain what kernel preemption is?
> 
> Also, how does virtual memory management in 2.4.9 work?
> 

You should read the threads about preemption for the last couple months.

Also, www.kernelnewbies.org and linux-mm.org are great.

You should seriously think of reading archives and/or a web search before
asking general questions like that.

Mike

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Preemptive kernel and vm management in 2.4.9
  2001-09-21  0:19 Preemptive kernel and vm management in 2.4.9 Samuel T Ting
  2001-09-21  1:42 ` Mike Fedyk
@ 2001-09-21  8:48 ` Anders Peter Fugmann
  1 sibling, 0 replies; 3+ messages in thread
From: Anders Peter Fugmann @ 2001-09-21  8:48 UTC (permalink / raw)
  To: Samuel T Ting; +Cc: linux-kernel

The preemption patch helps on problems with high letencies.

High latencies means that the kernel is busy doing something, so that 
other threads will get starved. This problem is especially seen when 
using multimedia.

The most discussed problem is listening to a MP3-file, while the machine 
has a high load. What we want to avoid is skips in the music.

Tee preemption patch helps, because it allows preemption of processes 
running in kernel space, meaning that the sheduler can choose another 
process, even though the process running is in kernel-space.
(A very crude description, I know, but AFAIK is is the general idea)

Without the preemption patch, whenever a userprocess makes a call to the 
kernel, it could not be resheduled before the call had returned. This 
results in very high latencies for some kernel calls.

Hope it helps, othervice please refere to documentation and recent 
lkml-threads.

Anders Fugmann



Samuel T Ting wrote:

> Hello all,
> 
> Lately, I have been hearing a lot about preemptive kernels on the list.
> I have just started looking into kernel internals, so could somebody
> explain what kernel preemption is?
> 
> Also, how does virtual memory management in 2.4.9 work?
> 
> Thanks!
> 
> Samuel Ting
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 
> 




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-09-21  8:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-21  0:19 Preemptive kernel and vm management in 2.4.9 Samuel T Ting
2001-09-21  1:42 ` Mike Fedyk
2001-09-21  8:48 ` Anders Peter Fugmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox