Re: 2.5.38-mm2 [PATCH]

Dipankar Sarma
2002-09-23T09:45:59Z

On Mon, Sep 23, 2002 at 04:22:28AM +0000, Andrew Morton wrote:
> url: http://www.zip.com.au/~akpm/linux/patches/2.5/2.5.38/2.5.38-mm2/
> read_barrier_depends.patch
> extended barrier primitives
>
> rcu_ltimer.patch
> RCU core
>
> dcache_rcu.patch
> Use RCU for dcache
>

Hi Andrew,

The following patch fixes a typo for preemptive kernels.

Later I will submit a full rcu_ltimer patch that contains
the call_rcu_preempt() interface which can be useful for
module unloading and the likes. This doesn't affect
the non-preemption path.

Thanks
--
Dipankar Sarma <dipankar@in.ibm.com> http://lse.sourceforge.net
Linux Technology Center, IBM Software Lab, Bangalore, India.

--- include/linux/rcupdate.h Mon Sep 23 11:47:26 2002
+++ /tmp/rcupdate.h Mon Sep 23 12:45:21 2002
@@ -116,7 +116,7 @@
return 0;
}

-#ifdef CONFIG_PREEMPTION
+#ifdef CONFIG_PREEMPT
#define rcu_read_lock() preempt_disable()
#define rcu_read_unlock() preempt_enable()
#else