CONFIG PREEMPT RT Patch

From RTwiki
(Difference between revisions)
Jump to: navigation, search
(Download)
(Add Table of Platforms tested on Real-Time)
Line 27: Line 27:
  
 
https://wiki.ubuntu.com/RealTime
 
https://wiki.ubuntu.com/RealTime
 +
  
 
== Sending patches ==
 
== Sending patches ==
Line 33: Line 34:
  
 
Please do not send clocksource and clockevents related patches against the -rt patch. Make sure they apply against the latest [[High_resolution_timers |-hrt-dyntick patch]]. -hrt-dyntick might be a bit ahead of -rt at times, but the -rt patch pulls -hrt-dyntick on a regular base.
 
Please do not send clocksource and clockevents related patches against the -rt patch. Make sure they apply against the latest [[High_resolution_timers |-hrt-dyntick patch]]. -hrt-dyntick might be a bit ahead of -rt at times, but the -rt patch pulls -hrt-dyntick on a regular base.
 +
 +
== Platforms Tested and in Use with CONFIG_PREEMPT_RT ==
 +
 +
{| class="wikitable"
 +
|-
 +
! Processor !! Model #'s !! Kernel version(s) !! Contact(s)
 +
|-
 +
| Opteron || IBM LS-20, LS-21, x3455 ||  2.6.16-rt22, 2.6.20-rt8 || [[User:Tytso | Theodore Ts'o]], [[User:Dvhart | Darren Hart]]
 +
|-
 +
|}

Revision as of 15:28, 20 April 2007

Contents

The CONFIG_PREEMPT_RT Patch

The CONFIG_PREEMPT_RT patch is maintained by a small group of core developers, led by Ingo Molnar. This patch allows nearly all of the kernel to be preempted, with the exception of a few very small regions of code ("raw_spinlock critical regions"). This is done by replacing most kernel spinlocks with mutexes that support priority inheritance, as well as moving all interrupt and software interrupts to kernel threads.

It further incorporates high resolution timers - a patch set, which is independently maintained.

You can find now a detailed RT_PREEMPT_HOWTO on this page.

Paul McKenney has written a good CONFIG_PREEMPT_RT overview which is a good introduction to the changes introduced to the kernel by the CONFIG_PREEMPT_RT patch.


Download

The patch is available at Ingo Molnars webspace.

There is also a yum repository with precompiled kernels and source rpms:

  cd /etc/yum.repos.d
  wget http://people.redhat.com/~mingo/realtime-preempt/rt.repo
  yum install kernel-rt.x86_64   # on x86_64
  yum install kernel-rt          # on i686
  yum update kernel-rt           # refresh - or enable yum-updatesd


And also an apt repository for Ubuntu with x86 precompiled kernel. You can find more information in this wiki page:

https://wiki.ubuntu.com/RealTime


Sending patches

Please send patches for the CONFIG_PREEMPT_RT Patch to LKML and put Ingo Molnar and Thomas Gleixner on CC.

Please do not send clocksource and clockevents related patches against the -rt patch. Make sure they apply against the latest -hrt-dyntick patch. -hrt-dyntick might be a bit ahead of -rt at times, but the -rt patch pulls -hrt-dyntick on a regular base.

Platforms Tested and in Use with CONFIG_PREEMPT_RT

Processor Model #'s Kernel version(s) Contact(s)
Opteron IBM LS-20, LS-21, x3455 2.6.16-rt22, 2.6.20-rt8 Theodore Ts'o, Darren Hart
Personal tools