View Single Post
Old 26th June 2008
richardpl richardpl is offline
Spam Deminer
 
Join Date: May 2008
Location: Croatia
Posts: 284
Default

There are embeded aplications wich use patched FreeBSD kernel which acts as real time kernel.

FreeBSD have preemption by default already enabled in 7.0

Additionaly you can buid kernel with FULL_PREEMPTION:

Code:
# SMP Debugging Options:
#
# PREEMPTION allows the threads that are in the kernel to be preempted
#         by higher priority threads.  It helps with interactivity and
#         allows interrupt threads to run sooner rather than waiting.
#         WARNING! Only tested on amd64 and i386.
# FULL_PREEMPTION instructs the kernel to preempt non-realtime kernel
#         threads.  Its sole use is to expose race conditions and other
#         bugs during development.  Enabling this option will reduce
#         performance and increase the frequency of kernel panics by
#         design.  If you aren't sure that you need it then you don't.
#         Relies on the PREEMPTION option.  DON'T TURN THIS ON.
Reply With Quote