2021-02-23 03:31:06

by Dennis Zhou

[permalink] [raw]
Subject: [GIT PULL] percpu changes for v5.12-rc1

Hi Linus,

Percpu had a cleanup come in that makes use of the cpu bitmask helpers
instead of the current iterative approach. This clean up has an adverse
interaction when clang's inlining sensitivity is changed such that
not all sites are inlined resulting in modpost being upset with section
mismatch due to percpu setup being marked __init. It is fixed by
introducing __flatten to compiler_attributes.h. This has been supported
since clang 3.5 and gcc 4.4 [1].

[1] https://lore.kernel.org/lkml/CAKwvOdnxnooqtyeSem63V_P5980jc0Z2PDG=0iM8ixeYTSaTCg@mail.gmail.com/

Thanks,
Dennis

The following changes since commit 92bf22614b21a2706f4993b278017e437f7785b3:

Linux 5.11-rc7 (2021-02-07 13:57:38 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/dennis/percpu.git for-5.12

for you to fetch changes up to 258e0815e2b1706e87c0d874211097aa8a7aa52f:

percpu: fix clang modpost section mismatch (2021-02-14 18:15:15 +0000)

----------------------------------------------------------------
Dennis Zhou (1):
percpu: fix clang modpost section mismatch

Wonhyuk Yang (1):
percpu: reduce the number of cpu distance comparisons

include/linux/compiler_attributes.h | 6 ++++++
mm/percpu.c | 36 +++++++++++++++++++++---------------
2 files changed, 27 insertions(+), 15 deletions(-)


2021-02-23 22:06:59

by pr-tracker-bot

[permalink] [raw]
Subject: Re: [GIT PULL] percpu changes for v5.12-rc1

The pull request you sent on Tue, 23 Feb 2021 03:27:41 +0000:

> git://git.kernel.org/pub/scm/linux/kernel/git/dennis/percpu.git for-5.12

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/aa8e3291729fd885351af0b077330721d4bf5db9

Thank you!

--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html