Skip to contentSkip to conversation

mmotm 2022-03-16-17-42 uploaded

DISCUSSION Andrew Morton 4 participants 12 messages Mar 17, 2022 – Mar 18, 2022

Subsystems (7)
lore
Share & tools
lore

Andrew Morton

author maintainer
#0 lore raw

The mm-of-the-moment snapshot 2022-03-16-17-42 has been uploaded to

https://www.ozlabs.org/~akpm/mmotm/

mmotm-readme.txt says

README for mm-of-the-moment:

https://www.ozlabs.org/~akpm/mmotm/

This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week.

You will need quilt to apply these patches to the latest Linus release (5.x or 5.x-rcY). The series file is in broken-out.tar.gz and is duplicated in
https://ozlabs.org/~akpm/mmotm/series

The file broken-out.tar.gz contains two datestamp files: .DATE and .DATE-yyyy-mm-dd-hh-mm-ss. Both contain the string yyyy-mm-dd-hh-mm-ss, followed by the base kernel version against which this patch series is to be applied.

This tree is partially included in linux-next. To see which patches are included in linux-next, consult the `series' file. Only the patches within the #NEXT_PATCHES_START/#NEXT_PATCHES_END markers are included in linux-next.

A full copy of the full kernel tree with the linux-next and mmotm patches already applied is available through git within an hour of the mmotm release. Individual mmotm releases are tagged. The master branch always points to the latest release, so it's constantly rebasing.

https://github.com/hnaz/linux-mm

The directory https://www.ozlabs.org/~akpm/mmots/ (mm-of-the-second) contains daily snapshots of the -mm tree. It is updated more frequently than mmotm, and is untested.

A git copy of this tree is also available at

https://github.com/hnaz/linux-mm

This mmotm tree contains the following patches against 5.17-rc8:
(patches marked "*" will be included in linux-next)

origin.patch
* mm-swap-get-rid-of-deadloop-in-swapin-readahead.patch
* configs-debug-restore-debug_info=y-for-overriding.patch
* ocfs2-fix-crash-when-initialize-filecheck-kobj-fails.patch
* selftests-vm-fix-clang-build-error-multiple-output-files.patch
* hugetlb-do-not-demote-poisoned-hugetlb-pages.patch
* proc-kpageflags-prevent-an-integer-overflow-in-stable_page_flags.patch
* proc-kpageflags-do-not-use-uninitialized-struct-pages.patch
* linux-kthreadh-remove-unused-macros.patch
* kthread-make-it-clear-that-kthread_create_on_node-might-be-terminated-by-any-fatal-signal.patch
* scripts-spellingtxt-add-more-spellings-to-spellingtxt.patch
* ntfs-add-sanity-check-on-allocation-size.patch
* ocfs2-cleanup-some-return-variables.patch
* fs-ocfs2-fix-comments-mentioning-i_mutex.patch
* ocfs2-reflink-deadlock-when-clone-file-to-the-same-directory-simultaneously.patch
* ocfs2-clear-links-count-in-ocfs2_mknod-if-an-error-occurs.patch
* ocfs2-fix-ocfs2-corrupt-when-iputting-an-inode.patch
* doc-convert-subsection-to-section-in-gfph.patch
* mm-document-and-polish-read-ahead-code.patch
* mm-improve-cleanup-when-readpages-doesnt-process-all-pages.patch
* fuse-remove-reliance-on-bdi-congestion.patch
* nfs-remove-reliance-on-bdi-congestion.patch
* ceph-remove-reliance-on-bdi-congestion.patch
* remove-inode_congested.patch
* remove-bdi_congested-and-wb_congested-and-related-functions.patch
* remove-bdi_congested-and-wb_congested-and-related-functions-fix.patch
* f2fs-replace-congestion_wait-calls-with-io_schedule_timeout.patch
* block-bfq-ioschedc-use-false-rather-than-blk_rw_async.patch
* remove-congestion-tracking-framework.patch
* mm-fs-delete-pf_swapwrite.patch
* mm-__isolate_lru_page_prepare-in-isolate_migratepages_block.patch
* mm-list_lru-optimize-memcg_reparent_list_lru_node.patch
* mm-lru_cache_disable-replace-work-queue-synchronization-with-synchronize_rcu.patch
* mount-warn-only-once-about-timestamp-range-expiration.patch
mm.patch
* mm-memremap-avoid-calling-kasan_remove_zero_shadow-for-device-private-memory.patch
* tools-vm-page_owner_sortc-sort-by-stacktrace-before-culling.patch
* tools-vm-page_owner_sortc-sort-by-stacktrace-before-culling-fix.patch
* tools-vm-page_owner_sortc-support-sorting-by-stack-trace.patch
* tools-vm-page_owner_sortc-add-switch-between-culling-by-stacktrace-and-txt.patch
* tools-vm-page_owner_sortc-support-sorting-pid-and-time.patch
* tools-vm-page_owner_sortc-two-trivial-fixes.patch
* tools-vm-page_owner_sortc-delete-invalid-duplicate-code.patch
* documentation-vm-page_ownerrst-update-the-documentation.patch
* documentation-vm-page_ownerrst-update-the-documentation-fix.patch
* docs-vm-fix-unexpected-indentation-warns-in-page_owner.patch
* lib-vsprintf-avoid-redundant-work-with-0-size.patch
* mm-page_owner-use-scnprintf-to-avoid-excessive-buffer-overrun-check.patch
* mm-page_owner-print-memcg-information.patch
* mm-page_owner-record-task-command-name.patch
* mm-page_ownerc-record-tgid.patch
* tools-vm-page_owner_sortc-fix-the-instructions-for-use.patch
* tools-vm-page_owner_sortc-fix-comments.patch
* tools-vm-page_owner_sortc-add-a-security-check.patch
* tools-vm-page_owner_sortc-support-sorting-by-tgid-and-update-documentation.patch
* tools-vm-page_owner_sort-fix-three-trivival-places.patch
* tools-vm-page_owner_sort-support-for-sorting-by-task-command-name.patch
* tools-vm-page_owner_sortc-support-for-selecting-by-pid-tgid-or-task-command-name.patch
* tools-vm-page_owner_sortc-support-for-user-defined-culling-rules.patch
* tools-vm-page_owner_sortc-use-fprintf-to-send-error-messages-to-stderr.patch
* tools-vm-page_owner_sortc-support-for-multi-value-selection-in-single-argument.patch
* mm-unexport-page_init_poison.patch
* filemap-remove-find_get_pages.patch
* mm-writeback-minor-clean-up-for-highmem_dirtyable_memory.patch
* mm-fs-fix-lru_cache_disabled-race-in-bh_lru.patch
* mm-fix-invalid-page-pointer-returned-with-foll_pin-gups.patch
* mm-gup-follow_pfn_pte-eexist-cleanup.patch
* mm-gup-remove-unused-pin_user_pages_locked.patch
* mm-change-lookup_node-to-use-get_user_pages_fast.patch
* mm-gup-remove-unused-get_user_pages_locked.patch
* mm-swap-fix-confusing-comment-in-folio_mark_accessed.patch
* tmpfs-support-for-file-creation-time.patch
* tmpfs-support-for-file-creation-time-fix.patch
* shmem-mapping_set_exiting-to-help-mapped-resilience.patch
* tmpfs-do-not-allocate-pages-on-read.patch
* mm-shmem-use-helper-macro-__attr_rw.patch
* memcg-sync-flush-only-if-periodic-flush-is-delayed.patch
* memcg-replace-in_interrupt-with-in_task.patch
* memcg-add-per-memcg-total-kernel-memory-stat.patch
* mm-memcg-mem_cgroup_per_node-is-already-set-to-0-on-allocation.patch
* mm-memcg-retrieve-parent-memcg-from-cssparent.patch
* memcg-refactor-mem_cgroup_oom.patch
* memcg-unify-force-charging-conditions.patch
* selftests-memcg-test-high-limit-for-single-entry-allocation.patch
* memcg-synchronously-enforce-memoryhigh-for-large-overcharges.patch
* mm-memcontrol-return-1-from-cgroupmemory-__setup-handler.patch
* mm-memcg-set-memcg-after-css-verified-and-got-reference.patch
* mm-memcg-set-pos-to-prev-unconditionally.patch
* mm-memcg-move-generation-assignment-and-comparison-together.patch
* mm-memcg-revert-mm-memcg-optimize-user-context-object-stock-access.patch
* mm-memcg-disable-threshold-event-handlers-on-preempt_rt.patch
* mm-memcg-protect-per-cpu-counter-by-disabling-preemption-on-preempt_rt-where-needed.patch
* mm-memcg-opencode-the-inner-part-of-obj_cgroup_uncharge_pages-in-drain_obj_stock.patch
* mm-memcg-protect-memcg_stock-with-a-local_lock_t.patch
* mm-memcg-disable-migration-instead-of-preemption-in-drain_all_stock.patch
* mm-list_lru-transpose-the-array-of-per-node-per-memcg-lru-lists.patch
* mm-introduce-kmem_cache_alloc_lru.patch
* fs-introduce-alloc_inode_sb-to-allocate-filesystems-specific-inode.patch
* fs-allocate-inode-by-using-alloc_inode_sb.patch
* f2fs-allocate-inode-by-using-alloc_inode_sb.patch
* mm-dcache-use-kmem_cache_alloc_lru-to-allocate-dentry.patch
* xarray-use-kmem_cache_alloc_lru-to-allocate-xa_node.patch
* mm-memcontrol-move-memcg_online_kmem-to-mem_cgroup_css_online.patch
* mm-list_lru-allocate-list_lru_one-only-when-needed.patch
* mm-list_lru-rename-memcg_drain_all_list_lrus-to-memcg_reparent_list_lrus.patch
* mm-list_lru-replace-linear-array-with-xarray.patch
* mm-list_lru-replace-linear-array-with-xarray-fix.patch
* mm-memcontrol-reuse-memory-cgroup-id-for-kmem-id.patch
* mm-memcontrol-fix-cannot-alloc-the-maximum-memcg-id.patch
* mm-list_lru-rename-list_lru_per_memcg-to-list_lru_memcg.patch
* mm-memcontrol-rename-memcg_cache_id-to-memcg_kmem_id.patch
* memcg-enable-accounting-for-tty-related-objects.patch
* selftests-x86-fix-how-check_ccsh-is-being-invoked.patch
* mm-merge-pte_mkhuge-call-into-arch_make_huge_pte.patch
* mm-remove-mmu_gathers-storage-from-remaining-architectures.patch
* mm-thp-fix-wrong-cache-flush-in-remove_migration_pmd.patch
* mm-fix-missing-cache-flush-for-all-tail-pages-of-compound-page.patch
* mm-hugetlb-fix-missing-cache-flush-in-copy_huge_page_from_user.patch
* mm-hugetlb-fix-missing-cache-flush-in-hugetlb_mcopy_atomic_pte.patch
* mm-shmem-fix-missing-cache-flush-in-shmem_mfill_atomic_pte.patch
* mm-userfaultfd-fix-missing-cache-flush-in-mcopy_atomic_pte-and-__mcopy_atomic.patch
* mm-replace-multiple-dcache-flush-with-flush_dcache_folio.patch
* mm-dont-skip-swap-entry-even-if-zap_details-specified.patch
* mm-dont-skip-swap-entry-even-if-zap_details-specified-v5.patch
* mm-rename-zap_skip_check_mapping-to-should_zap_page.patch
* mm-change-zap_detailszap_mapping-into-even_cows.patch
* mm-rework-swap-handling-of-zap_pte_range.patch
* mm-mmap-return-1-from-stack_guard_gap-__setup-handler.patch
* mm-use-helper-function-range_in_vma.patch
* mm-use-helper-macro-min-and-max-in-unmap_mapping_range_tree.patch
* mm-_install_special_mapping-apply-vm_locked_clear_mask.patch
* mm-mmap-remove-obsolete-comment-in-ksys_mmap_pgoff.patch
* mm-mremap-use-vma_lookup-instead-of-find_vma.patch
* mm-sparse-make-mminit_validate_memmodel_limits-static.patch
* mm-vmalloc-remove-unneeded-function-forward-declaration.patch
* mm-vmalloc-move-draining-areas-out-of-caller-context.patch
* mm-vmalloc-add-adjust_search_size-parameter.patch
* mm-vmalloc-eliminate-an-extra-orig_gfp_mask.patch
* mm-vmallocc-fix-unused-function-warning.patch
* vmap-dont-allow-invalid-pages.patch
* mm-vmalloc-fix-comments-about-vmap_area-struct.patch
* mm-page_alloc-avoid-merging-non-fallbackable-pageblocks-with-others.patch
* mm-page_alloc-add-same-penalty-is-enough-to-get-round-robin-order.patch
* mm-page_alloc-add-penalty-to-local_node.patch
* mm-mmzonec-use-try_cmpxchg-in-page_cpupid_xchg_last.patch
* mm-discard-__gfp_atomic.patch
* mm-mmzoneh-remove-unused-macros.patch
* mm-page_alloc-dont-pass-pfn-to-free_unref_page_commit.patch
* cma-factor-out-minimum-alignment-requirement.patch
* mm-enforce-pageblock_order-max_order.patch
* mm-page_alloc-mark-pagesets-as-__maybe_unused.patch
* mm-pages_allocc-dont-create-zone_movable-beyond-the-end-of-a-node.patch
* mm-page_alloc-fetch-the-correct-pcp-buddy-during-bulk-free.patch
* mm-page_alloc-track-range-of-active-pcp-lists-during-bulk-free.patch
* mm-page_alloc-simplify-how-many-pages-are-selected-per-pcp-list-during-bulk-free.patch
* mm-page_alloc-drain-the-requested-list-first-during-bulk-free.patch
* mm-page_alloc-free-pages-in-a-single-pass-during-bulk-free.patch
* mm-page_alloc-limit-number-of-high-order-pages-on-pcp-during-bulk-free.patch
* mm-page_alloc-do-not-prefetch-buddies-during-bulk-free.patch
* arch-x86-mm-numa-do-not-initialize-nodes-twice.patch
* arch-x86-mm-numa-do-not-initialize-nodes-twice-v2.patch
* mm-count-time-in-drain_all_pages-during-direct-reclaim-as-memory-pressure.patch
* mm-page_alloc-call-check_new_pages-while-zone-spinlock-is-not-held.patch
* mm-page_alloc-check-high-order-pages-for-corruption-during-pcp-operations.patch
* mm-hwpoison-remove-obsolete-comment.patch
* mm-hwpoison-fix-error-page-recovered-but-reported-not-recovered.patch
* mm-clean-up-hwpoison-page-cache-page-in-fault-path.patch
* mm-memory-failurec-minor-clean-up-for-memory_failure_dev_pagemap.patch
* mm-memory-failurec-catch-unexpected-efault-from-vma_address.patch
* mm-memory-failurec-rework-the-signaling-logic-in-kill_proc.patch
* mm-memory-failurec-fix-race-with-changing-page-more-robustly.patch
* mm-memory-failurec-remove-pageslab-check-in-hwpoison_filter_dev.patch
* mm-memory-failurec-rework-the-try_to_unmap-logic-in-hwpoison_user_mappings.patch
* mm-memory-failurec-remove-obsolete-comment-in-__soft_offline_page.patch
* mm-memory-failurec-remove-unnecessary-pagetranstail-check.patch
* mm-hwpoison-inject-support-injecting-hwpoison-to-free-page.patch
* mm-hwpoison-inject-support-injecting-hwpoison-to-free-page-fix.patch
* mm-hwpoison-avoid-the-impact-of-hwpoison_filter-return-value-on-mce-handler.patch
* mm-hwpoison-add-in-use-hugepage-hwpoison-filter-judgement.patch
* mm-memory-failurec-fix-race-with-changing-page-compound-again.patch
* mm-memory-failurec-fix-race-with-changing-page-compound-again-fix.patch
* mm-memory-failurec-avoid-calling-invalidate_inode_page-with-unexpected-pages.patch
* mm-memory-failurec-make-non-lru-movable-pages-unhandlable.patch
* mm-fault-injection-declare-should_fail_alloc_page.patch
* mm-mlock-fix-potential-imbalanced-rlimit-ucounts-adjustment.patch
* mm-hugetlb-free-the-2nd-vmemmap-page-associated-with-each-hugetlb-page.patch
* mm-hugetlb-free-the-2nd-vmemmap-page-associated-with-each-hugetlb-page-fix.patch
* mm-hugetlb-replace-hugetlb_free_vmemmap_enabled-with-a-static_key.patch
* mm-sparsemem-use-page-table-lock-to-protect-kernel-pmd-operations.patch
* selftests-vm-add-a-hugetlb-test-case.patch
* mm-sparsemem-move-vmemmap-related-to-hugetlb-to-config_hugetlb_page_free_vmemmap.patch
* mm-hugetlb-generalize-arch_want_general_hugetlb.patch
* hugetlb-clean-up-potential-spectre-issue-warnings.patch
* hugetlb-clean-up-potential-spectre-issue-warnings-v2.patch
* mm-hugetlb-use-helper-macro-__attr_rw.patch
* mm-export-pageheadhuge.patch
* mm-export-pageheadhuge-fix.patch
* mm-remove-unneeded-local-variable-follflags-v2.patch
* hugetlb-fix-comments-about-avoiding-atomic-allocation-of-vmemmap-pages.patch
* userfaultfd-mark-uffd_wp-regardless-of-vm_write-flag.patch
* userfaultfd-provide-unmasked-address-on-page-fault.patch
* userfaultfd-provide-unmasked-address-on-page-fault-v3.patch
* userfaultfd-provide-unmasked-address-on-page-fault-v3-fix.patch
* userfaultfd-selftests-fix-uninitialized_varcocci-warning.patch
* mm-workingset-replace-irq-off-check-with-a-lockdep-assert.patch
* mm-vmscan-fix-documentation-for-page_check_references.patch
* mm-compaction-cleanup-the-compaction-trace-events.patch
* mempolicy-mbind_range-set_policy-after-vma_merge.patch
* mm-mempolicy-fix-potential-mpol_new-leak-in-shared_policy_replace.patch
* mm-mempolicy-convert-from-atomic_t-to-refcount_t-on-mempolicy-refcnt.patch
* mm-mempolicy-convert-from-atomic_t-to-refcount_t-on-mempolicy-refcnt-fix.patch
* mm-oom_kill-remove-unneeded-is_memcg_oom-check.patch
* mmmigrate-fix-establishing-demotion-target.patch
* mm-migrate-fix-race-between-lock-page-and-clear-pg_isolated.patch
* mm-thp-refix-__split_huge_pmd_locked-for-migration-pmd.patch
* mm-cma-provide-option-to-opt-out-from-exposing-pages-on-activation-failure.patch
* powerpc-fadump-opt-out-from-freeing-pages-on-cma-activation-failure.patch
* numa-balancing-add-page-promotion-counter.patch
* numa-balancing-optimize-page-placement-for-memory-tiering-system.patch
* memory-tiering-skip-to-scan-fast-memory.patch
* mm-page_io-fix-psi-memory-pressure-error-on-cold-swapins.patch
* mm-vmstat-add-event-for-ksm-swapping-in-copy.patch
* mm-ksm-use-helper-macro-__attr_rw.patch
* mm-hwpoison-check-the-subpage-not-the-head-page.patch
* mm-madvise-use-vma_lookup-instead-of-find_vma.patch
* mm-madvise-return-correct-bytes-advised-with-process_madvise.patch
* mm-madvise-skip-unmapped-vma-holes-passed-to-process_madvise.patch
* mm-memory_hotplug-make-arch_alloc_nodedata-independent-on-config_memory_hotplug.patch
* mm-handle-uninitialized-numa-nodes-gracefully.patch
* mm-handle-uninitialized-numa-nodes-gracefully-fix.patch
* mm-memory_hotplug-drop-arch_free_nodedata.patch
* mm-memory_hotplug-reorganize-new-pgdat-initialization.patch
* mm-make-free_area_init_node-aware-of-memory-less-nodes.patch
* memcg-do-not-tweak-node-in-alloc_mem_cgroup_per_node_info.patch
* drivers-base-memory-add-memory-block-to-memory-group-after-registration-succeeded.patch
* drivers-base-node-consolidate-node-device-subsystem-initialization-in-node_dev_init.patch
* mm-memory_hotplug-remove-obsolete-comment-of-__add_pages.patch
* mm-memory_hotplug-remove-obsolete-comment-of-__add_pages-fix.patch
* mm-memory_hotplug-avoid-calling-zone_intersects-for-zone_normal.patch
* mm-memory_hotplug-clean-up-try_offline_node.patch
* mm-memory_hotplug-fix-misplaced-comment-in-offline_pages.patch
* drivers-base-node-rename-link_mem_sections-to-register_memory_block_under_node.patch
* drivers-base-memory-determine-and-store-zone-for-single-zone-memory-blocks.patch
* drivers-base-memory-clarify-adding-and-removing-of-memory-blocks.patch
* mm-only-re-generate-demotion-targets-when-a-numa-node-changes-its-n_cpu-state.patch
* mm-only-re-generate-demotion-targets-when-a-numa-node-changes-its-n_cpu-state-v3.patch
* mm-only-re-generate-demotion-targets-when-a-numa-node-changes-its-n_cpu-state-fix.patch
* mm-rmap-convert-from-atomic_t-to-refcount_t-on-anon_vma-refcount.patch
* mm-thp-clearpagedoublemap-in-first-page_add_file_rmap.patch
* mm-zswapc-allow-handling-just-same-value-filled-pages.patch
* mm-remove-usercopy_warn.patch
* mm-uninline-copy_overflow.patch
* mm-usercopy-return-1-from-hardened_usercopy-__setup-handler.patch
* mm-early_ioremap-declare-early_memremap_pgprot_adjust.patch
* highmem-document-kunmap_local.patch
* highmem-document-kunmap_local-v2.patch
* mm-highmem-remove-unnecessary-done-label.patch
* mm-use-strtobool-for-param-parsing.patch
* mm-kfence-remove-unnecessary-config_kfence-option.patch
* kfence-allow-re-enabling-kfence-after-system-startup.patch
* kfence-alloc-kfence_pool-after-system-startup.patch
* kunit-fix-uaf-when-run-kfence-test-case-test_gfpzero.patch
* kunit-make-kunit_test_timeout-compatible-with-comment.patch
* kfence-test-try-to-avoid-test_gfpzero-trigger-rcu_stall.patch
* kfence-allow-use-of-a-deferrable-timer.patch
* mm-hmmc-remove-unneeded-local-variable-ret.patch
* mm-damon-dbgfs-init_regions-use-target-index-instead-of-target-id.patch
* docs-admin-guide-mm-damon-usage-update-for-changed-initail_regions-file-input.patch
* mm-damon-core-move-damon_set_targets-into-dbgfs.patch
* mm-damon-remove-the-target-id-concept.patch
* mm-damon-remove-redundant-page-validation.patch
* mm-damon-rename-damon_primitives-to-damon_operations.patch
* mm-damon-let-monitoring-operations-can-be-registered-and-selected.patch
* mm-damon-paddrvaddr-register-themselves-to-damon-in-subsys_initcall.patch
* mm-damon-reclaim-use-damon_select_ops-instead-of-damon_vpa_set_operations.patch
* mm-damon-dbgfs-use-damon_select_ops-instead-of-damon_vpa_set_operations.patch
* mm-damon-dbgfs-use-operations-id-for-knowing-if-the-target-has-pid.patch
* mm-damon-dbgfs-test-fix-is_target_id-change.patch
* mm-damon-paddrvaddr-remove-damon_pva_target_validset_operations.patch
* mm-damon-remove-unnecessary-config_damon-option.patch
* docs-vm-damon-call-low-level-monitoring-primitives-the-operations.patch
* docs-vm-damon-design-update-damon-idle-page-tracking-interference-handling.patch
* docs-damon-update-outdated-term-regions-update-interval.patch
* mm-damon-core-allow-non-exclusive-damon-start-stop.patch
* mm-damon-core-add-number-of-each-enum-type-values.patch
* mm-damon-implement-a-minimal-stub-for-sysfs-based-damon-interface.patch
* mm-damon-implement-a-minimal-stub-for-sysfs-based-damon-interface-fix.patch
* mm-damon-sysfs-link-damon-for-virtual-address-spaces-monitoring.patch
* mm-damon-sysfs-support-the-physical-address-space-monitoring.patch
* mm-damon-sysfs-support-damon-based-operation-schemes.patch
* mm-damon-sysfs-support-damos-quotas.patch
* mm-damon-sysfs-support-schemes-prioritization.patch
* mm-damon-sysfs-support-damos-watermarks.patch
* mm-damon-sysfs-support-damos-watermarks-fix.patch
* mm-damon-sysfs-support-damos-stats.patch
* selftests-damon-add-a-test-for-damon-sysfs-interface.patch
* docs-admin-guide-mm-damon-usage-document-damon-sysfs-interface.patch
* docs-abi-testing-add-damon-sysfs-interface-abi-document.patch
* mm-damon-sysfs-remove-repeat-container_of-in-damon_sysfs_kdamond_release.patch
* info-task-hung-in-generic_file_write_iter.patch
* info-task-hung-in-generic_file_write-fix.patch
* kernel-hung_taskc-monitor-killed-tasks.patch
* proc-alloc-path_max-bytes-for-proc-pid-fd-symlinks.patch
* proc-alloc-path_max-bytes-for-proc-pid-fd-symlinks-fix.patch
* proc-vmcore-fix-possible-deadlock-on-concurrent-mmap-and-read.patch
* proc-vmcore-fix-vmcore_alloc_buf-kernel-doc-comment.patch
* mm-proc-remove-redundant-page-validation-of-pte_page.patch
* procfs-prevent-unpriveleged-processes-accessing-fdinfo-dir.patch
* proc-sysctl-make-protected_-world-readable.patch
* linux-typesh-remove-unnecessary-__bitwise__.patch
* linux-typesh-remove-unnecessary-__bitwise__-fix.patch
* documentation-sparse-add-hints-about-__checker__.patch
* kernel-ksysfsc-use-helper-macro-__attr_rw.patch
* kconfigdebug-make-debug_info-selectable-from-a-choice.patch
* kconfigdebug-make-debug_info-selectable-from-a-choice-fix.patch
* include-drop-pointless-__compiler_offsetof-indirection.patch
* ilog2-force-inlining-of-__ilog2_u32-and-__ilog2_u64.patch
* bitfield-add-explicit-inclusions-to-the-example.patch
* lib-kconfigdebug-add-arch-dependency-for-function_align-option.patch
* lib-bitmap-fix-many-kernel-doc-warnings.patch
* locking-refcount-use-refcount_warn-to-simplify-code.patch
* lib-fix-uninitialized_varcocci-warning.patch
* lz4-fix-lz4_decompress_safe_partial-read-out-of-bound.patch
* checkpatch-prefer-module_licensegpl-over-module_licensegpl-v2.patch
* checkpatch-add-fix-option-for-some-trailing_statements.patch
* checkpatch-add-early_param-exception-to-blank-line-after-struct-function-test.patch
* checkpatch-use-python3-to-find-codespell-dictionary.patch
* kallsyms-print-module-name-in-%ps-s-case-when-kallsyms-is-disabled.patch
* init-use-ktime_us_delta-to-make-initcall_debug-log-more-precise.patch
* inith-improve-__setup-and-early_param-documentation.patch
* init-mainc-return-1-from-handled-__setup-functions.patch
* init-mainc-silence-some-wunused-parameter-warnings.patch
* fs-pipe-use-kvcalloc-to-allocate-a-pipe_buffer-array.patch
* fs-pipe-local-vars-has-to-match-types-of-proper-pipe_inode_info-fields.patch
* minix-fix-bug-when-opening-a-file-with-o_direct.patch
* fat-use-pointer-to-simple-type-in-put_user.patch
* cgroup-use-irqsave-in-cgroup_rstat_flush_locked.patch
* cgroup-use-irqsave-in-cgroup_rstat_flush_locked-fix.patch
* kexec-make-crashk_res-crashk_low_res-and-crash_notes-symbols-always-visible.patch
* riscv-mm-init-use-is_enabledconfig_kexec_core-instead-of-ifdef.patch
* x86-setup-use-is_enabledconfig_kexec_core-instead-of-ifdef.patch
* arm64-mm-use-is_enabledconfig_kexec_core-instead-of-ifdef.patch
* docs-kdump-update-description-about-sysfs-file-system-support.patch
* docs-kdump-add-scp-example-to-write-out-the-dump-file.patch
* panic-unset-panic_on_warn-inside-panic.patch
* ubsan-no-need-to-unset-panic_on_warn-in-ubsan_epilogue.patch
* kasan-no-need-to-unset-panic_on_warn-in-end_report.patch
* taskstats-remove-unneeded-dead-assignment.patch
* taskstats-remove-unneeded-dead-assignment-fix.patch
* docs-sysctl-kernel-add-missing-bit-to-panic_print.patch
* docs-sysctl-kernel-add-missing-bit-to-panic_print-fix.patch
* panic-add-option-to-dump-all-cpus-backtraces-in-panic_print.patch
* panic-move-panic_print-before-kmsg-dumpers.patch
* kernel-panicc-remove-config_panic_on_oops_value-indirection.patch
* kcov-split-ioctl-handling-into-locked-and-unlocked-parts.patch
* kcov-properly-handle-subsequent-mmap-calls.patch
* kernel-resource-fix-kfree-of-bootmem-memory-again.patch
* revert-ubsan-kcsan-dont-combine-sanitizer-with-kcov-on-clang.patch
* ipc-mqueue-use-get_tree_nodev-in-mqueue_get_tree.patch
linux-next.patch
linux-next-rejects.patch
* mm-oom_killc-fix-vm_oom_kill_table-ifdeffery.patch
* selftest-vm-add-utilh-and-and-move-helper-functions-there.patch
* selftest-vm-add-helpers-to-detect-page_size-and-page_shift.patch
* mm-delete-__clearpagewaiters.patch
* mm-filemap_unaccount_folio-large-skip-mapcount-fixup.patch
* mm-thp-fix-nr_file_mapped-accounting-in-page__file_rmap.patch
* mm-rmap-fix-cache-flush-on-thp-pages.patch
* dax-fix-cache-flush-on-pmd-mapped-pages.patch
* mm-rmap-introduce-pfn_mkclean_range-to-cleans-ptes.patch
* mm-pvmw-add-support-for-walking-devmap-pages.patch
* dax-fix-missing-writeprotect-the-pte-entry.patch
* mm-remove-range-parameter-from-follow_invalidate_pte.patch
* mm-migration-add-trace-events-for-thp-migrations.patch
* mm-migration-add-trace-events-for-base-page-and-hugetlb-migrations.patch
* kasan-page_alloc-deduplicate-should_skip_kasan_poison.patch
* kasan-page_alloc-move-tag_clear_highpage-out-of-kernel_init_free_pages.patch
* kasan-page_alloc-merge-kasan_free_pages-into-free_pages_prepare.patch
* kasan-page_alloc-simplify-kasan_poison_pages-call-site.patch
* kasan-page_alloc-init-memory-of-skipped-pages-on-free.patch
* kasan-drop-skip_kasan_poison-variable-in-free_pages_prepare.patch
* mm-clarify-__gfp_zerotags-comment.patch
* kasan-only-apply-__gfp_zerotags-when-memory-is-zeroed.patch
* kasan-page_alloc-refactor-init-checks-in-post_alloc_hook.patch
* kasan-page_alloc-merge-kasan_alloc_pages-into-post_alloc_hook.patch
* kasan-page_alloc-combine-tag_clear_highpage-calls-in-post_alloc_hook.patch
* kasan-page_alloc-move-setpageskipkasanpoison-in-post_alloc_hook.patch
* kasan-page_alloc-move-kernel_init_free_pages-in-post_alloc_hook.patch
* kasan-page_alloc-rework-kasan_unpoison_pages-call-site.patch
* kasan-clean-up-metadata-byte-definitions.patch
* kasan-define-kasan_vmalloc_invalid-for-sw_tags.patch
* kasan-x86-arm64-s390-rename-functions-for-modules-shadow.patch
* kasan-vmalloc-drop-outdated-vm_kasan-comment.patch
* kasan-reorder-vmalloc-hooks.patch
* kasan-add-wrappers-for-vmalloc-hooks.patch
* kasan-vmalloc-reset-tags-in-vmalloc-functions.patch
* kasan-fork-reset-pointer-tags-of-vmapped-stacks.patch
* kasan-arm64-reset-pointer-tags-of-vmapped-stacks.patch
* kasan-fork-reset-pointer-tags-of-vmapped-stacks-fix.patch
* kasan-fork-reset-pointer-tags-of-vmapped-stacks-fix-2.patch
* kasan-vmalloc-add-vmalloc-tagging-for-sw_tags.patch
* kasan-vmalloc-arm64-mark-vmalloc-mappings-as-pgprot_tagged.patch
* kasan-vmalloc-unpoison-vm_alloc-pages-after-mapping.patch
* kasan-mm-only-define-___gfp_skip_kasan_poison-with-hw_tags.patch
* kasan-page_alloc-allow-skipping-unpoisoning-for-hw_tags.patch
* kasan-page_alloc-allow-skipping-memory-init-for-hw_tags.patch
* kasan-vmalloc-add-vmalloc-tagging-for-hw_tags.patch
* kasan-vmalloc-only-tag-normal-vmalloc-allocations.patch
* kasan-vmalloc-only-tag-normal-vmalloc-allocations-fix.patch
* kasan-vmalloc-only-tag-normal-vmalloc-allocations-fix-fix.patch
* kasan-vmalloc-only-tag-normal-vmalloc-allocations-fix-3.patch
* kasan-arm64-dont-tag-executable-vmalloc-allocations.patch
* kasan-mark-kasan_arg_stacktrace-as-__initdata.patch
* kasan-clean-up-feature-flags-for-hw_tags-mode.patch
* kasan-add-kasanvmalloc-command-line-flag.patch
* kasan-allow-enabling-kasan_vmalloc-and-sw-hw_tags.patch
* arm64-select-kasan_vmalloc-for-sw-hw_tags-modes.patch
* kasan-documentation-updates.patch
* kasan-improve-vmalloc-tests.patch
* kasan-improve-vmalloc-tests-fix.patch
* kasan-improve-vmalloc-tests-fix-2.patch
* kasan-improve-vmalloc-tests-fix-3.patch
* kasan-improve-vmalloc-tests-fix-3-fix.patch
* kasan-test-support-async-again-and-asymm-modes-for-hw_tags.patch
* mm-kasan-remove-unnecessary-config_kasan-option.patch
* kasan-update-function-name-in-comments.patch
* kasan-print-virtual-mapping-info-in-reports.patch
* kasan-drop-addr-check-from-describe_object_addr.patch
* kasan-more-line-breaks-in-reports.patch
* kasan-rearrange-stack-frame-info-in-reports.patch
* kasan-improve-stack-frame-info-in-reports.patch
* kasan-print-basic-stack-frame-info-for-sw_tags.patch
* kasan-print-basic-stack-frame-info-for-sw_tags-fix.patch
* kasan-simplify-async-check-in-end_report.patch
* kasan-simplify-kasan_update_kunit_status-and-call-sites.patch
* kasan-check-config_kasan_kunit_test-instead-of-config_kunit.patch
* kasan-move-update_kunit_status-to-start_report.patch
* kasan-move-disable_trace_on_warning-to-start_report.patch
* kasan-split-out-print_report-from-__kasan_report.patch
* kasan-simplify-kasan_find_first_bad_addr-call-sites.patch
* kasan-restructure-kasan_report.patch
* kasan-merge-__kasan_report-into-kasan_report.patch
* kasan-call-print_report-from-kasan_report_invalid_free.patch
* kasan-move-and-simplify-kasan_report_async.patch
* kasan-rename-kasan_access_info-to-kasan_report_info.patch
* kasan-add-comment-about-uaccess-regions-to-kasan_report.patch
* kasan-respect-kasan_bit_reported-in-all-reporting-routines.patch
* kasan-reorder-reporting-functions.patch
* kasan-move-and-hide-kasan_save_enable-restore_multi_shot.patch
* kasan-disable-lockdep-when-printing-reports.patch
* mm-enable-madv_dontneed-for-hugetlb-mappings.patch
* selftests-vm-add-hugetlb-madvise-madv_dontneed-madv_remove-test.patch
* userfaultfd-selftests-enable-hugetlb-remap-and-remove-event-testing.patch
* mm-huge_memory-make-is_transparent_hugepage-static.patch
* mm-optimize-do_wp_page-for-exclusive-pages-in-the-swapcache.patch
* mm-optimize-do_wp_page-for-fresh-pages-in-local-lru-pagevecs.patch
* mm-slightly-clarify-ksm-logic-in-do_swap_page.patch
* mm-slightly-clarify-ksm-logic-in-do_swap_page-fix.patch
* mm-streamline-cow-logic-in-do_swap_page.patch
* mm-huge_memory-streamline-cow-logic-in-do_huge_pmd_wp_page.patch
* mm-khugepaged-remove-reuse_swap_page-usage.patch
* mm-swapfile-remove-stale-reuse_swap_page.patch
* mm-huge_memory-remove-stale-page_trans_huge_mapcount.patch
* mm-huge_memory-remove-stale-locking-logic-from-__split_huge_pmd.patch
* mm-huge_memory-remove-stale-locking-logic-from-__split_huge_pmd-fix.patch
* mm-warn-on-deleting-redirtied-only-if-accounted.patch
* mm-unmap_mapping_range_tree-with-i_mmap_rwsem-shared.patch
* mm-generalize-arch_has_filter_pgprot.patch
* mm-fix-race-between-madv_free-reclaim-and-blkdev-direct-io-read.patch
* mm-fix-race-between-madv_free-reclaim-and-blkdev-direct-io-read-v4.patch
* mm-madvise-madv_dontneed_locked.patch
* mm-madvise-madv_dontneed_locked-fix.patch
* selftests-vm-remove-dependecy-from-internal-kernel-macros.patch
* selftests-kselftest-framework-provide-finished-helper.patch
* kselftest-vm-override-targets-from-arguments.patch make-sure-nobodys-leaking-resources.patch releasing-resources-with-children.patch mutex-subsystem-synchro-test-module.patch mutex-subsystem-synchro-test-module-fix.patch kernel-forkc-export-kernel_thread-to-modules.patch workaround-for-a-pci-restoring-bug.patch

#1 lore raw

Re: mmotm 2022-03-16-17-42 uploaded (uml sub-x86_64, sched/fair, RCU)

Quoted 8 lines · Andrew Morton

The mm-of-the-moment snapshot 2022-03-16-17-42 has been uploaded to

   https://www.ozlabs.org/~akpm/mmotm/

mmotm-readme.txt says

README for mm-of-the-moment:

Quoted 8 lines

https://www.ozlabs.org/~akpm/mmotm/

This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week.

You will need quilt to apply these patches to the latest Linus release (5.x or 5.x-rcY). The series file is in broken-out.tar.gz and is duplicated in
https://ozlabs.org/~akpm/mmotm/series

UML for x86_64, defconfig:

In file included from ./arch/x86/include/generated/asm/rwonce.h:1:0,

                 from ../include/linux/compiler.h:248,
                 from ../include/linux/kernel.h:20,
                 from ../include/linux/cpumask.h:10,
                 from ../include/linux/energy_model.h:4,
                 from ../kernel/sched/fair.c:23:
../include/linux/psi.h: In function ‘cgroup_move_task’:
../include/linux/rcupdate.h:414:36: error: dereferencing pointer to incomplete type ‘struct css_set’
 #define RCU_INITIALIZER(v) (typeof(*(v)) __force __rcu *)(v)
                                    ^~~~
../include/asm-generic/rwonce.h:55:33: note: in definition of macro ‘__WRITE_ONCE’
  *(volatile typeof(x) *)&(x) = (val);    \
                                 ^~~

../include/asm-generic/barrier.h:190:2: note: in expansion of macro ‘WRITE_ONCE’
WRITE_ONCE(*p, v); \
^~~~~~~~~~
../include/linux/rcupdate.h:455:3: note: in expansion of macro ‘smp_store_release’
smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
^~~~~~~~~~~~~~~~~
../include/linux/rcupdate.h:455:25: note: in expansion of macro ‘RCU_INITIALIZER’

   smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
                         ^~~~~~~~~~~~~~~

../include/linux/psi.h:58:2: note: in expansion of macro ‘rcu_assign_pointer’
rcu_assign_pointer(p->cgroups, to);
^~~~~~~~~~~~~~~~~~

Signature · 6 lines
~Randy

_______________________________________________
linux-um mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-um
#2 lore raw

Re: mmotm 2022-03-16-17-42 uploaded (uml sub-x86_64, sched/fair, RCU)

Quoted 16 lines · Randy Dunlap
Quoted 13 lines · Andrew Morton

The mm-of-the-moment snapshot 2022-03-16-17-42 has been uploaded to

   https://www.ozlabs.org/~akpm/mmotm/

mmotm-readme.txt says

README for mm-of-the-moment:

https://www.ozlabs.org/~akpm/mmotm/

This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week.

Quoted 6 lines
Quoted 3 lines

You will need quilt to apply these patches to the latest Linus release (5.x or 5.x-rcY). The series file is in broken-out.tar.gz and is duplicated in
https://ozlabs.org/~akpm/mmotm/series

UML for x86_64, defconfig:

Also seen on UML for i386, x86_64, and i386.

Quoted 28 lines

In file included from ./arch/x86/include/generated/asm/rwonce.h:1:0,

                 from ../include/linux/compiler.h:248,
                 from ../include/linux/kernel.h:20,
                 from ../include/linux/cpumask.h:10,
                 from ../include/linux/energy_model.h:4,
                 from ../kernel/sched/fair.c:23:
../include/linux/psi.h: In function ‘cgroup_move_task’:
../include/linux/rcupdate.h:414:36: error: dereferencing pointer to incomplete type ‘struct css_set’
 #define RCU_INITIALIZER(v) (typeof(*(v)) __force __rcu *)(v)
                                    ^~~~
../include/asm-generic/rwonce.h:55:33: note: in definition of macro ‘__WRITE_ONCE’
  *(volatile typeof(x) *)&(x) = (val);    \
                                 ^~~

../include/asm-generic/barrier.h:190:2: note: in expansion of macro ‘WRITE_ONCE’
WRITE_ONCE(*p, v); \
^~~~~~~~~~
../include/linux/rcupdate.h:455:3: note: in expansion of macro ‘smp_store_release’

   smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
   ^~~~~~~~~~~~~~~~~
../include/linux/rcupdate.h:455:25: note: in expansion of macro ‘RCU_INITIALIZER’
   smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
                         ^~~~~~~~~~~~~~~

../include/linux/psi.h:58:2: note: in expansion of macro ‘rcu_assign_pointer’
rcu_assign_pointer(p->cgroups, to);
^~~~~~~~~~~~~~~~~~

Signature · 6 lines
~Randy

_______________________________________________
linux-um mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-um
author maintainer
#3 lore raw

Re: mmotm 2022-03-16-17-42 uploaded (uml sub-x86_64, sched/fair, RCU)

In reply to Randy Dunlap
Quoted 24 lines · On Wed, 16 Mar 2022 21:21:16 -0700 Randy Dunlap <[email protected]> wrote:
Quoted 8 lines · Andrew Morton

The mm-of-the-moment snapshot 2022-03-16-17-42 has been uploaded to

   https://www.ozlabs.org/~akpm/mmotm/

mmotm-readme.txt says

README for mm-of-the-moment:

Quoted 8 lines

https://www.ozlabs.org/~akpm/mmotm/

This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week.

You will need quilt to apply these patches to the latest Linus release (5.x or 5.x-rcY). The series file is in broken-out.tar.gz and is duplicated in
https://ozlabs.org/~akpm/mmotm/series

UML for x86_64, defconfig:

In file included from ./arch/x86/include/generated/asm/rwonce.h:1:0,

Quoted 9 lines
                 from ../include/linux/compiler.h:248,
                 from ../include/linux/kernel.h:20,
                 from ../include/linux/cpumask.h:10,
                 from ../include/linux/energy_model.h:4,
                 from ../kernel/sched/fair.c:23:
../include/linux/psi.h: In function ‘cgroup_move_task’:
../include/linux/rcupdate.h:414:36: error: dereferencing pointer to incomplete type ‘struct css_set’
 #define RCU_INITIALIZER(v) (typeof(*(v)) __force __rcu *)(v)
                                    ^~~~

Works For Me. I tried make x86_64_defconfig' and make i386_defconfig' too.

Can you please share that .config, or debug a bit?

#4 lore raw

Re: mmotm 2022-03-16-17-42 uploaded (uml sub-x86_64, sched/fair, RCU)

Quoted 36 lines · Andrew Morton
Quoted 24 lines · On Wed, 16 Mar 2022 21:21:16 -0700 Randy Dunlap <[email protected]> wrote:
Quoted 8 lines · Andrew Morton

The mm-of-the-moment snapshot 2022-03-16-17-42 has been uploaded to

   https://www.ozlabs.org/~akpm/mmotm/

mmotm-readme.txt says

README for mm-of-the-moment:

Quoted 8 lines

https://www.ozlabs.org/~akpm/mmotm/

This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week.

You will need quilt to apply these patches to the latest Linus release (5.x or 5.x-rcY). The series file is in broken-out.tar.gz and is duplicated in
https://ozlabs.org/~akpm/mmotm/series

UML for x86_64, defconfig:

In file included from ./arch/x86/include/generated/asm/rwonce.h:1:0,

Quoted 9 lines
                 from ../include/linux/compiler.h:248,
                 from ../include/linux/kernel.h:20,
                 from ../include/linux/cpumask.h:10,
                 from ../include/linux/energy_model.h:4,
                 from ../kernel/sched/fair.c:23:
../include/linux/psi.h: In function ‘cgroup_move_task’:
../include/linux/rcupdate.h:414:36: error: dereferencing pointer to incomplete type ‘struct css_set’
 #define RCU_INITIALIZER(v) (typeof(*(v)) __force __rcu *)(v)
                                    ^~~~
Quoted 3 lines

Works For Me. I tried make x86_64_defconfig' and make i386_defconfig' too.

Can you please share that .config, or debug a bit?

$ make ARCH=um SUBARCH=x86_64 defconfig

This fixes the build error for me when CONFIG_PSI=n.

---
 include/linux/psi.h |    3 +++
 1 file changed, 3 insertions(+)
include/linux/psi.h +3 -0
@@ -53,6 +53,9 @@ static inline int psi_cgroup_alloc(struc
 static inline void psi_cgroup_free(struct cgroup *cgrp)
 {
 }
+
+#include <linux/cgroup-defs.h>
+
 static inline void cgroup_move_task(struct task_struct *p, struct css_set *to)
 {
 	rcu_assign_pointer(p->cgroups, to);
Signature · 6 lines
~Randy

_______________________________________________
linux-um mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-um
#5 lore raw

Re: mmotm 2022-03-16-17-42 uploaded (uml sub-x86_64, sched/fair, RCU)

Quoted 41 lines · Randy Dunlap
Quoted 38 lines · Andrew Morton
Quoted 24 lines · On Wed, 16 Mar 2022 21:21:16 -0700 Randy Dunlap <[email protected]> wrote:
Quoted 8 lines · Andrew Morton

The mm-of-the-moment snapshot 2022-03-16-17-42 has been uploaded to

   https://www.ozlabs.org/~akpm/mmotm/

mmotm-readme.txt says

README for mm-of-the-moment:

Quoted 8 lines

https://www.ozlabs.org/~akpm/mmotm/

This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week.

You will need quilt to apply these patches to the latest Linus release (5.x or 5.x-rcY). The series file is in broken-out.tar.gz and is duplicated in
https://ozlabs.org/~akpm/mmotm/series

UML for x86_64, defconfig:

In file included from ./arch/x86/include/generated/asm/rwonce.h:1:0,

Quoted 9 lines
                 from ../include/linux/compiler.h:248,
                 from ../include/linux/kernel.h:20,
                 from ../include/linux/cpumask.h:10,
                 from ../include/linux/energy_model.h:4,
                 from ../kernel/sched/fair.c:23:
../include/linux/psi.h: In function ‘cgroup_move_task’:
../include/linux/rcupdate.h:414:36: error: dereferencing pointer to incomplete type ‘struct css_set’
 #define RCU_INITIALIZER(v) (typeof(*(v)) __force __rcu *)(v)
                                    ^~~~

Works For Me. I tried make x86_64_defconfig' and make i386_defconfig' too.

Quoted 7 lines
Quoted 1 line

Can you please share that .config, or debug a bit?

$ make ARCH=um SUBARCH=x86_64 defconfig

This fixes the build error for me when CONFIG_PSI=n.

Looks better than my approach of converting cgroup_move_task() to be a macro. ;-)

Thanx, Paul

Quoted 19 lines
---
 include/linux/psi.h |    3 +++
 1 file changed, 3 insertions(+)
include/linux/psi.h +3 -0
@@ -53,6 +53,9 @@ static inline int psi_cgroup_alloc(struc
 static inline void psi_cgroup_free(struct cgroup *cgrp)
 {
 }
+
+#include <linux/cgroup-defs.h>
+
 static inline void cgroup_move_task(struct task_struct *p, struct css_set *to)
 {
 	rcu_assign_pointer(p->cgroups, to);
Signature · 2 lines
-- 
~Randy
author maintainer
#6 lore raw

Re: mmotm 2022-03-16-17-42 uploaded (uml sub-x86_64, sched/fair, RCU)

In reply to Randy Dunlap
Quoted 11 lines · On Wed, 16 Mar 2022 21:52:44 -0700 Randy Dunlap <[email protected]> wrote:
Quoted 11 lines
Quoted 10 lines

In file included from ./arch/x86/include/generated/asm/rwonce.h:1:0,

                 from ../include/linux/compiler.h:248,
                 from ../include/linux/kernel.h:20,
                 from ../include/linux/cpumask.h:10,
                 from ../include/linux/energy_model.h:4,
                 from ../kernel/sched/fair.c:23:
../include/linux/psi.h: In function ‘cgroup_move_task’:
../include/linux/rcupdate.h:414:36: error: dereferencing pointer to incomplete type ‘struct css_set’
 #define RCU_INITIALIZER(v) (typeof(*(v)) __force __rcu *)(v)
                                    ^~~~
Quoted 6 lines
Quoted 3 lines

Works For Me. I tried make x86_64_defconfig' and make i386_defconfig' too.

Can you please share that .config, or debug a bit?

$ make ARCH=um SUBARCH=x86_64 defconfig

I still can't reproduce this :(

Quoted 1 line

This fixes the build error for me when CONFIG_PSI=n.

I have CONFIG_PSI=n

Quoted 7 lines
---
 include/linux/psi.h |    3 +++
 1 file changed, 3 insertions(+)

include/linux/psi.h static inline int psi_cgroup_alloc(struc · line 61

Quoted 9 lines
include/linux/psi.h +3 -0
@@ -53,6 +53,9 @@ static inline int psi_cgroup_alloc(struc
 static inline void psi_cgroup_free(struct cgroup *cgrp)
 {
 }
+
+#include <linux/cgroup-defs.h>
+
 static inline void cgroup_move_task(struct task_struct *p, struct css_set *to)
 {
 	rcu_assign_pointer(p->cgroups, to);

Nothing in -next touches psi.h so I am unable to determine which patch needs fixing :(

#7 lore raw

Re: mmotm 2022-03-16-17-42 uploaded (uml sub-x86_64, sched/fair, RCU)

Quoted 17 lines · Andrew Morton
Quoted 15 lines · On Wed, 16 Mar 2022 21:52:44 -0700 Randy Dunlap <[email protected]> wrote:
Quoted 14 lines
Quoted 10 lines

In file included from ./arch/x86/include/generated/asm/rwonce.h:1:0,

                 from ../include/linux/compiler.h:248,
                 from ../include/linux/kernel.h:20,
                 from ../include/linux/cpumask.h:10,
                 from ../include/linux/energy_model.h:4,
                 from ../kernel/sched/fair.c:23:
../include/linux/psi.h: In function ‘cgroup_move_task’:
../include/linux/rcupdate.h:414:36: error: dereferencing pointer to incomplete type ‘struct css_set’
 #define RCU_INITIALIZER(v) (typeof(*(v)) __force __rcu *)(v)
                                    ^~~~

Works For Me. I tried make x86_64_defconfig' and make i386_defconfig' too.

Can you please share that .config, or debug a bit?

Quoted 8 lines
Quoted 2 lines
$ make ARCH=um SUBARCH=x86_64 defconfig

I still can't reproduce this :(

Quoted 1 line

This fixes the build error for me when CONFIG_PSI=n.

I have CONFIG_PSI=n

There was also this report about linux-next, also with CONFIG_PSI=n:

https://lore.kernel.org/all/[email protected]/

but I just tried to build with the .config file supplied there and didn't have any build errors...

If it was just me & mmotm, I could see it being a problem with applying patches, but this other report looks the same as my initial report.

I dunno. If it persists, we will track it down and quash it.

Quoted 19 lines
Quoted 7 lines
---
 include/linux/psi.h |    3 +++
 1 file changed, 3 insertions(+)

include/linux/psi.h static inline int psi_cgroup_alloc(struc · line 61

Quoted 9 lines
include/linux/psi.h +3 -0
@@ -53,6 +53,9 @@ static inline int psi_cgroup_alloc(struc
 static inline void psi_cgroup_free(struct cgroup *cgrp)
 {
 }
+
+#include <linux/cgroup-defs.h>
+
 static inline void cgroup_move_task(struct task_struct *p, struct css_set *to)
 {
 	rcu_assign_pointer(p->cgroups, to);

Nothing in -next touches psi.h so I am unable to determine which patch needs fixing :(

Signature · 6 lines
~Randy

_______________________________________________
linux-um mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-um
#8 lore raw

Re: mmotm 2022-03-16-17-42 uploaded (uml sub-x86_64, sched/fair, RCU)

Andrew-

Quoted 33 lines · Randy Dunlap
Quoted 17 lines · Andrew Morton
Quoted 15 lines · On Wed, 16 Mar 2022 21:52:44 -0700 Randy Dunlap <[email protected]> wrote:
Quoted 14 lines
Quoted 10 lines

In file included from ./arch/x86/include/generated/asm/rwonce.h:1:0,

                 from ../include/linux/compiler.h:248,
                 from ../include/linux/kernel.h:20,
                 from ../include/linux/cpumask.h:10,
                 from ../include/linux/energy_model.h:4,
                 from ../kernel/sched/fair.c:23:
../include/linux/psi.h: In function ‘cgroup_move_task’:
../include/linux/rcupdate.h:414:36: error: dereferencing pointer to incomplete type ‘struct css_set’
 #define RCU_INITIALIZER(v) (typeof(*(v)) __force __rcu *)(v)
                                    ^~~~

Works For Me. I tried make x86_64_defconfig' and make i386_defconfig' too.

Can you please share that .config, or debug a bit?

Quoted 8 lines
Quoted 2 lines
$ make ARCH=um SUBARCH=x86_64 defconfig

I still can't reproduce this :(

Quoted 1 line

This fixes the build error for me when CONFIG_PSI=n.

I have CONFIG_PSI=n

There was also this report about linux-next, also with CONFIG_PSI=n:

https://lore.kernel.org/all/[email protected]/

Quoted 27 lines

but I just tried to build with the .config file supplied there and didn't have any build errors...

If it was just me & mmotm, I could see it being a problem with applying patches, but this other report looks the same as my initial report.

I dunno. If it persists, we will track it down and quash it.

Quoted 19 lines
Quoted 7 lines
---
 include/linux/psi.h |    3 +++
 1 file changed, 3 insertions(+)

include/linux/psi.h static inline int psi_cgroup_alloc(struc · line 61

Quoted 9 lines
include/linux/psi.h +3 -0
@@ -53,6 +53,9 @@ static inline int psi_cgroup_alloc(struc
 static inline void psi_cgroup_free(struct cgroup *cgrp)
 {
 }
+
+#include <linux/cgroup-defs.h>
+
 static inline void cgroup_move_task(struct task_struct *p, struct css_set *to)
 {
 	rcu_assign_pointer(p->cgroups, to);

Nothing in -next touches psi.h so I am unable to determine which patch needs fixing :(

I took one i386 config file and tested with it:
linux-next 2022-0317 - fails as above

           2022-0216 - fails as above
           2022-0315 - builds successfully

I have 5 i386 configs that fail in this manner and 2 x86_64 configs that fail. (all from mmotm)

I am attaching the first failing i386 config file but will happily provide the rest of them if anyone wants them.
(just use 'make oldconfig' and press Enter at any kconfig prompts.)

Signature · 1 line
~Randy

_______________________________________________
linux-um mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-um

#9 lore raw

Re: mmotm 2022-03-16-17-42 uploaded (uml sub-x86_64, sched/fair, RCU)

In reply to Randy Dunlap
Quoted 10 lines
Quoted 6 lines

I still can't reproduce this :(

Quoted 1 line

This fixes the build error for me when CONFIG_PSI=n.

I have CONFIG_PSI=n

There was also this report about linux-next, also with CONFIG_PSI=n:

https://lore.kernel.org/all/[email protected]/

Yes, I can still recreate this build error (against 5.17.0-rc8-next-20220317)

CC kernel/sched/fair.o
In file included from ./arch/powerpc/include/generated/asm/rwonce.h:1,

                 from ./include/linux/compiler.h:248,
                 from ./include/linux/kernel.h:20,
                 from ./include/linux/cpumask.h:10,
                 from ./include/linux/energy_model.h:4,
                 from kernel/sched/fair.c:23:
./include/linux/psi.h: In function 'cgroup_move_task':
./include/linux/rcupdate.h:414:36: error: dereferencing pointer to incomplete type 'struct css_set'
 #define RCU_INITIALIZER(v) (typeof(*(v)) __force __rcu *)(v)
                                    ^~~~
./include/asm-generic/rwonce.h:55:33: note: in definition of macro '__WRITE_ONC'
  *(volatile typeof(x) *)&(x) = (val);    \
                                 ^~~

./arch/powerpc/include/asm/barrier.h:74:2: note: in expansion of macro 'WRITE_ONCE'
WRITE_ONCE(*p, v); \
^~~~~~~~~~
./include/asm-generic/barrier.h:164:55: note: in expansion of macro '__smp_store_release'

 #define smp_store_release(p, v) do { kcsan_release(); __smp_store_release(p, v); } while (0)
                                                       ^~~~~~~~~~~~~~~~~~~

./include/linux/rcupdate.h:455:3: note: in expansion of macro 'smp_store_releas'
smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
^~~~~~~~~~~~~~~~~
./include/linux/rcupdate.h:455:25: note: in expansion of macro 'RCU_INITIALIZER'

   smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
                         ^~~~~~~~~~~~~~~

./include/linux/psi.h:58:2: note: in expansion of macro 'rcu_assign_pointer'
rcu_assign_pointer(p->cgroups, to);
^~~~~~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:310: kernel/sched/fair.o] Error 1 make[1]: *** [scripts/Makefile.build:638: kernel/sched] Error 2
make: *** [Makefile:1991: kernel] Error 2

As mentioned by Randy, this build break was introduced in next-20220316. Git bisect points to:
commit c4ad6fcb67c42d65481c85733c8009c8afdfdf4e (refs/bisect/bad)
sched/headers: Reorganize, clean up and optimize kernel/sched/fair.c dependencies

The change suggested by Randy works for me.

I have attached .config for reference.

-Sachin

#10 lore raw

Re: mmotm 2022-03-16-17-42 uploaded (drivers/iio/afe/iio-rescale.o)

In reply to Andrew Morton
Quoted 8 lines · Andrew Morton

The mm-of-the-moment snapshot 2022-03-16-17-42 has been uploaded to

   https://www.ozlabs.org/~akpm/mmotm/

mmotm-readme.txt says

README for mm-of-the-moment:

Quoted 8 lines

https://www.ozlabs.org/~akpm/mmotm/

This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week.

You will need quilt to apply these patches to the latest Linus release (5.x or 5.x-rcY). The series file is in broken-out.tar.gz and is duplicated in
https://ozlabs.org/~akpm/mmotm/series

on x86_64:

ERROR: modpost: missing MODULE_LICENSE() in drivers/iio/afe/iio-rescale.o

Signature · 1 line
~Randy
#11 lore raw

Re: mmotm 2022-03-16-17-42 uploaded (drivers/pinctrl/nuvoton/pinctrl-wpcm450.c)

In reply to Andrew Morton
Quoted 8 lines · Andrew Morton

The mm-of-the-moment snapshot 2022-03-16-17-42 has been uploaded to

   https://www.ozlabs.org/~akpm/mmotm/

mmotm-readme.txt says

README for mm-of-the-moment:

Quoted 8 lines

https://www.ozlabs.org/~akpm/mmotm/

This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week.

You will need quilt to apply these patches to the latest Linus release (5.x or 5.x-rcY). The series file is in broken-out.tar.gz and is duplicated in
https://ozlabs.org/~akpm/mmotm/series

on i386:

I see about 100 of these:

../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:470:26: error: array type has incomplete element type ‘struct group_desc’

 static struct group_desc wpcm450_groups[] = {
                          ^~~~~~~~~~~~~~
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:471:26: error: field name not in record or union initializer
 #define WPCM450_GRP(x) { .name = #x, .pins = x ## _pins, \
                          ^

../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:401:2: note: in expansion of macro ‘WPCM450_GRP’
WPCM450_GRP(smb3), \
^~~~~~~~~~~
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:473:2: note: in expansion of macro ‘WPCM450_GRPS’
WPCM450_GRPS
^~~~~~~~~~~~
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:471:26: note: (near initialization for ‘wpcm450_groups’)

 #define WPCM450_GRP(x) { .name = #x, .pins = x ## _pins, \
                          ^

../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:401:2: note: in expansion of macro ‘WPCM450_GRP’
WPCM450_GRP(smb3), \
^~~~~~~~~~~
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:473:2: note: in expansion of macro ‘WPCM450_GRPS’
WPCM450_GRPS
^~~~~~~~~~~~
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:471:38: error: field name not in record or union initializer

 #define WPCM450_GRP(x) { .name = #x, .pins = x ## _pins, \
                                      ^

../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:401:2: note: in expansion of macro ‘WPCM450_GRP’
WPCM450_GRP(smb3), \
^~~~~~~~~~~
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:473:2: note: in expansion of macro ‘WPCM450_GRPS’
WPCM450_GRPS
^~~~~~~~~~~~
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:471:38: note: (near initialization for ‘wpcm450_groups’)

 #define WPCM450_GRP(x) { .name = #x, .pins = x ## _pins, \
                                      ^

../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:401:2: note: in expansion of macro ‘WPCM450_GRP’
WPCM450_GRP(smb3), \
^~~~~~~~~~~
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:473:2: note: in expansion of macro ‘WPCM450_GRPS’
WPCM450_GRPS
^~~~~~~~~~~~
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:472:4: error: field name not in record or union initializer

    .num_pins = ARRAY_SIZE(x ## _pins) }
    ^

../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:401:2: note: in expansion of macro ‘WPCM450_GRP’
WPCM450_GRP(smb3), \
^~~~~~~~~~~
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:473:2: note: in expansion of macro ‘WPCM450_GRPS’
WPCM450_GRPS
^~~~~~~~~~~~
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:472:4: note: (near initialization for ‘wpcm450_groups’)

    .num_pins = ARRAY_SIZE(x ## _pins) }
    ^

../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:401:2: note: in expansion of macro ‘WPCM450_GRP’
WPCM450_GRP(smb3), \
^~~~~~~~~~~
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:473:2: note: in expansion of macro ‘WPCM450_GRPS’
WPCM450_GRPS
^~~~~~~~~~~~
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:471:26: error: field name not in record or union initializer

 #define WPCM450_GRP(x) { .name = #x, .pins = x ## _pins, \
                          ^

../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:402:2: note: in expansion of macro ‘WPCM450_GRP’
WPCM450_GRP(smb4), \
^~~~~~~~~~~
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:473:2: note: in expansion of macro ‘WPCM450_GRPS’
WPCM450_GRPS
^~~~~~~~~~~~

and then these:

In file included from ../include/linux/bits.h:22:0,

                 from ../include/linux/ratelimit_types.h:5,
                 from ../include/linux/ratelimit.h:5,
                 from ../include/linux/dev_printk.h:16,
                 from ../include/linux/device.h:15,
                 from ../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:12:
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c: In function ‘wpcm450_get_groups_count’:
../include/linux/build_bug.h:16:51: error: bit-field ‘<anonymous>’ width not an integer constant
 #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); })))
                                                   ^
../include/linux/compiler.h:240:28: note: in expansion of macro ‘BUILD_BUG_ON_ZERO’
 #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
                            ^~~~~~~~~~~~~~~~~
../include/linux/kernel.h:55:59: note: in expansion of macro ‘__must_be_array’
 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
                                                           ^~~~~~~~~~~~~~~
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:820:9: note: in expansion of macro ‘ARRAY_SIZE’
  return ARRAY_SIZE(wpcm450_groups);
         ^~~~~~~~~~

../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c: In function ‘wpcm450_get_group_name’:
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:827:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c: In function ‘wpcm450_get_groups_count’:
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:821:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
At top level:
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:470:26: warning: ‘wpcm450_groups’ defined but not used [-Wunused-variable]

 static struct group_desc wpcm450_groups[] = {
                          ^~~~~~~~~~~~~~

Full randconfig file is attached.

Signature · 1 line
~Randy