* [GIT PULL] percpu changes for v5.14-rc1
@ 2021-07-01 18:18 Dennis Zhou
2021-07-02 0:46 ` pr-tracker-bot
0 siblings, 1 reply; 2+ messages in thread
From: Dennis Zhou @ 2021-07-01 18:18 UTC (permalink / raw)
To: Linus Torvalds; +Cc: Tejun Heo, Christoph Lameter, linux-mm, linux-kernel
Hi Linus,
This pull request contains:
- percpu chunk depopulation - depopulate backing pages for chunks with
empty pages when we exceed a global threshold without those pages.
This lets us reclaim a portion of memory that would previously be
lost until the full chunk would be freed (possibly never).
- memcg accounting cleanup - previously separate chunks were managed
for normal allocations and __GFP_ACCOUNT allocations. These are now
consolidated which cleans up the code quite a bit.
- a few misc clean ups for clang warnings
Two notes though. First there is a small conflict in mm/memcontrol.c and
I have an example merge in percpu#for-5.14-merge [1]. Second, I have an
outstanding patch to do some level of batching for percpu depopulation.
Oliver Wang (krobot tests) is reporting a regression only on Knights
Landing cpus [2]. I am working on debugging it and hopefully will have
it figured out soon.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/dennis/percpu.git/log/?h=for-5.14-merge
[2] https://lore.kernel.org/lkml/20210630074500.GB10248@xsang-OptiPlex-9020/
Thanks,
Dennis
The following changes since commit d434405aaab7d0ebc516b68a8fc4100922d7f5ef:
Linux 5.12-rc7 (2021-04-11 15:16:13 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/dennis/percpu.git for-5.14
for you to fetch changes up to e4d777003a43feab2e000749163e531f6c48c385:
percpu: optimize locking in pcpu_balance_workfn() (2021-06-17 23:05:24 +0000)
----------------------------------------------------------------
Dennis Zhou (2):
percpu: use pcpu_free_slot instead of pcpu_nr_slots - 1
percpu: initialize best_upa variable
Roman Gushchin (8):
percpu: fix a comment about the chunks ordering
percpu: split __pcpu_balance_workfn()
percpu: factor out pcpu_check_block_hint()
percpu: implement partial chunk depopulation
mm, memcg: mark cgroup_memory_nosocket, nokmem and noswap as __ro_after_init
mm, memcg: introduce mem_cgroup_kmem_disabled()
percpu: rework memcg accounting
percpu: optimize locking in pcpu_balance_workfn()
Wei Yongjun (1):
percpu: make symbol 'pcpu_free_slot' static
include/linux/memcontrol.h | 5 +
mm/memcontrol.c | 11 +-
mm/percpu-internal.h | 56 +------
mm/percpu-km.c | 10 +-
mm/percpu-stats.c | 44 ++----
mm/percpu-vm.c | 35 ++++-
mm/percpu.c | 368 +++++++++++++++++++++++++++++++++------------
7 files changed, 343 insertions(+), 186 deletions(-)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [GIT PULL] percpu changes for v5.14-rc1
2021-07-01 18:18 [GIT PULL] percpu changes for v5.14-rc1 Dennis Zhou
@ 2021-07-02 0:46 ` pr-tracker-bot
0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot @ 2021-07-02 0:46 UTC (permalink / raw)
To: Dennis Zhou
Cc: Linus Torvalds, Tejun Heo, Christoph Lameter, linux-mm, linux-kernel
The pull request you sent on Thu, 1 Jul 2021 18:18:14 +0000:
> git://git.kernel.org/pub/scm/linux/kernel/git/dennis/percpu.git for-5.14
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/e267992f9ef0bf717d70a9ee18049782f77e4b3a
Thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-07-02 0:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-01 18:18 [GIT PULL] percpu changes for v5.14-rc1 Dennis Zhou
2021-07-02 0:46 ` pr-tracker-bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).