cpuset/isolation: Honour kthreads preferred affinity
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v7 Latest33 patches 8 repliesIn review
- v633 patches 25 repliesSuperseded
- v533 patches 34 repliesSuperseded
Earlier versions · 4
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v4 | 31 patches | 5 replies | Superseded | |
| v3 | 33 patches | 40 replies | Superseded | |
| v2 | 33 patches | 27 replies | Superseded | |
| v1 | 27 patches | 23 replies | Superseded |
Patches in v7 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/33 | PCI: Prepare to protect against concurrent isolated cpuset changedrivers/ | +38 | 0 replies | |
| 2/33 | cpu: Revert "cpu/hotplug: Prevent self deadlock on CPU hot-unplug"kernel/ | +11 | 0 replies | |
| 3/33 | memcg: Prepare to protect against concurrent isolated cpuset changemm/ | +17 | 6 replies | |
| 4/33 | mm: vmstat: Prepare to protect against concurrent isolated cpuset changemm/ | +6 | 1 reply | |
| 5/33 | sched/isolation: Save boot defined domain flagsinclude/ kernel/ | +7 | 0 replies | |
| 6/33 | cpuset: Convert boot_hk_cpus to use HK_TYPE_DOMAIN_BOOTkernel/ | +7 | 0 replies | |
| 7/33 | driver core: cpu: Convert /sys/devices/system/cpu/isolated to use HK_TYPE_DOMAIN_BOOTdrivers/ | +1 | 0 replies | |
| 8/33 | net: Keep ignoring isolated cpuset changenet/ | +1 | 0 replies | |
| 9/33 | block: Protect against concurrent isolated cpuset changeblock/ | +5 | 0 replies | |
| 10/33 | timers/migration: Prevent from lockdep false positive warningkernel/ | +15 | 0 replies | |
| 11/33 | cpu: Provide lockdep check for CPU hotplug lock write-heldinclude/ include/ kernel/ | +7 | 0 replies | |
| 12/33 | cpuset: Provide lockdep check for cpuset lock heldinclude/ kernel/ | +9 | 0 replies | |
| 13/33 | sched/isolation: Convert housekeeping cpumasks to rcu pointerskernel/ kernel/ | +38 | 0 replies | |
| 14/33 | cpuset: Update HK_TYPE_DOMAIN cpumask from cpusetinclude/ kernel/ kernel/ +1 more | +80 | 0 replies | |
| 15/33 | sched/isolation: Flush memcg workqueues on cpuset isolated partition changeinclude/ kernel/ kernel/ +1 more | +18 | 0 replies | |
| 16/33 | sched/isolation: Flush vmstat workqueues on cpuset isolated partition changeinclude/ kernel/ kernel/ +1 more | +9 | 0 replies | |
| 17/33 | PCI: Flush PCI probe workqueue on cpuset isolated partition changedrivers/ include/ kernel/ | +21 | 0 replies | |
| 18/33 | cpuset: Propagate cpuset isolation update to workqueue through housekeepinginclude/ init/ kernel/ +2 more | +18 | 0 replies | |
| 19/33 | cpuset: Propagate cpuset isolation update to timers through housekeepingkernel/ kernel/ | +4 | 0 replies | |
| 20/33 | timers/migration: Remove superfluous cpuset isolation testkernel/ | +2 | 0 replies | |
| 21/33 | cpuset: Remove cpuset_cpu_is_isolated()include/ include/ kernel/ | +1 | 0 replies | |
| 22/33 | sched/isolation: Remove HK_TYPE_TICK test from cpu_is_isolated()include/ | +1 | 0 replies | |
| 23/33 | PCI: Remove superfluous HK_TYPE_WQ checkdrivers/ | +3 | 0 replies | |
| 24/33 | kthread: Refine naming of affinity related fieldskernel/ | +19 | 0 replies | |
| 25/33 | kthread: Include unbound kthreads in the managed affinity listkernel/ | +41 | 0 replies | |
| 26/33 | kthread: Include kthreadd to the managed affinity listkernel/ | +2 | 0 replies | |
| 27/33 | kthread: Rely on HK_TYPE_DOMAIN for preferred affinity managementkernel/ | +5 | 0 replies | |
| 28/33 | sched: Switch the fallback task allowed cpumask to HK_TYPE_DOMAINinclude/ | +1 | 0 replies | |
| 29/33 | sched/arm64: Move fallback task cpumask to HK_TYPE_DOMAINDocumentation/ arch/ | +11 | 1 reply | |
| 30/33 | kthread: Honour kthreads preferred affinity after cpuset changesinclude/ kernel/ kernel/ +1 more | +37 | 0 replies | |
| 31/33 | kthread: Comment on the purpose and placement of kthread_affine_node() callkernel/ | +4 | 0 replies | |
| 32/33 | kthread: Document kthread_affine_preferred()kernel/ | +12 | 0 replies | |
| 33/33 | doc: Add housekeeping documentationDocumentation/ Documentation/ | +112 | 0 replies |
Reviews trailers per patch
22 of 33 patches have a Reviewed-by or Acked-by.
| Patch | Bjorn Helgaas | Phil Auld | Waiman Long | Chen Ridong | Jens Axboe | Shakeel Butt | Tejun Heo | Will Deacon | Michal Hocko |
|---|---|---|---|---|---|---|---|---|---|
| 1/33 | A-b | ||||||||
| 2/33 | |||||||||
| 3/33 | A-b | ||||||||
| 4/33 | A-b | ||||||||
| 5/33 | R-b | R-b | |||||||
| 6/33 | R-b | R-b | R-b | ||||||
| 7/33 | |||||||||
| 8/33 | |||||||||
| 9/33 | A-b | ||||||||
| 10/33 | |||||||||
| 11/33 | |||||||||
| 12/33 | |||||||||
| 13/33 | |||||||||
| 14/33 | R-b | R-b | |||||||
| 15/33 | A-b | ||||||||
| 16/33 | |||||||||
| 17/33 | A-b | ||||||||
| 18/33 | R-b | A-b | |||||||
| 19/33 | |||||||||
| 20/33 | R-b | ||||||||
| 21/33 | R-b | ||||||||
| 22/33 | A-b | ||||||||
| 23/33 | A-b | ||||||||
| 24/33 | A-b | ||||||||
| 25/33 | R-b | ||||||||
| 26/33 | R-b | ||||||||
| 27/33 | R-b | ||||||||
| 28/33 | A-b | ||||||||
| 29/33 | R-b | A-b T-b | |||||||
| 30/33 | R-b | ||||||||
| 31/33 | |||||||||
| 32/33 | |||||||||
| 33/33 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 9 reviewers.
Cover letter [PATCH 00/33 v7] cpuset/isolation: Honour kthreads preferred affinity
Hi,
Here is just a few changes sinces v6:
- More tags
- Fix raw access to __rcu pointer (Simon Horman, Waiman)
- Fix cpu_hotplug_lock deadlock and use correct static branch API (Chen Ridong)
- Fix a few changelogs that got the set rules between HK_TYPE_DOMAIN HL_TYPE_KERNEL_NOISE wrong.
- Simplify arm64 mismatched 32 bits support (Will Deacon)
If all goes well, my plan is to make the pull request myself for the upcoming merge window.
git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
kthread/core-v7
HEAD: dcbe41f43e2cb32fbdbaf73b7745739e018b35dc
Thanks,
Frederic
---
Frederic Weisbecker (33):
PCI: Prepare to protect against concurrent isolated cpuset change
cpu: Revert "cpu/hotplug: Prevent self deadlock on CPU hot-unplug"
memcg: Prepare to protect against concurrent isolated cpuset change
mm: vmstat: Prepare to protect against concurrent isolated cpuset change sched/isolation: Save boot defined domain flags
cpuset: Convert boot_hk_cpus to use HK_TYPE_DOMAIN_BOOT
driver core: cpu: Convert /sys/devices/system/cpu/isolated to use HK_TYPE_DOMAIN_BOOT
net: Keep ignoring isolated cpuset change
block: Protect against concurrent isolated cpuset change timers/migration: Prevent from lockdep false positive warning
cpu: Provide lockdep check for CPU hotplug lock write-held
cpuset: Provide lockdep check for cpuset lock held
sched/isolation: Convert housekeeping cpumasks to rcu pointers
cpuset: Update HK_TYPE_DOMAIN cpumask from cpuset
sched/isolation: Flush memcg workqueues on cpuset isolated partition change sched/isolation: Flush vmstat workqueues on cpuset isolated partition change
PCI: Flush PCI probe workqueue on cpuset isolated partition change
cpuset: Propagate cpuset isolation update to workqueue through housekeeping
cpuset: Propagate cpuset isolation update to timers through housekeeping timers/migration: Remove superfluous cpuset isolation test
cpuset: Remove cpuset_cpu_is_isolated()
sched/isolation: Remove HK_TYPE_TICK test from cpu_is_isolated()
PCI: Remove superfluous HK_TYPE_WQ check
kthread: Refine naming of affinity related fields
kthread: Include unbound kthreads in the managed affinity list
kthread: Include kthreadd to the managed affinity list
kthread: Rely on HK_TYPE_DOMAIN for preferred affinity management
sched: Switch the fallback task allowed cpumask to HK_TYPE_DOMAIN sched/arm64: Move fallback task cpumask to HK_TYPE_DOMAIN
kthread: Honour kthreads preferred affinity after cpuset changes
kthread: Comment on the purpose and placement of kthread_affine_node() call
kthread: Document kthread_affine_preferred()
doc: Add housekeeping documentation
Documentation/arch/arm64/asymmetric-32bit.rst | 12 +- Documentation/core-api/housekeeping.rst | 111 ++++++++++++++++++ Documentation/core-api/index.rst | 1 + arch/arm64/kernel/cpufeature.c | 6 +- block/blk-mq.c | 6 +- drivers/base/cpu.c | 2 +- drivers/pci/pci-driver.c | 71 +++++++++--- include/linux/cpuhplock.h | 1 + include/linux/cpuset.h | 8 +- include/linux/kthread.h | 1 + include/linux/memcontrol.h | 4 + include/linux/mmu_context.h | 2 +- include/linux/pci.h | 3 + include/linux/percpu-rwsem.h | 1 + include/linux/sched/isolation.h | 16 ++- include/linux/vmstat.h | 2 + include/linux/workqueue.h | 2 +- init/Kconfig | 1 + kernel/cgroup/cpuset.c | 53 +++------ kernel/cpu.c | 42 +++---- kernel/kthread.c | 160 +++++++++++++++++--------- kernel/sched/isolation.c | 145 ++++++++++++++++++----- kernel/sched/sched.h | 4 + kernel/time/timer_migration.c | 25 ++-- kernel/workqueue.c | 17 +-- mm/memcontrol.c | 31 ++++- mm/vmstat.c | 15 ++- net/core/net-sysfs.c | 2 +- 28 files changed, 538 insertions(+), 206 deletions(-)