Skip to content

kthread: add the helper function kthread_run_on_cpu()

Andrew Morton linux-api linux-mm mm-commits stable 1 version In review

Get series with b4
b4 am 20220114220252.FkLY1R14S%[email protected]

Versions newest first

  1. v1 Latest146 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/146kthread: add the helper function kthread_run_on_cpu()include/linux/kthread.h kernel/kthread.c+26 -00 replies
2/146RDMA/siw: make use of the helper function kthread_run_on_cpu()drivers/infiniband/sw/siw/siw_main.c+3 -41 reply
3/146ring-buffer: make use of the helper function kthread_run_on_cpu()kernel/trace/ring_buffer.c+2 -50 replies
4/146rcutorture: make use of the helper function kthread_run_on_cpu()kernel/rcu/rcutorture.c+2 -50 replies
5/146trace/osnoise: make use of the helper function kthread_run_on_cpu()kernel/trace/trace_osnoise.c+1 -20 replies
6/146trace/hwlat: make use of the helper function kthread_run_on_cpu()kernel/trace/trace_hwlat.c+1 -50 replies
7/146ia64: module: use swap() to make code cleanerarch/ia64/kernel/module.c+2 -40 replies
8/146arch/ia64/kernel/setup.c: use swap() to make code cleanerarch/ia64/kernel/setup.c+1 -40 replies
9/146ia64: fix typo in a commentarch/ia64/kernel/uncached.c+1 -10 replies
10/146ia64: topology: use default_groups in kobj_typearch/ia64/kernel/topology.c+2 -10 replies
11/146scripts/spelling.txt: add "oveflow"scripts/spelling.txt+1 -00 replies
12/146fs/ntfs/attrib.c: fix one kernel-doc commentfs/ntfs/attrib.c+1 -10 replies
13/146squashfs: provide backing_dev_info in order to disable read-aheadfs/squashfs/super.c+33 -00 replies
14/146ocfs2: use BUG_ON instead of if condition followed by BUG.fs/ocfs2/journal.c+2 -40 replies
15/146ocfs2: clearly handle ocfs2_grab_pages_for_write() return valuefs/ocfs2/aops.c+13 -130 replies
16/146ocfs2: use default_groups in kobj_typefs/ocfs2/filecheck.c+2 -10 replies
17/146ocfs2: remove redundant assignment to pointer root_bhfs/ocfs2/alloc.c+1 -10 replies
18/146ocfs2: cluster: use default_groups in kobj_typefs/ocfs2/cluster/masklog.c+6 -50 replies
19/146ocfs2: remove redundant assignment to variable free_spacefs/ocfs2/dir.c+1 -10 replies
20/146fs/ioctl: remove unnecessary __user annotationfs/ioctl.c+1 -10 replies
21/146mm/slab_common: use WARN() if cache still has objects on destroymm/slab_common.c+3 -80 replies
22/146mm: slab: make slab iterator functions staticmm/memcontrol.c mm/slab.h mm/slab_common.c+15 -200 replies
23/146kmemleak: fix kmemleak false positive report with HW tag-based kasan enablemm/kmemleak.c+14 -70 replies
24/146mm: kmemleak: alloc gray object for reserved region with direct mapdrivers/of/fdt.c+5 -10 replies
25/146mm: defer kmemleak object creation of module_alloc()arch/arm64/kernel/module.c arch/s390/kernel/module.c arch/x86/kernel/module.c +4 more+27 -120 replies
26/146mm/page_alloc: split prep_compound_page into head and tail subpartsmm/page_alloc.c+20 -100 replies
27/146mm/page_alloc: refactor memmap_init_zone_device() page initmm/page_alloc.c+41 -330 replies
28/146mm/memremap: add ZONE_DEVICE support for compound pagesinclude/linux/memremap.h mm/memremap.c mm/page_alloc.c+60 -70 replies
29/146device-dax: use ALIGN() for determining pgoffdrivers/dax/device.c+2 -20 replies
30/146device-dax: use struct_size()drivers/dax/device.c+3 -20 replies
31/146device-dax: ensure dev_dax->pgmap is valid for dynamic devicesdrivers/dax/bus.c drivers/dax/bus.h drivers/dax/device.c+54 -80 replies
32/146device-dax: factor out page mapping initializationdrivers/dax/device.c+23 -220 replies
33/146device-dax: set mapping prior to vmf_insert_pfn{,_pmd,pud}()drivers/dax/device.c+6 -60 replies
34/146device-dax: remove pfn from __dev_dax_{pte,pmd,pud}_fault()drivers/dax/device.c+19 -170 replies
35/146device-dax: compound devmap supportdrivers/dax/device.c+9 -00 replies
36/146kasan: test: add globals left-out-of-bounds testlib/test_kasan.c+17 -20 replies
37/146kasan: add ability to detect double-kmem_cache_destroy()mm/slab_common.c+1 -10 replies
38/146kasan: test: add test case for double-kmem_cache_destroy()lib/test_kasan.c+11 -00 replies
39/146kasan: fix quarantine conflicting with init_on_freemm/kasan/quarantine.c+11 -00 replies
40/146mm,fs: split dump_mapping() out from dump_page()fs/inode.c include/linux/fs.h mm/debug.c+52 -500 replies
41/146mm/debug_vm_pgtable: update comments regarding migration swap entriesDocumentation/vm/arch_pgtable_helpers.rst mm/debug_vm_pgtable.c+9 -90 replies
42/146mm/truncate.c: remove unneeded variablemm/truncate.c+1 -40 replies
43/146gup: avoid multiple user access locking/unlocking in fault_in_{read/write}ablemm/gup.c+10 -80 replies
44/146mm/gup.c: stricter check on THP migration entry during follow_pmd_maskmm/gup.c+9 -40 replies
45/146mm: shmem: don't truncate page if memory failure happensmm/memory-failure.c mm/shmem.c mm/userfaultfd.c+61 -90 replies
46/146shmem: fix a race between shmem_unused_huge_shrink and shmem_evict_inodemm/shmem.c+21 -160 replies
47/146mm/frontswap.c: use non-atomic '__set_bit()' when possiblemm/frontswap.c+2 -20 replies
48/146mm: memcontrol: make cgroup_memory_nokmem staticmm/internal.h mm/memcontrol.c mm/slab_common.c+2 -70 replies
49/146mm/page_counter: remove an incorrect call to propagate_protected_usage()mm/page_counter.c+0 -10 replies
50/146mm/memcg: add oom_group_kill memory eventDocumentation/admin-guide/cgroup-v2.rst include/linux/memcontrol.h mm/memcontrol.c +1 more+7 -00 replies
51/146memcg: better bounds on the memcg stats updatesmm/memcontrol.c+13 -70 replies
52/146mm/memcg: use struct_size() helper in kzalloc()mm/memcontrol.c+1 -50 replies
53/146memcg: add per-memcg vmalloc statDocumentation/admin-guide/cgroup-v2.rst include/linux/memcontrol.h mm/memcontrol.c +1 more+36 -20 replies
54/146tools/testing/selftests/vm/userfaultfd.c: use swap() to make code cleanertools/testing/selftests/vm/userfaultfd.c+3 -80 replies
55/146mm: remove redundant check about FAULT_FLAG_ALLOW_RETRY bitarch/alpha/mm/fault.c arch/arc/mm/fault.c arch/arm/mm/fault.c +19 more+128 -1620 replies
56/146mm: rearrange madvise code to allow for reusemm/madvise.c+178 -1602 replies
57/146mm: add a field to store names for private anonymous memoryDocumentation/filesystems/proc.rst fs/proc/task_mmu.c fs/userfaultfd.c +11 more+324 -340 replies
58/146mm: add anonymous vma name refcountinginclude/linux/mm_types.h mm/madvise.c+44 -70 replies
59/146mm: move anon_vma declarations to linux/mm_inline.hfs/proc/task_mmu.c fs/userfaultfd.c include/linux/mm_inline.h +4 more+55 -480 replies
60/146mm: move tlb_flush_pending inline helpers to mm_inline.harch/x86/include/asm/pgtable.h include/linux/mm.h include/linux/mm_inline.h +6 more+137 -1300 replies
61/146mm: protect free_pgtables with mmap_lock write lock in exit_mmapmm/mmap.c+8 -80 replies
62/146mm: document locking restrictions for vm_operations_struct::closeinclude/linux/mm.h+4 -00 replies
63/146mm/oom_kill: allow process_mrelease to run under mmap_lock protectionmm/oom_kill.c+15 -120 replies
64/146docs/vm: add vmalloced-kernel-stacks documentDocumentation/vm/index.rst Documentation/vm/vmalloced-kernel-stacks.rst+154 -00 replies
65/146mm: change page type prior to adding page table entrymm/hugetlb.c mm/memory.c mm/migrate.c +1 more+12 -120 replies
66/146mm: ptep_clear() page table helperDocumentation/vm/arch_pgtable_helpers.rst include/linux/pgtable.h mm/debug_vm_pgtable.c +1 more+15 -130 replies
67/146mm: page table checkDocumentation/vm/index.rst Documentation/vm/page_table_check.rst MAINTAINERS +7 more+519 -00 replies
68/146x86: mm: add x86_64 support for page table checkarch/x86/Kconfig arch/x86/include/asm/pgtable.h+28 -20 replies
69/146mm: remove last argument of reuse_swap_page()include/linux/swap.h mm/huge_memory.c mm/khugepaged.c +2 more+7 -130 replies
70/146mm: remove the total_mapcount argument from page_trans_huge_map_swapcount()mm/swapfile.c+12 -200 replies
71/146mm: remove the total_mapcount argument from page_trans_huge_mapcount()include/linux/mm.h include/linux/swap.h mm/huge_memory.c +1 more+15 -290 replies
72/146mm/dmapool.c: revert "make dma pool to use kmalloc_node"mm/dmapool.c+1 -10 replies
73/146mm/vmalloc: alloc GFP_NO{FS,IO} for vmallocmm/vmalloc.c+21 -20 replies
74/146mm/vmalloc: add support for __GFP_NOFAILmm/vmalloc.c+17 -50 replies
75/146mm/vmalloc: be more explicit about supported gfp flags.mm/vmalloc.c+8 -60 replies
76/146mm: allow !GFP_KERNEL allocations for kvmallocinclude/linux/ceph/libceph.h mm/util.c net/ceph/buffer.c +5 more+15 -500 replies
77/146mm: make slab and vmalloc allocators __GFP_NOLOCKDEP awaremm/internal.h+1 -10 replies
78/146mm: introduce memalloc_retry_wait()fs/ext4/extents.c fs/ext4/inline.c fs/ext4/page-io.c +11 more+56 -370 replies
79/146mm/pagealloc: sysctl: change watermark_scale_factor max limit to 30%Documentation/admin-guide/sysctl/vm.rst kernel/sysctl.c+3 -20 replies
80/146mm: fix boolreturn.cocci warninginclude/linux/page-flags.h+1 -10 replies
81/146mm: page_alloc: fix building error on -Werror=array-comparemm/page_alloc.c+1 -10 replies
82/146mm: drop node from alloc_pages_vmainclude/linux/gfp.h mm/mempolicy.c mm/shmem.c+7 -70 replies
83/146include/linux/gfp.h: further document GFP_DMA32include/linux/gfp.h+3 -10 replies
84/146mm/page_alloc.c: modify the comment section for alloc_contig_pages()mm/page_alloc.c+2 -20 replies
85/146mm_zone: add function to check if managed dma zone existsinclude/linux/mmzone.h mm/page_alloc.c+24 -00 replies
86/146dma/pool: create dma atomic pool only if dma zone has managed pageskernel/dma/pool.c+2 -20 replies
87/146mm/page_alloc.c: do not warn allocation failure on zone DMA if no managed pagesmm/page_alloc.c+3 -10 replies
88/146hugetlb: add hugetlb.*.numa_stat fileDocumentation/admin-guide/cgroup-v1/hugetlb.rst Documentation/admin-guide/cgroup-v2.rst include/linux/hugetlb.h +2 more+141 -120 replies
89/146mm, hugepages: make memory size variable in hugepage-mremap selftesttools/testing/selftests/vm/hugepage-mremap.c tools/testing/selftests/vm/run_vmtests.sh+31 -170 replies
90/146mm/vmstat: add events for THP max_ptes_* exceedsinclude/linux/vm_event_item.h mm/khugepaged.c mm/vmstat.c+13 -00 replies
91/146selftests/vm: make charge_reserved_hugetlb.sh work with existing cgroup settingtools/testing/selftests/vm/charge_reserved_hugetlb.sh tools/testing/selftests/vm/hugetlb_reparenting_test.sh tools/testing/selftests/vm/write_hugetlb_memory.sh+34 -230 replies
92/146selftests/uffd: allow EINTR/EAGAINtools/testing/selftests/vm/userfaultfd.c+5 -20 replies
93/146userfaultfd/selftests: clean up hugetlb allocation codetools/testing/selftests/vm/userfaultfd.c+6 -90 replies
94/146vmscan: make drop_slab_node staticinclude/linux/mm.h mm/vmscan.c+1 -20 replies
95/146mm/page_isolation: unset migratetype directly for non Buddy pagemm/page_isolation.c+1 -10 replies
96/146mm/mempolicy: use policy_node helper with MPOL_PREFERRED_MANYmm/mempolicy.c+3 -20 replies
97/146mm/mempolicy: add set_mempolicy_home_node syscallDocumentation/admin-guide/mm/numa_memory_policy.rst include/linux/mempolicy.h mm/mempolicy.c+95 -10 replies
98/146mm/mempolicy: wire up syscall set_mempolicy_home_nodearch/alpha/kernel/syscalls/syscall.tbl arch/arm/tools/syscall.tbl arch/arm64/include/asm/unistd.h +18 more+27 -20 replies
99/146mm/mempolicy: fix all kernel-doc warningsmm/mempolicy.c+3 -20 replies
100/146mm, oom: OOM sysrq should always kill a processmm/oom_kill.c+1 -10 replies
101/146hugetlbfs: fix off-by-one error in hugetlb_vmdelete_list()fs/hugetlbfs/inode.c+4 -30 replies
102/146mm: migrate: fix the return value of migrate_pages()mm/migrate.c+47 -160 replies
103/146mm: migrate: correct the hugetlb migration statsDocumentation/vm/page_migration.rst mm/migrate.c+14 -150 replies
104/146mm: compaction: fix the migration stats in trace_mm_compaction_migratepages()include/trace/events/compaction.h mm/compaction.c+8 -230 replies
105/146mm: migrate: support multiple target nodes demotionmm/migrate.c+129 -350 replies
106/146mm: migrate: add more comments for selecting target node randomlymm/migrate.c+8 -00 replies
107/146mm/migrate: move node demotion code to near its usermm/migrate.c+132 -1330 replies
108/146mm/migrate: remove redundant variables used in a for-loopmm/migrate.c+2 -30 replies
109/146mm/thp: drop unused trace events hugepage_[invalidate|splitting]include/trace/events/thp.h+0 -350 replies
110/146mm: ksm: fix use-after-free kasan report in ksm_might_need_to_copymm/ksm.c+2 -20 replies
111/146mm/hwpoison: mf_mutex for soft offline and unpoisonmm/memory-failure.c+18 -440 replies
112/146mm/hwpoison: remove MF_MSG_BUDDY_2ND and MF_MSG_POISONED_HUGEinclude/linux/mm.h include/ras/ras_event.h mm/memory-failure.c+0 -60 replies
113/146mm/hwpoison: fix unpoison_memory()include/linux/mm.h include/linux/page-flags.h mm/memory-failure.c +1 more+122 -190 replies
114/146mm: memcg/percpu: account extra objcg space to memory cgroupsmm/percpu-internal.h mm/percpu.c+23 -50 replies
115/146mm/rmap: fix potential batched TLB flush raceinclude/linux/mm_types.h mm/rmap.c+37 -80 replies
116/146zpool: remove the list of pools_headmm/zpool.c+0 -120 replies
117/146zram: use ATTRIBUTE_GROUPSdrivers/block/zram/zram_drv.c+2 -90 replies
118/146mm: fix some comment errorsmm/khugepaged.c mm/memory-failure.c mm/slab_common.c +1 more+4 -40 replies
119/146mm: make some vars and functions static or __initinclude/linux/page_idle.h mm/page_ext.c mm/page_owner.c+4 -50 replies
120/146mm/hmm.c: allow VM_MIXEDMAP to work with hmm_range_faultlib/test_hmm.c mm/hmm.c tools/testing/selftests/vm/hmm-tests.c+69 -20 replies
121/146mm/damon: unified access_check function naming rulesmm/damon/vaddr.c+4 -40 replies
122/146mm/damon: add 'age' of region tracepoint supportinclude/trace/events/damon.h+5 -20 replies
123/146mm/damon/core: use abs() instead of diff_of()mm/damon/core.c+2 -40 replies
124/146mm/damon: remove some unneeded function definitions in damon.hinclude/linux/damon.h mm/damon/paddr.c mm/damon/vaddr.c+16 -340 replies
125/146mm/damon/vaddr: remove swap_ranges() and replace it with swap()mm/damon/vaddr.c+3 -130 replies
126/146mm/damon/schemes: add the validity judgment of thresholdsmm/damon/dbgfs.c+7 -00 replies
127/146mm/damon: move damon_rand() definition into damon.hinclude/linux/damon.h mm/damon/core.c mm/damon/prmtv-common.h+4 -80 replies
128/146mm/damon: modify damon_rand() macro to static inline functioninclude/linux/damon.h+4 -10 replies
129/146mm/damon: convert macro functions to static inline functionsinclude/linux/damon.h mm/damon/core.c mm/damon/vaddr.c+20 -90 replies
130/146Docs/admin-guide/mm/damon/usage: update for scheme quotas and watermarksDocumentation/admin-guide/mm/damon/usage.rst+98 -250 replies
131/146Docs/admin-guide/mm/damon/usage: remove redundant informationDocumentation/admin-guide/mm/damon/usage.rst+21 -210 replies
132/146Docs/admin-guide/mm/damon/usage: mention tracepoint at the beginningDocumentation/admin-guide/mm/damon/usage.rst+8 -10 replies
133/146Docs/admin-guide/mm/damon/usage: update for kdamond_pid and (mk|rm)_contextsDocumentation/admin-guide/mm/damon/usage.rst+49 -30 replies
134/146mm/damon: remove a mistakenly added comment for a future featureinclude/linux/damon.h+1 -10 replies
135/146mm/damon/schemes: account scheme actions that successfully appliedinclude/linux/damon.h mm/damon/core.c mm/damon/dbgfs.c +2 more+53 -330 replies
136/146mm/damon/schemes: account how many times quota limit has exceededinclude/linux/damon.h mm/damon/core.c+4 -00 replies
137/146mm/damon/reclaim: provide reclamation statisticsmm/damon/reclaim.c+46 -00 replies
138/146Docs/admin-guide/mm/damon/reclaim: document statistics parametersDocumentation/admin-guide/mm/damon/reclaim.rst+25 -00 replies
139/146mm/damon/dbgfs: support all DAMOS statsmm/damon/dbgfs.c+4 -20 replies
140/146Docs/admin-guide/mm/damon/usage: update for schemes statisticsDocumentation/admin-guide/mm/damon/usage.rst+5 -40 replies
141/146mm/damon: add access checking for hugetlb pagesmm/damon/vaddr.c+96 -00 replies
142/146mm/damon: move the implementation of damon_insert_region to damon.hinclude/linux/damon.h mm/damon/core.c+11 -130 replies
143/146mm/damon/dbgfs: remove an unnecessary variablemm/damon/dbgfs.c+2 -30 replies
144/146mm/damon/vaddr: use pr_debug() for damon_va_three_regions() failure loggingmm/damon/vaddr.c+1 -10 replies
145/146mm/damon/vaddr: hide kernel pointer from damon_va_three_regions() failure logmm/damon/vaddr.c+8 -20 replies
146/146mm/damon: hide kernel pointer from tracepoint eventinclude/trace/events/damon.h mm/damon/core.c+7 -50 replies

