[GIT PULL] percpu changes for v5.1-rc1
From: Dennis Zhou
Date: Tue Mar 05 2019 - 14:46:07 EST
Hi Linus,
There are 2 minor changes to the percpu allocator this merge window:
* for loop condition that could be out of bounds on multi-socket UP
* cosmetic removal of pcpu_group_offsets[0] in UP code as it is 0
There has been an interest in having better alignment with percpu
allocations. This has caused a performance regression in at least 1
reported workload. I have a series out which adds scan hints to the
allocator as well as some other performance oriented changes. I hope to
have this queued for v5.2 soon.
Thanks,
Dennis
The following changes since commit a3b22b9f11d9fbc48b0291ea92259a5a810e9438:
Linux 5.0-rc7 (2019-02-17 18:46:40 -0800)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/dennis/percpu.git for-5.1
for you to fetch changes up to 1b046b445c0f856c3c1eed38a348bd87cc2dc730:
percpu: km: no need to consider pcpu_group_offsets[0] (2019-02-26 13:47:58 -0800)
----------------------------------------------------------------
Peng Fan (2):
percpu: use nr_groups as check condition
percpu: km: no need to consider pcpu_group_offsets[0]
mm/percpu-km.c | 2 +-
mm/percpu.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)