Skip to contentSkip to conversation

percpu changes for v6.2-rc1

GIT PULL Merged Dennis Zhou 3 participants 4 messages Dec 12, 2022 – Dec 13, 2022 Memory management

lore
Share & tools
lore
#0 lore raw

Hi Linus,

Baoquan was nice enough to run some clean ups for percpu. There will be a minor merge conflict with Vlastimil's slab PR [1]. This is due to adjusting the PERCPU_DYNAMIC_EARLY_SIZE up for proper early percpu reservation size on arm64 with 64k pages.

[1] https://lore.kernel.org/all/[email protected]/

Some new eventual work is potential BPF accounting of percpu.

Thanks,
Dennis

The following changes since commit f0c4d9fc9cc9462659728d168387191387e903cc:

Linux 6.1-rc4 (2022-11-06 15:07:11 -0800)

are available in the Git repository at:

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

for you to fetch changes up to d667c94962c1c81ef587ac91dc5c01a1cfe339c7:

mm/percpu: remove unused PERCPU_DYNAMIC_EARLY_SLOTS (2022-11-07 22:59:28 -0800)

----------------------------------------------------------------
Baoquan He (7):
mm/percpu: remove unused pcpu_map_extend_chunks
mm/percpu: use list_first_entry_or_null in pcpu_reclaim_populated() mm/percpu: Update the code comment when creating new chunk mm/percpu: add comment to state the empty populated pages accounting mm/percpu: replace the goto with break
mm/percpu.c: remove the lcm code since block size is fixed at page size mm/percpu: remove unused PERCPU_DYNAMIC_EARLY_SLOTS

 include/linux/percpu.h |  7 +++----
 mm/percpu.c            | 44 ++++++++++++++++++--------------------------
 2 files changed, 21 insertions(+), 30 deletions(-)
#1 lore raw
Quoted 5 lines · Dennis Zhou

Baoquan was nice enough to run some clean ups for percpu. There will be a minor merge conflict with Vlastimil's slab PR [1]. This is due to adjusting the PERCPU_DYNAMIC_EARLY_SIZE up for proper early percpu reservation size on arm64 with 64k pages.

Well, the merge was trivial, but...

Quoted 1 line

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

Argh, this is a plain branch. I was really hoping that we had all moved on to using signed tags for pulls.

I've pulled this, because I still don't absolutely _require_ signed tags for kernel.org accounts, but can you please try to start using them in the future?

The plain unsigned branches (and unsigned tags) are getting rare enough that I'm slowly starting to consider making them a hard requirement. Not this release, probably not the next one, but...

Linus

#2 lore raw
Quoted 14 lines · Linus Torvalds
Quoted 5 lines · Dennis Zhou

Baoquan was nice enough to run some clean ups for percpu. There will be a minor merge conflict with Vlastimil's slab PR [1]. This is due to adjusting the PERCPU_DYNAMIC_EARLY_SIZE up for proper early percpu reservation size on arm64 with 64k pages.

Well, the merge was trivial, but...

Quoted 1 line

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

Argh, this is a plain branch. I was really hoping that we had all moved on to using signed tags for pulls.

Quoted 8 lines

I've pulled this, because I still don't absolutely _require_ signed tags for kernel.org accounts, but can you please try to start using them in the future?

The plain unsigned branches (and unsigned tags) are getting rare enough that I'm slowly starting to consider making them a hard requirement. Not this release, probably not the next one, but...

Got it. I'll send you signed tags from now on. Thanks for pulling this.

Thanks,
Dennis

Quoted 1 line

Linus

merge bot Merged
#3 lore raw
In reply to Dennis Zhou
The pull request you sent on Mon, 12 Dec 2022 09:13:42 -0800:

The pull request you sent on Mon, 12 Dec 2022 09:13:42 -0800:

Quoted 1 line

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

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

Thank you!

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