[GIT PULL] percpu fixes for 2.6.34-rc3

From: Tejun Heo
Date: Sun Apr 04 2010 - 22:59:40 EST

Hello, Linus.

Please pull from the following percpu branch.

git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu.git for-linus

lockdep was hardcoding conditions to determine whether an address
belongs to percpu area. With recent percpu allocator changes, the
logic no longer is correct triggering bogus warning messages. The
above branch implements is_kernel/module_percpu_address() and makes
lockdep use them instead.

Has been tested in linux-next and pulls cleanly into


Randy Dunlap (1):
module: add stub for is_module_percpu_address

Tejun Heo (2):
module: encapsulate percpu handling better and record percpu_size
percpu, module: implement and use is_kernel/module_percpu_address()

include/linux/module.h | 11 +++++-
include/linux/percpu.h | 7 +++
kernel/lockdep.c | 21 ++-------
kernel/module.c | 104 +++++++++++++++++++++++++++++++++--------------
mm/percpu.c | 26 ++++++++++++
5 files changed, 121 insertions(+), 48 deletions(-)

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/