mm: replace PF_KCOMPACTD/PF_KSWAPD with kthread_func()
Status from this message: [merged mm-stable] mm-replace-pf_kcompactd-flag-with-kthread_func-check.patch removed from -mm tree
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 4 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | xfs: remove dead kswapd flag inheritance from btree split workerfs/ fs/ | +1 | 2 replies | Applied |
| 2/4 | iomap: simplify writepages reclaim guardfs/ | +1 | 3 replies | Applied |
| 3/4 | mm: replace PF_KSWAPD flag with kthread_func() checkinclude/ include/ mm/ +1 more | +10 | 4 replies | Applied |
| 4/4 | mm: replace PF_KCOMPACTD flag with kthread_func() checkinclude/ include/ mm/ +1 more | +13 | 4 replies | Applied |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Christoph Hellwig | Shakeel Butt | Vlastimil Babka (SUSE) | Zi Yan | Brian Foster | David Hildenbrand (Arm) |
|---|---|---|---|---|---|---|
| Series | R-b | R-b | ||||
| 1/4 | R-b | R-b | ||||
| 2/4 | R-b | |||||
| 3/4 | A-b | A-b | A-b | |||
| 4/4 | A-b | A-b | A-b | R-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 6 reviewers.
Cover letter [PATCH 0/4] mm: replace PF_KCOMPACTD/PF_KSWAPD with kthread_func()
The task_struct->flags field is a limited 32-bit resource. Two flag bits, PF_KCOMPACTD and PF_KSWAPD, are used to identify whether a kernel thread is kcompactd or kswapd. Converting these to use kthread_func() frees up two valuable flag bits for future use.
Kefeng Wang (4):
xfs: remove dead kswapd flag inheritance from btree split worker
iomap: simplify writepages reclaim guard
mm: replace PF_KSWAPD flag with kthread_func() check
mm: replace PF_KCOMPACTD flag with kthread_func() check
fs/iomap/buffered-io.c | 3 +-- fs/xfs/libxfs/xfs_btree.c | 18 +----------------- fs/xfs/xfs_platform.h | 4 ---- include/linux/compaction.h | 11 ++++++----- include/linux/sched.h | 4 ++-- include/linux/swap.h | 7 +------ mm/compaction.c | 9 ++++++--- mm/vmscan.c | 10 ++++++++-- tools/sched_ext/include/scx/common.bpf.h | 2 -- 9 files changed, 25 insertions(+), 43 deletions(-)
Signature · 1 line
2.55.0