Re: [PATCH -V3 01/11] percpu_counters: make fbc->count read atomic on 32 bit architecture

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Peter Zijlstra
Date: Thursday, August 28, 2008 - 12:57 am

On Wed, 2008-08-27 at 14:22 -0700, Andrew Morton wrote:


Basically all it does it break the percpu_counter lock into two classes.

One for the irq-unsafe users and one for the irq-safe users. Without
this lockdep goes splat complaining about irq recursion deadlocks and
the like between these two separate users.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH -V3 01/11] percpu_counters: make fbc->count rea ..., Peter Zijlstra, (Thu Aug 28, 12:57 am)