Skip to contentSkip to conversation

percpu fixes for 2.6.34-rc3

GIT PULL Tejun Heo 1 participant 1 message Apr 5, 2010

lore
Share & tools
lore

Tejun Heo

author
#0 lore raw

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 db217dece3003df0841bacf9556b5c06aa097dae.

Thanks.

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(-)

--
tejun