[Unionfs] INgo Molnar's RT patch

Paul Hewlett paul at gccs.co.za
Thu Aug 23 07:55:54 EDT 2007


On Wednesday 22 August 2007 21:07, Erez Zadok wrote:
> In message <200708211427.41245.paul at gccs.co.za>, Paul Hewlett writes:
> > Hi Erez
> >
> >       struct rw_semaphore rwsem;
> >
> > to
> >
> >       struct compat_rw_semaphore rwsem;
> >
> > then everything compiled.
>
> Paul, if that's the only change needed, then I'll be happy to support it in
> the unionfs2 series for 2.6.21 and any other kernel for which this is
> needed.  All I need to do is for you to tell me which CONFIG_* option I
> should use:
>
> #ifdef CONFIG_rt_something
>        struct compat_rw_semaphore rwsem;
> #else
>        struct rw_semaphore rwsem;
> #endif

The extra flags for RT consist are
CONFIG_PREEMPT_RT=y
CONFIG_PREEMPT_SOFTIRQS=y
CONFIG_PREEMPT_HARDIRQS=y
# CONFIG_CLASSIC_RCU is not set
CONFIG_PREEMPT_RCU=y
CONFIG_RCU_TRACE=y

I unset RT and inspected the .config file and the 

CONFIG_PREEMPT_RCU=y

stays behind. The others are unset rather than set to n.

Paul

-- 
Paul Hewlett  Technical Director 
Global Call Center Solutions Ltd, 2nd Floor, Milnerton Mall
Cnr Loxton & Koeberg Roads, 7435 Milnerton
www.gccs.co.za
Tel: +27 86 111 3433 Fax: +27 86 111 3520 Cel: +27 76 072 7906
VOIP: 087 750 7260



More information about the unionfs mailing list