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

From: Tejun Heo
Date: Wed Jul 05 2017 - 15:12:52 EST


Hello, Linus.

These are percpu changes for the v4.13-rc1 merge window. There are a
couple visibility related changes - tracepoints and allocator stats
through debugfs, along with __ro_after_init markings and a cosmetic
rename in percpu_counter.

Please note that the simple O(#elements_in_the_chunk) area allocator
used by percpu allocator is again showing scalability issues,
primarily with bpf allocating and freeing large number of counters.
Dennis is working on the replacement allocator and the percpu
allocator will be seeing increased churns in the coming cycles.

Thanks.

The following changes since commit 56868a460b83c0f93d339256a81064d89aadae8e:

Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide (2017-05-09 15:56:58 -0700)

are available in the git repository at:

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

for you to fetch changes up to e3efe3db932b55ed34ba32862f568abae32046d0:

percpu: fix static checker warnings in pcpu_destroy_chunk (2017-06-29 11:23:38 -0400)

----------------------------------------------------------------
Daniel Micay (1):
mark most percpu globals as __ro_after_init

Dennis Zhou (7):
percpu: add missing lockdep_assert_held to func pcpu_free_area
percpu: migrate percpu data structures to internal header
percpu: expose statistics about percpu memory via debugfs
percpu: add tracepoint support for percpu memory
percpu: resolve err may not be initialized in pcpu_alloc
percpu: fix early calls for spinlock in pcpu_stats
percpu: fix static checker warnings in pcpu_destroy_chunk

Nikolay Borisov (1):
percpu_counter: Rename __percpu_counter_add to percpu_counter_add_batch

fs/btrfs/disk-io.c | 12 +--
fs/btrfs/extent_io.c | 6 +-
fs/btrfs/inode.c | 8 +-
fs/xfs/xfs_mount.c | 4 +-
include/linux/backing-dev.h | 2 +-
include/linux/blk-cgroup.h | 6 +-
include/linux/mman.h | 2 +-
include/linux/percpu_counter.h | 7 +-
include/net/inet_frag.h | 4 +-
include/trace/events/percpu.h | 125 +++++++++++++++++++++++
lib/flex_proportions.c | 6 +-
lib/percpu_counter.c | 4 +-
mm/Kconfig | 8 ++
mm/Makefile | 1 +
mm/percpu-internal.h | 166 ++++++++++++++++++++++++++++++
mm/percpu-km.c | 11 +-
mm/percpu-stats.c | 222 +++++++++++++++++++++++++++++++++++++++++
mm/percpu-vm.c | 12 ++-
mm/percpu.c | 85 +++++++++-------
19 files changed, 621 insertions(+), 70 deletions(-)
create mode 100644 include/trace/events/percpu.h
create mode 100644 mm/percpu-internal.h
create mode 100644 mm/percpu-stats.c

--
tejun