Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'for-5.16-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/dennis/percpu

Pull percpu fixes from Dennis Zhou:
"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 with
it 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"

* 'for-5.16-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/dennis/percpu:
percpu_ref: Replace kernel.h with the necessary inclusions
percpu: km: ensure it is used with NOMMU (either UP or SMP)

+2 -2
+1 -1
include/linux/percpu-refcount.h
··· 51 51 #define _LINUX_PERCPU_REFCOUNT_H 52 52 53 53 #include <linux/atomic.h> 54 - #include <linux/kernel.h> 55 54 #include <linux/percpu.h> 56 55 #include <linux/rcupdate.h> 56 + #include <linux/types.h> 57 57 #include <linux/gfp.h> 58 58 59 59 struct percpu_ref;
+1 -1
mm/Kconfig
··· 428 428 # UP and nommu archs use km based percpu allocator 429 429 # 430 430 config NEED_PER_CPU_KM 431 - depends on !SMP 431 + depends on !SMP || !MMU 432 432 bool 433 433 default y 434 434