[GIT PULL] percpu changes for v4.9-rc1

From: Tejun Heo
Date: Thu Oct 13 2016 - 21:54:33 EST


Hello, Linus.

percpu memory changes for v4.9-rc1.

* Nick improved generic implementations of percpu operations which
modify the variable and return so that they calculate the physical
address only once.

* percpu_ref percpu <-> atomic mode switching improvements. The
patchset was originally posted about a year ago but fell through the
crack.

* Misc non-critical fixes.

Thanks.

The following changes since commit 81abf2525827b29839a78fd55ab0699f033c41a5:

Merge tag 'lkdtm-v4.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux (2016-08-08 15:39:24 -0700)

are available in the git repository at:

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

for you to fetch changes up to 9b7396624a7b503220d85428654634b60762f2b0:

mm/percpu.c: fix potential memory leakage for pcpu_embed_first_chunk() (2016-10-05 11:52:55 -0400)

----------------------------------------------------------------
Lance Richardson (1):
percpu: eliminate two sparse warnings

Nicholas Piggin (1):
percpu: improve generic percpu modify-return implementation

Roman Pen (1):
percpu-refcount: init ->confirm_switch member properly

Tejun Heo (5):
percpu_ref: remove unnecessary RCU grace period for staggered atomic switching confirmation
percpu_ref: reorganize __percpu_ref_switch_to_atomic() and relocate percpu_ref_switch_to_atomic()
percpu_ref: unify staggered atomic switching wait behavior
percpu_ref: restructure operation mode switching
percpu_ref: allow operation mode switching operations to be called concurrently

zijun_hu (2):
mm/percpu.c: correct max_distance calculation for pcpu_embed_first_chunk()
mm/percpu.c: fix potential memory leakage for pcpu_embed_first_chunk()

arch/x86/include/asm/percpu.h | 5 +-
include/asm-generic/percpu.h | 53 +++++++------
lib/percpu-refcount.c | 169 ++++++++++++++++++++++++------------------
mm/percpu.c | 38 +++++-----
4 files changed, 148 insertions(+), 117 deletions(-)

--
tejun