Reviews trailers per patch

78 of 146 patches have a Reviewed-by or Acked-by.

PatchRandy DunlapPhillip LougherJoseph QiVlastimil BabkaDavid RientjesCatalin MarinasMike KravetzDan WilliamsMuchun SongAndrey KonovalovMarco ElverWilliam KucharskiMichal HockoDavid HildenbrandPankaj GuptaAndreas GruenbacherHuang, YingMiaohe LinKirill A. ShutemovChris DownRoman GushchinJohannes WeinerShakeel ButtKees CookJason GunthorpeLinus TorvaldsUladzislau Rezki (Sony)Dave ChinnerJohn DonnellyChristoph HellwigHyeonggon YooMina AlmasryAxel RasmussenOscar SalvadorZi YanSteven Rostedt (VMware)Yang ShiBaolin WangWei XuDennis ZhouBart Van AsscheSergey SenozhatskySeongJae ParkBernard Metzler
1/146
2/146R-b
3/146
4/146
5/146
6/146
7/146
8/146
9/146
10/146
11/146
12/146A-b
13/146R-b
14/146A-b
15/146
16/146A-b
17/146A-b
18/146R-b T-b
19/146A-b
20/146
21/146R-b A-b
22/146R-b
23/146R-b
24/146
25/146
26/146A-b R-b R-b
27/146R-b
28/146R-b
29/146R-b
30/146
31/146
32/146
33/146
34/146
35/146R-b
36/146R-b
37/146A-b R-b
38/146R-b
39/146R-b
40/146R-b A-b
41/146
42/146R-b R-b R-b
43/146R-b
44/146R-b R-b
45/146
46/146R-b A-b
47/146
48/146A-b A-b
49/146R-b
50/146A-b A-b R-b A-b R-b
51/146
52/146R-b A-b
53/146R-b A-b A-b
54/146
55/146
56/146
57/146R-b
58/146R-b
59/146
60/146
61/146A-b
62/146A-b
63/146A-b R-b
64/146
65/146
66/146
67/146
68/146
69/146R-b R-b A-b
70/146R-b A-b
71/146R-b A-b
72/146
73/146A-b R-b
74/146A-b
75/146A-b R-b
76/146A-b R-b
77/146A-b A-b
78/146
79/146A-b
80/146
81/146
82/146
83/146
84/146
85/146R-b A-b
86/146R-b A-b R-b
87/146A-b R-b
88/146R-b R-b R-b
89/146
90/146
91/146A-b
92/146R-b
93/146R-b
94/146R-b R-b
95/146R-b
96/146A-b
97/146
98/146
99/146
100/146A-b A-b
101/146R-b
102/146
103/146R-b
104/146R-b
105/146R-b
106/146R-b
107/146R-b R-b R-b
108/146
109/146R-b
110/146
111/146R-b
112/146A-b
113/146R-b
114/146A-b
115/146
116/146
117/146R-b R-b
118/146
119/146
120/146R-b
121/146R-b
122/146R-b
123/146R-b R-b
124/146R-b
125/146R-b R-b
126/146R-b
127/146R-b
128/146R-b
129/146
130/146
131/146
132/146
133/146
134/146
135/146
136/146
137/146
138/146
139/146
140/146
141/146R-b
142/146R-b
143/146
144/146
145/146
146/146

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 44 reviewers.

Read the v1 thread