Re: [PATCH] percpu_counter: use local_t and atomic_long_t if possible

Peter Zijlstra
2008-12-23T11:43:37Z

One think that sprung to mind,..

IFF we're going to implement percpu_counter with local_t and make
local_t this funny tri-counter thing which has its own error, you need
to fix up bdi_stat_error() - it expects to be an upper bound for the
counter error, getting that wrong _will_ cause deadlocks.