percpu fixes for v5.16-rc5
Subsystems (3)
Dennis Zhou
maintainerHi Linus,
This contains a fix for SMP && !MMU archs for percpu which has been tested by arm and sh. It seems in the past they have gotten away due to mapping of vm functions to km functions, but this fell apart a few releases ago and was just reported recently. The other is just a minor dependency clean up.
I think queued up right now by Andrew is a fix in percpu that papers of what seems to be a bug in hotplug for a special situation with memoryless nodes. Michal Hocko is digging into it further.
[1] https://lore.kernel.org/linux-mm/[email protected]/T/
Thanks,
Dennis
The following changes since commit 0fcfb00b28c0b7884635dacf38e46d60bf3d4eb1:
Linux 5.16-rc4 (2021-12-05 14:08:22 -0800)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/dennis/percpu.git for-5.16-fixes
for you to fetch changes up to a4f1192cb53758a7210ed5a9ee695aeba22f75fb:
percpu_ref: Replace kernel.h with the necessary inclusions (2021-12-09 15:41:09 -0500)
----------------------------------------------------------------
Andy Shevchenko (1):
percpu_ref: Replace kernel.h with the necessary inclusions
Vladimir Murzin (1):
percpu: km: ensure it is used with NOMMU (either UP or SMP)
include/linux/percpu-refcount.h | 2 +- mm/Kconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
include/linux/percpu-refcount.h +1 -1
@@ -51,9 +51,9 @@#define _LINUX_PERCPU_REFCOUNT_H#include <linux/atomic.h> -#include <linux/kernel.h> #include <linux/percpu.h> #include <linux/rcupdate.h> +#include <linux/types.h> #include <linux/gfp.h> struct percpu_ref ;
mm/Kconfig +1 -1
@@ -428,7 +428,7 @@ config THP_SWAP # UP and nommu archs use km based percpu allocator # config NEED_PER_CPU_KM - depends on !SMP + depends on !SMP || !MMU bool default y
The pull request you sent on Sat, 11 Dec 2021 11:32:01 -0500:
The pull request you sent on Sat, 11 Dec 2021 11:32:01 -0500:
Quoted 1 line
git://git.kernel.org/pub/scm/linux/kernel/git/dennis/percpu.gitfor-5.16-fixes
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/8f97a35a53e2afc0a2485b2d976e12492563a318
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html