[lkml]   [2001]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] (Updated) Preemptible Kernel
This sounds interesting, but am I correct in assuming that this only allows 
preemption during code that is called from user space? For instance, it
would be bad to preempt an ISR or BH, right? Actually... what happens if
say, the kernel called from user space is holding a lock, and gets preempted?
Is there a mechanism to disable preemption while holding locks or at other
resources that need to be freed before another task is run?

By the way, are there any other 'modes of execution' for lack of a better
word, besides IRS, B, and.... 'called from user space', also for lack of a
better word. Forgive me, I'm not that familiar with the Linux kernel yet.

On Thursday 06 September 2001 10:02 pm, Robert Love wrote:
> Available at (about 29K):
> for kernel 2.4.10-pre4 and 2.4.9-ac9, respectively.
> Changes since previous post:
> * update for new kernels
> * fix newline/space format buglet
> Changes since original patch:
> * fix compile bug -- CONFIG_HAVE_DEC_LOCK is set as needed, now.
> This patch allows a new config setting, CONFIG_PREEMPT (set in
> `Processor Type and Features') that enables a fully preemptible kernel.
> Preemption is controled via SMP lock points. Control of execution is
> yielded to higher processes even if the currently running process is in
> kernel space.
> This should increase response and decrease latency, and is a highly
> recommended patch for real-time, audio, and embedded systems. However,
> it is recommended for anyone. I use it on my everyday workstation.
> An interesting new article on a preemptible kernel in linux is available
> at:

--> Phill Susi
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:02    [W:0.037 / U:0.704 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site