Re: [LAU] Kernel 2.6.39

From: David Baron <d_baron@email-addr-hidden>
Date: Thu Jun 23 2011 - 17:17:22 EEST

On Thursday 21 Sivan 5771 10:42:15 Rui Nuno Capela wrote:
> On 06/23/2011 07:17 AM, Ralf Mardorf wrote:
> > I used the config from the self-build kernel 2.6.33.9-rt31 and run
> > oldconfig only to configure 2.6.39. I didn't make music until now using
> > this kernel. Yes, I wish to "emulate" the PREEMPT_RT, since common
> > PREEMPT only kernels never did, what I needed.
> >
> > What do I need to set?
> >
> > $ cat config-2.6.39.1 | grep PREEMPT
> > CONFIG_TREE_PREEMPT_RCU=y
> > CONFIG_PREEMPT_RCU=y
> > CONFIG_PREEMPT_NOTIFIERS=y
> > # CONFIG_PREEMPT_NONE is not set
> > # CONFIG_PREEMPT_VOLUNTARY is not set
> > CONFIG_PREEMPT=y
> >
> > IIUC this is correct?!
>
> yes.
>
> and don't forget to add "threadirqs" to your kernel bootloader
> line--only then you'll get "rtirq" to do its magic as it used to do on a
> genuine -rt kernel.
>
> > PS: SCHED_FF?
>
> SCHED_FF is a process/thread attribute, not a kernel configuration
> option--jack does that for you when told to run with realtime scheduling.
>
This is what I get from a plain Debian kernel:

david@email-addr-hidden:~$ grep PREEMPT /boot/config-2.6.39-1-686-pae
# CONFIG_PREEMPT_RCU is not set
CONFIG_PREEMPT_NOTIFIERS=y
# CONFIG_PREEMPT_NONE is not set
CONFIG_PREEMPT_VOLUNTARY=y
# CONFIG_PREEMPT is not set
david@email-addr-hidden:~$ grep IRQ_FORCE /boot/config-2.6.39-1-686-pae
CONFIG_IRQ_FORCED_THREADING=y

Probably not enough.

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Thu Jun 23 20:15:04 2011

This archive was generated by hypermail 2.1.8 : Thu Jun 23 2011 - 20:15:04 EEST