[GIT PULL] percpu changes for v5.2-rc1
From: Dennis Zhou
Date: Mon May 13 2019 - 14:54:22 EST
Hi Linus,
This pull request includes my scan hint update which helps address
performance issues with heavily fragmented blocks.
The other change is a lockdep fix when freeing an allocation causes
balance work to be scheduled.
Thanks,
Dennis
The following changes since commit fa3d493f7a573b4e4e2538486e912093a0161c1b:
Merge tag 'selinux-pr-20190312' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux (2019-03-13 11:10:42 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/dennis/percpu.git for-5.2
for you to fetch changes up to 198790d9a3aeaef5792d33a560020861126edc22:
percpu: remove spurious lock dependency between percpu and sched (2019-05-08 12:08:48 -0700)
----------------------------------------------------------------
Dennis Zhou (12):
percpu: update free path with correct new free region
percpu: do not search past bitmap when allocating an area
percpu: introduce helper to determine if two regions overlap
percpu: manage chunks based on contig_bits instead of free_bytes
percpu: relegate chunks unusable when failing small allocations
percpu: set PCPU_BITMAP_BLOCK_SIZE to PAGE_SIZE
percpu: add block level scan_hint
percpu: remember largest area skipped during allocation
percpu: use block scan_hint to only scan forward
percpu: make pcpu_block_md generic
percpu: convert chunk hints to be based on pcpu_block_md
percpu: use chunk scan_hint to skip some scanning
John Sperbeck (1):
percpu: remove spurious lock dependency between percpu and sched
include/linux/percpu.h | 12 +-
mm/percpu-internal.h | 15 +-
mm/percpu-km.c | 2 +-
mm/percpu-stats.c | 5 +-
mm/percpu.c | 549 ++++++++++++++++++++++++++++++++++---------------
5 files changed, 405 insertions(+), 178 deletions(-)