[lkml]   [2006]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[PATCH -rt] revert bh_lru_lock() to preempt_disable()
    	The bh_lru_lock() was set to disable interrupt to protect
    from IPI's, which are only on SMP . So I don't think it's needed
    in UP PREEMPT_RT configs.

    Signed-Off-By: Daniel Walker <>

    Index: linux-2.6.16/fs/buffer.c
    --- linux-2.6.16.orig/fs/buffer.c
    +++ linux-2.6.16/fs/buffer.c
    @@ -1326,7 +1326,7 @@ struct bh_lru {

    static DEFINE_PER_CPU(struct bh_lru, bh_lrus) = {{ NULL }};

    -#if defined(CONFIG_SMP) || defined(CONFIG_PREEMPT_RT)
    +#if defined(CONFIG_SMP)
    #define bh_lru_lock() local_irq_disable()
    #define bh_lru_unlock() local_irq_enable()
    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: 2006-04-22 20:35    [W:0.032 / U:29.996 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site