* mmotm 2020-01-28-20-05 uploaded
@ 2020-01-29 4:06 akpm
2020-01-29 4:39 ` mmotm 2020-01-28-20-05 uploaded (net/mptcp/subflow.c) Randy Dunlap
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: akpm @ 2020-01-29 4:06 UTC (permalink / raw)
To: broonie, linux-fsdevel, linux-kernel, linux-mm, linux-next,
mhocko, mm-commits, sfr
The mm-of-the-moment snapshot 2020-01-28-20-05 has been uploaded to
http://www.ozlabs.org/~akpm/mmotm/
mmotm-readme.txt says
README for mm-of-the-moment:
http://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
http://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 http://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.5:
(patches marked "*" will be included in linux-next)
origin.patch
* lib-test_bitmap-correct-test-data-offsets-for-32-bit.patch
* memcg-fix-a-crash-in-wb_workfn-when-a-device-disappears.patch
* mm-mempolicyc-fix-out-of-bounds-write-in-mpol_parse_str.patch
* ocfs2-fix-the-oops-problem-when-write-cloned-file.patch
* mm-sparse-reset-sections-mem_map-when-fully-deactivated.patch
* mm-migratec-also-overwrite-error-when-it-is-bigger-than-zero.patch
* mm-memory_hotplug-fix-remove_memory-lockdep-splat.patch
* proc-kpageflags-prevent-an-integer-overflow-in-stable_page_flags.patch
* proc-kpageflags-do-not-use-uninitialized-struct-pages.patch
* x86-mm-split-vmalloc_sync_all.patch
* revert-ipcsem-remove-uneeded-sem_undo_list-lock-usage-in-exit_sem.patch
* mm-fix-uninitialized-memmaps-on-a-partially-populated-last-section.patch
* fs-proc-pagec-allow-inspection-of-last-section-and-fix-end-detection.patch
* mm-initialize-memmap-of-unavailable-memory-directly.patch
* mm-thp-remove-the-defer-list-related-code-since-this-will-not-happen.patch
* mm-move_pages-report-the-number-of-non-attempted-pages.patch
* scripts-spellingtxt-add-more-spellings-to-spellingtxt.patch
* scripts-spellingtxt-add-issus-typo.patch
* fs-ocfs-remove-unnecessary-assertion-in-dlm_migrate_lockres.patch
* ocfs2-remove-unneeded-semicolon.patch
* ocfs2-make-local-header-paths-relative-to-c-files.patch
* ocfs2-dlm-remove-redundant-assignment-to-ret.patch
* ocfs2-dlm-move-bits_to_bytes-to-bitopsh-for-wider-use.patch
* ocfs2-fix-a-null-pointer-dereference-when-call-ocfs2_update_inode_fsync_trans.patch
* ocfs2-use-ocfs2_update_inode_fsync_trans-to-access-t_tid-in-handle-h_transaction.patch
* ramfs-support-o_tmpfile.patch
mm.patch
* mm-avoid-slub-allocation-while-holding-list_lock.patch
* kmemleak-turn-kmemleak_lock-and-object-lock-to-raw_spinlock_t.patch
* mm-debug-always-print-flags-in-dump_page.patch
* mm-clean-up-filemap_write_and_wait.patch
* mm-fix-gup_pud_range.patch
* mm-gupc-use-is_vm_hugetlb_page-to-check-whether-to-follow-huge.patch
* mm-gup-factor-out-duplicate-code-from-four-routines.patch
* mm-gup-move-try_get_compound_head-to-top-fix-minor-issues.patch
* mm-cleanup-__put_devmap_managed_page-vs-page_free.patch
* mm-devmap-refactor-1-based-refcounting-for-zone_device-pages.patch
* goldish_pipe-rename-local-pin_user_pages-routine.patch
* mm-fix-get_user_pages_remotes-handling-of-foll_longterm.patch
* vfio-fix-foll_longterm-use-simplify-get_user_pages_remote-call.patch
* mm-gup-allow-foll_force-for-get_user_pages_fast.patch
* ib-umem-use-get_user_pages_fast-to-pin-dma-pages.patch
* media-v4l2-core-set-pages-dirty-upon-releasing-dma-buffers.patch
* mm-gup-introduce-pin_user_pages-and-foll_pin.patch
* goldish_pipe-convert-to-pin_user_pages-and-put_user_page.patch
* ib-corehwumem-set-foll_pin-via-pin_user_pages-fix-up-odp.patch
* mm-process_vm_access-set-foll_pin-via-pin_user_pages_remote.patch
* drm-via-set-foll_pin-via-pin_user_pages_fast.patch
* fs-io_uring-set-foll_pin-via-pin_user_pages.patch
* net-xdp-set-foll_pin-via-pin_user_pages.patch
* media-v4l2-core-pin_user_pages-foll_pin-and-put_user_page-conversion.patch
* vfio-mm-pin_user_pages-foll_pin-and-put_user_page-conversion.patch
* powerpc-book3s64-convert-to-pin_user_pages-and-put_user_page.patch
* mm-gup_benchmark-use-proper-foll_write-flags-instead-of-hard-coding-1.patch
* mm-tree-wide-rename-put_user_page-to-unpin_user_page.patch
* swap_next-should-increase-position-index.patch
* mm-cleanup-some-useless-code.patch
* mm-vmscan-expose-cgroup_ino-for-memcg-reclaim-tracepoints.patch
* mm-pgmap-use-correct-alignment-when-looking-at-first-pfn-from-a-region.patch
* mm-mmap-fix-the-adjusted-length-error.patch
* mm-page_vma_mappedc-explicitly-compare-pfn-for-normal-hugetlbfs-and-thp-page.patch
* mm-tracing-print-symbol-name-for-kmem_alloc_node-call_site-events.patch
* lib-test_kasanc-fix-memory-leak-in-kmalloc_oob_krealloc_more.patch
* mm-early_remap-use-%pa-to-print-resource_size_t-variables.patch
* mm-page_alloc-skip-non-present-sections-on-zone-initialization.patch
* mm-page_alloc-fix-and-rework-pfn-handling-in-memmap_init_zone.patch
* mm-factor-out-next_present_section_nr.patch
* mm-remove-the-memory-isolate-notifier.patch
* mm-remove-count-parameter-from-has_unmovable_pages.patch
* mm-vmscanc-remove-unused-return-value-of-shrink_node.patch
* mm-vmscan-remove-prefetch_prev_lru_page.patch
* mm-vmscan-remove-unused-reclaim_off-reclaim_zone.patch
* mm-vmscan-remove-unused-reclaim_off-reclaim_zone-fix.patch
* tools-vm-slabinfo-fix-sanity-checks-enabling.patch
* mm-memblock-define-memblock_physmem_add.patch
* memblock-use-__func__-in-remaining-memblock_dbg-call-sites.patch
* mm-oom-avoid-printk-iteration-under-rcu.patch
* mm-oom-avoid-printk-iteration-under-rcu-fix.patch
* mm-oom-dump-stack-of-victim-when-reaping-failed.patch
* mm-huge_memoryc-use-head-to-check-huge-zero-page.patch
* mm-huge_memoryc-use-head-to-emphasize-the-purpose-of-page.patch
* mm-huge_memoryc-reduce-critical-section-protected-by-split_queue_lock.patch
* mm-migrate-remove-useless-mask-of-start-address.patch
* mm-migrate-clean-up-some-minor-coding-style.patch
* mm-migrate-add-stable-check-in-migrate_vma_insert_page.patch
* mm-thp-fix-defrag-setting-if-newline-is-not-used.patch
* mm-get-rid-of-odd-jump-labels-in-find_mergeable_anon_vma.patch
* drivers-base-memoryc-cache-memory-blocks-in-xarray-to-accelerate-lookup.patch
* drivers-base-memoryc-cache-memory-blocks-in-xarray-to-accelerate-lookup-fix.patch
* mm-memmap_init-update-variable-name-in-memmap_init_zone.patch
* mm-memory_hotplug-poison-memmap-in-remove_pfn_range_from_zone.patch
* mm-memory_hotplug-we-always-have-a-zone-in-find_smallestbiggest_section_pfn.patch
* mm-memory_hotplug-dont-check-for-all-holes-in-shrink_zone_span.patch
* mm-memory_hotplug-drop-local-variables-in-shrink_zone_span.patch
* mm-memory_hotplug-cleanup-__remove_pages.patch
* mm-memory_hotplug-drop-valid_start-valid_end-from-test_pages_in_a_zone.patch
* mm-memory_hotplug-pass-in-nid-to-online_pages.patch
* mm-hotplug-silence-a-lockdep-splat-with-printk.patch
* mm-page_isolation-fix-potential-warning-from-user.patch
* zswap-add-allocation-hysteresis-if-pool-limit-is-hit.patch
* zswap-potential-null-dereference-on-error-in-init_zswap.patch
* mm-clean-up-obsolete-check-on-space-in-page-flags.patch
* mm-remove-dead-code-totalram_pages_set.patch
* mm-drop-elements-hw-and-phys_callback-from-struct-memory_block.patch
* mm-fix-comments-related-to-node-reclaim.patch
* zram-try-to-avoid-worst-case-scenario-on-same-element-pages.patch
* zram-try-to-avoid-worst-case-scenario-on-same-element-pages-update.patch
* zram-fix-error-return-codes-not-being-returned-in-writeback_store.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
* y2038-remove-ktime-to-from-timespec-timeval-conversion.patch
* y2038-remove-unused-time32-interfaces.patch
* y2038-hide-timeval-timespec-itimerval-itimerspec-types.patch
* add-helpers-for-kelvin-to-from-celsius-conversion.patch
* acpi-thermal-switch-to-use-linux-unitsh-helpers.patch
* platform-x86-asus-wmi-switch-to-use-linux-unitsh-helpers.patch
* platform-x86-intel_menlow-switch-to-use-linux-unitsh-helpers.patch
* thermal-int340x-switch-to-use-linux-unitsh-helpers.patch
* thermal-intel_pch-switch-to-use-linux-unitsh-helpers.patch
* nvme-hwmon-switch-to-use-linux-unitsh-helpers.patch
* thermal-remove-kelvin-to-from-celsius-conversion-helpers-from-linux-thermalh.patch
* iwlegacy-use-linux-unitsh-helpers.patch
* iwlegacy-use-linux-unitsh-helpers-fix.patch
* iwlwifi-use-linux-unitsh-helpers.patch
* thermal-armada-remove-unused-to_mcelsius-macro.patch
* iio-adc-qcom-vadc-common-use-linux-unitsh-helpers.patch
* maintainers-add-an-entry-for-kfifo.patch
* lib-zlib-add-s390-hardware-support-for-kernel-zlib_deflate.patch
* s390-boot-rename-heap_size-due-to-name-collision.patch
* lib-zlib-add-s390-hardware-support-for-kernel-zlib_inflate.patch
* s390-boot-add-dfltcc=-kernel-command-line-parameter.patch
* lib-zlib-add-zlib_deflate_dfltcc_enabled-function.patch
* btrfs-use-larger-zlib-buffer-for-s390-hardware-compression.patch
* lib-scatterlist-adjust-indentation-in-__sg_alloc_table.patch
* uapi-rename-ext2_swab-to-swab-and-share-globally-in-swabh.patch
* lib-find_bitc-join-_find_next_bit_le.patch
* lib-find_bitc-uninline-helper-_find_next_bit.patch
* string-add-stracpy-and-stracpy_pad-mechanisms.patch
* documentation-checkpatch-prefer-stracpy-strscpy-over-strcpy-strlcpy-strncpy.patch
* elf-smaller-code-generation-around-auxv-vector-fill.patch
* elf-fix-start_code-calculation.patch
* elf-dont-copy-elf-header-around.patch
* elf-better-codegen-around-current-mm.patch
* elf-make-bad_addr-unlikely.patch
* elf-coredump-allocate-core-elf-header-on-stack.patch
* elf-coredump-delete-duplicated-overflow-check.patch
* elf-coredump-allow-process-with-empty-address-space-to-coredump.patch
* init-mainc-log-arguments-and-environment-passed-to-init.patch
* init-mainc-remove-unnecessary-repair_env_string-in-do_initcall_level.patch
* init-mainc-fix-quoted-value-handling-in-unknown_bootoption.patch
* init-fix-misleading-this-architecture-does-not-have-kernel-memory-protection-message.patch
* reiserfs-prevent-null-pointer-dereference-in-reiserfs_insert_item.patch
* execve-warn-if-process-starts-with-executable-stack.patch
* io-mapping-use-phys_pfn-macro-in-io_mapping_map_atomic_wc.patch
* kernel-relayc-fix-read_pos-error-when-multiple-readers.patch
* aio-simplify-read_events.patch
* kcov-ignore-fault-inject-and-stacktrace.patch
* mips-kdb-remove-old-workaround-for-backtracing-on-other-cpus.patch
* kdb-kdb_current_regs-should-be-private.patch
* kdb-kdb_current_task-shouldnt-be-exported.patch
* kdb-gid-rid-of-implicit-setting-of-the-current-task-regs.patch
* kdb-get-rid-of-confusing-diag-msg-from-rd-if-current-task-has-no-regs.patch
* smp_mb__beforeafter_atomic-update-documentation.patch
* ipc-mqueuec-remove-duplicated-code.patch
* ipc-mqueuec-update-document-memory-barriers.patch
* ipc-msgc-update-and-document-memory-barriers.patch
* ipc-semc-document-and-update-memory-barriers.patch
* ipc-consolidate-all-xxxctl_down-functions.patch
* ipc-consolidate-all-xxxctl_down-functions-fix.patch
linux-next.patch
linux-next-fix.patch
linux-next-git-rejects.patch
* drivers-block-null_blk_mainc-fix-layout.patch
* drivers-block-null_blk_mainc-fix-uninitialized-var-warnings.patch
* pinctrl-fix-pxa2xxc-build-warnings.patch
* mm-remove-__krealloc.patch
* mm-add-generic-pd_leaf-macros.patch
* arc-mm-add-pd_leaf-definitions.patch
* arm-mm-add-pd_leaf-definitions.patch
* arm64-mm-add-pd_leaf-definitions.patch
* mips-mm-add-pd_leaf-definitions.patch
* powerpc-mm-add-pd_leaf-definitions.patch
* riscv-mm-add-pd_leaf-definitions.patch
* s390-mm-add-pd_leaf-definitions.patch
* sparc-mm-add-pd_leaf-definitions.patch
* x86-mm-add-pd_leaf-definitions.patch
* mm-pagewalk-add-p4d_entry-and-pgd_entry.patch
* mm-pagewalk-add-p4d_entry-and-pgd_entry-fix.patch
* mm-pagewalk-allow-walking-without-vma.patch
* mm-pagewalk-dont-lock-ptes-for-walk_page_range_novma.patch
* mm-pagewalk-fix-termination-condition-in-walk_pte_range.patch
* mm-pagewalk-add-depth-parameter-to-pte_hole.patch
* x86-mm-point-to-struct-seq_file-from-struct-pg_state.patch
* x86-mmefi-convert-ptdump_walk_pgd_level-to-take-a-mm_struct.patch
* x86-mm-convert-ptdump_walk_pgd_level_debugfs-to-take-an-mm_struct.patch
* mm-add-generic-ptdump.patch
* x86-mm-convert-dump_pagetables-to-use-walk_page_range.patch
* arm64-mm-convert-mm-dumpc-to-use-walk_page_range.patch
* arm64-mm-display-non-present-entries-in-ptdump.patch
* mm-ptdump-reduce-level-numbers-by-1-in-note_page.patch
* x86-mm-avoid-allocating-struct-mm_struct-on-the-stack.patch
* x86-mm-avoid-allocating-struct-mm_struct-on-the-stack-fix.patch
* powerpc-mmu_gather-enable-rcu_table_free-even-for-smp-case.patch
* mm-mmu_gather-invalidate-tlb-correctly-on-batch-allocation-failure-and-flush.patch
* asm-generic-tlb-avoid-potential-double-flush.patch
* asm-gemeric-tlb-remove-stray-function-declarations.patch
* asm-generic-tlb-add-missing-config-symbol.patch
* asm-generic-tlb-rename-have_rcu_table_free.patch
* asm-generic-tlb-rename-have_mmu_gather_page_size.patch
* asm-generic-tlb-rename-have_mmu_gather_no_gather.patch
* asm-generic-tlb-provide-mmu_gather_table_free.patch
* proc-decouple-proc-from-vfs-with-struct-proc_ops.patch
* proc-convert-everything-to-struct-proc_ops.patch
* proc-convert-everything-to-struct-proc_ops-fix.patch
* proc-convert-everything-to-struct-proc_ops-fix-2.patch
* lib-string-add-strnchrnul.patch
* bitops-more-bits_to_-macros.patch
* lib-add-test-for-bitmap_parse.patch
* lib-add-test-for-bitmap_parse-fix.patch
* lib-add-test-for-bitmap_parse-fix-2.patch
* lib-make-bitmap_parse_user-a-wrapper-on-bitmap_parse.patch
* lib-rework-bitmap_parse.patch
* lib-new-testcases-for-bitmap_parse_user.patch
* cpumask-dont-calculate-length-of-the-input-string.patch
* treewide-remove-redundent-is_err-before-error-code-check.patch
* arm-dma-api-fix-max_pfn-off-by-one-error-in-__dma_supported.patch
* drivers-tty-serial-sh-scic-suppress-warning.patch
* fix-read-buffer-overflow-in-delta-ipc.patch
make-sure-nobodys-leaking-resources.patch
releasing-resources-with-children.patch
mutex-subsystem-synchro-test-module.patch
kernel-forkc-export-kernel_thread-to-modules.patch
workaround-for-a-pci-restoring-bug.patch
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: mmotm 2020-01-28-20-05 uploaded (net/mptcp/subflow.c) 2020-01-29 4:06 mmotm 2020-01-28-20-05 uploaded akpm @ 2020-01-29 4:39 ` Randy Dunlap 2020-01-29 4:52 ` mmotm 2020-01-28-20-05 uploaded (security/security.c) Randy Dunlap [not found] ` <5f2400c0-3d9d-9bfd-315e-a26bedb165a7@infradead.org> 2 siblings, 0 replies; 7+ messages in thread From: Randy Dunlap @ 2020-01-29 4:39 UTC (permalink / raw) To: akpm, broonie, linux-fsdevel, linux-kernel, linux-mm, linux-next, mhocko, mm-commits, sfr, netdev@vger.kernel.org Cc: mptcp, Mat Martineau, Matthieu Baerts On 1/28/20 8:06 PM, akpm@linux-foundation.org wrote: > The mm-of-the-moment snapshot 2020-01-28-20-05 has been uploaded to > > http://www.ozlabs.org/~akpm/mmotm/ > > mmotm-readme.txt says > > README for mm-of-the-moment: > > http://www.ozlabs.org/~akpm/mmotm/ > > This is a snapshot of my -mm patch queue. Uploaded at random hopefully > more than once a week. > Lots of build errors when CONFIG_PROC_FS is not set/enabled: (truncation of around 500 lines of errors & warnings:) In file included from ../include/asm-generic/percpu.h:7:0, from ../arch/x86/include/asm/percpu.h:556, from ../arch/x86/include/asm/preempt.h:6, from ../include/linux/preempt.h:78, from ../include/linux/spinlock.h:51, from ../include/linux/seqlock.h:36, from ../include/linux/time.h:6, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../net/mptcp/subflow.c:10: ../net/mptcp/subflow.c: In function ‘mptcp_subflow_create_socket’: ../net/mptcp/subflow.c:624:25: error: ‘struct netns_core’ has no member named ‘sock_inuse’ this_cpu_add(*net->core.sock_inuse, 1); ^ ../include/linux/percpu-defs.h:219:47: note: in definition of macro ‘__verify_pcpu_ptr’ const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ ^~~ ../include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ../net/mptcp/subflow.c:624:2: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*net->core.sock_inuse, 1); ^~~~~~~~~~~~ ../net/mptcp/subflow.c:624:25: error: ‘struct netns_core’ has no member named ‘sock_inuse’ this_cpu_add(*net->core.sock_inuse, 1); ^ ../include/linux/percpu-defs.h:376:16: note: in definition of macro ‘__pcpu_size_call’ switch(sizeof(variable)) { \ ^~~~~~~~ ../net/mptcp/subflow.c:624:2: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*net->core.sock_inuse, 1); ^~~~~~~~~~~~ In file included from ../arch/x86/include/asm/preempt.h:6:0, from ../include/linux/preempt.h:78, from ../include/linux/spinlock.h:51, from ../include/linux/seqlock.h:36, from ../include/linux/time.h:6, from ../include/linux/stat.h:19, from ../include/linux/module.h:13, from ../net/mptcp/subflow.c:10: ../net/mptcp/subflow.c:624:25: error: ‘struct netns_core’ has no member named ‘sock_inuse’ this_cpu_add(*net->core.sock_inuse, 1); ^ ../arch/x86/include/asm/percpu.h:129:17: note: in definition of macro ‘percpu_add_op’ typedef typeof(var) pao_T__; \ ^~~ ../include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ../include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ../net/mptcp/subflow.c:624:2: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*net->core.sock_inuse, 1); ^~~~~~~~~~~~ ../net/mptcp/subflow.c:624:25: error: ‘struct netns_core’ has no member named ‘sock_inuse’ this_cpu_add(*net->core.sock_inuse, 1); ^ ../arch/x86/include/asm/percpu.h:138:17: note: in definition of macro ‘percpu_add_op’ switch (sizeof(var)) { \ ^~~ ../include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ../include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ../net/mptcp/subflow.c:624:2: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*net->core.sock_inuse, 1); ^~~~~~~~~~~~ ../net/mptcp/subflow.c:624:25: error: ‘struct netns_core’ has no member named ‘sock_inuse’ this_cpu_add(*net->core.sock_inuse, 1); ^ ../arch/x86/include/asm/percpu.h:141:45: note: in definition of macro ‘percpu_add_op’ asm qual ("incb "__percpu_arg(0) : "+m" (var)); \ ^~~ ../include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ../include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ../net/mptcp/subflow.c:624:2: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*net->core.sock_inuse, 1); ^~~~~~~~~~~~ ../net/mptcp/subflow.c:624:25: error: ‘struct netns_core’ has no member named ‘sock_inuse’ this_cpu_add(*net->core.sock_inuse, 1); ^ ../arch/x86/include/asm/percpu.h:143:45: note: in definition of macro ‘percpu_add_op’ asm qual ("decb "__percpu_arg(0) : "+m" (var)); \ ^~~ ../include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’ case 1: stem##1(variable, __VA_ARGS__);break; \ ^~~~ ../include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’ #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) ^~~~~~~~~~~~~~~~ ../net/mptcp/subflow.c:624:2: note: in expansion of macro ‘this_cpu_add’ this_cpu_add(*net->core.sock_inuse, 1); ^~~~~~~~~~~~ ../net/mptcp/subflow.c:624:25: error: ‘struct netns_core’ has no member named ‘sock_inuse’ this_cpu_add(*net->core.sock_inuse, 1); ^ -- ~Randy Reported-by: Randy Dunlap <rdunlap@infradead.org> ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: mmotm 2020-01-28-20-05 uploaded (security/security.c) 2020-01-29 4:06 mmotm 2020-01-28-20-05 uploaded akpm 2020-01-29 4:39 ` mmotm 2020-01-28-20-05 uploaded (net/mptcp/subflow.c) Randy Dunlap @ 2020-01-29 4:52 ` Randy Dunlap 2020-01-29 13:51 ` Paul Moore 2020-01-29 22:32 ` Stephen Rothwell [not found] ` <5f2400c0-3d9d-9bfd-315e-a26bedb165a7@infradead.org> 2 siblings, 2 replies; 7+ messages in thread From: Randy Dunlap @ 2020-01-29 4:52 UTC (permalink / raw) To: akpm, broonie, linux-fsdevel, linux-kernel, linux-mm, linux-next, mhocko, mm-commits, sfr, linux-security-module, James Morris, Serge E. Hallyn On 1/28/20 8:06 PM, akpm@linux-foundation.org wrote: > The mm-of-the-moment snapshot 2020-01-28-20-05 has been uploaded to > > http://www.ozlabs.org/~akpm/mmotm/ > > mmotm-readme.txt says > > README for mm-of-the-moment: > > http://www.ozlabs.org/~akpm/mmotm/ > > This is a snapshot of my -mm patch queue. Uploaded at random hopefully > more than once a week. > security/security.c contains duplicate lines for <lockdown_reasons> array: /* * These are descriptions of the reasons that can be passed to the * security_locked_down() LSM hook. Placing this array here allows * all security modules to use the same descriptions for auditing * purposes. */ const char *const lockdown_reasons[LOCKDOWN_CONFIDENTIALITY_MAX+1] = { [LOCKDOWN_NONE] = "none", [LOCKDOWN_MODULE_SIGNATURE] = "unsigned module loading", [LOCKDOWN_DEV_MEM] = "/dev/mem,kmem,port", [LOCKDOWN_EFI_TEST] = "/dev/efi_test access", [LOCKDOWN_KEXEC] = "kexec of unsigned images", [LOCKDOWN_HIBERNATION] = "hibernation", [LOCKDOWN_PCI_ACCESS] = "direct PCI access", [LOCKDOWN_IOPORT] = "raw io port access", [LOCKDOWN_MSR] = "raw MSR access", [LOCKDOWN_ACPI_TABLES] = "modifying ACPI tables", [LOCKDOWN_PCMCIA_CIS] = "direct PCMCIA CIS storage", [LOCKDOWN_TIOCSSERIAL] = "reconfiguration of serial port IO", [LOCKDOWN_MODULE_PARAMETERS] = "unsafe module parameters", [LOCKDOWN_MMIOTRACE] = "unsafe mmio", [LOCKDOWN_DEBUGFS] = "debugfs access", [LOCKDOWN_XMON_WR] = "xmon write access", [LOCKDOWN_INTEGRITY_MAX] = "integrity", [LOCKDOWN_KCORE] = "/proc/kcore access", [LOCKDOWN_KPROBES] = "use of kprobes", [LOCKDOWN_BPF_READ] = "use of bpf to read kernel RAM", [LOCKDOWN_PERF] = "unsafe use of perf", [LOCKDOWN_TRACEFS] = "use of tracefs", [LOCKDOWN_XMON_RW] = "xmon read and write access", [LOCKDOWN_CONFIDENTIALITY_MAX] = "confidentiality", }; /* * These are descriptions of the reasons that can be passed to the * security_locked_down() LSM hook. Placing this array here allows * all security modules to use the same descriptions for auditing * purposes. */ const char *const lockdown_reasons[LOCKDOWN_CONFIDENTIALITY_MAX+1] = { [LOCKDOWN_NONE] = "none", [LOCKDOWN_MODULE_SIGNATURE] = "unsigned module loading", [LOCKDOWN_DEV_MEM] = "/dev/mem,kmem,port", [LOCKDOWN_EFI_TEST] = "/dev/efi_test access", [LOCKDOWN_KEXEC] = "kexec of unsigned images", [LOCKDOWN_HIBERNATION] = "hibernation", [LOCKDOWN_PCI_ACCESS] = "direct PCI access", [LOCKDOWN_IOPORT] = "raw io port access", [LOCKDOWN_MSR] = "raw MSR access", [LOCKDOWN_ACPI_TABLES] = "modifying ACPI tables", [LOCKDOWN_PCMCIA_CIS] = "direct PCMCIA CIS storage", [LOCKDOWN_TIOCSSERIAL] = "reconfiguration of serial port IO", [LOCKDOWN_MODULE_PARAMETERS] = "unsafe module parameters", [LOCKDOWN_MMIOTRACE] = "unsafe mmio", [LOCKDOWN_DEBUGFS] = "debugfs access", [LOCKDOWN_XMON_WR] = "xmon write access", [LOCKDOWN_INTEGRITY_MAX] = "integrity", [LOCKDOWN_KCORE] = "/proc/kcore access", [LOCKDOWN_KPROBES] = "use of kprobes", [LOCKDOWN_BPF_READ] = "use of bpf to read kernel RAM", [LOCKDOWN_PERF] = "unsafe use of perf", [LOCKDOWN_TRACEFS] = "use of tracefs", [LOCKDOWN_XMON_RW] = "xmon read and write access", [LOCKDOWN_CONFIDENTIALITY_MAX] = "confidentiality", }; Stephen, you might delete half of those for linux-next.... -- ~Randy ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: mmotm 2020-01-28-20-05 uploaded (security/security.c) 2020-01-29 4:52 ` mmotm 2020-01-28-20-05 uploaded (security/security.c) Randy Dunlap @ 2020-01-29 13:51 ` Paul Moore 2020-01-29 16:02 ` Randy Dunlap 2020-01-29 22:32 ` Stephen Rothwell 1 sibling, 1 reply; 7+ messages in thread From: Paul Moore @ 2020-01-29 13:51 UTC (permalink / raw) To: Randy Dunlap Cc: akpm, broonie, linux-fsdevel, linux-kernel, linux-mm, linux-next, mhocko, mm-commits, sfr, linux-security-module, James Morris, Serge E. Hallyn On Tue, Jan 28, 2020 at 11:52 PM Randy Dunlap <rdunlap@infradead.org> wrote: > On 1/28/20 8:06 PM, akpm@linux-foundation.org wrote: > > The mm-of-the-moment snapshot 2020-01-28-20-05 has been uploaded to > > > > http://www.ozlabs.org/~akpm/mmotm/ > > > > mmotm-readme.txt says > > > > README for mm-of-the-moment: > > > > http://www.ozlabs.org/~akpm/mmotm/ > > > > This is a snapshot of my -mm patch queue. Uploaded at random hopefully > > more than once a week. > > > > security/security.c contains duplicate lines for <lockdown_reasons> array: Hmmm. Commit 59438b46471a ("security,lockdown,selinux: implement SELinux lockdown"), which was merged into Linus' tree during the current merge window, moved the lockdown_reasons array from security/lockdown/lockdown.c to security/security.c; is there another tree in linux-next which is moving lockdown_reasons into security/security.c? -- paul moore www.paul-moore.com ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: mmotm 2020-01-28-20-05 uploaded (security/security.c) 2020-01-29 13:51 ` Paul Moore @ 2020-01-29 16:02 ` Randy Dunlap 0 siblings, 0 replies; 7+ messages in thread From: Randy Dunlap @ 2020-01-29 16:02 UTC (permalink / raw) To: Paul Moore Cc: akpm, broonie, linux-fsdevel, linux-kernel, linux-mm, linux-next, mhocko, mm-commits, sfr, linux-security-module, James Morris, Serge E. Hallyn On 1/29/20 5:51 AM, Paul Moore wrote: > On Tue, Jan 28, 2020 at 11:52 PM Randy Dunlap <rdunlap@infradead.org> wrote: >> On 1/28/20 8:06 PM, akpm@linux-foundation.org wrote: >>> The mm-of-the-moment snapshot 2020-01-28-20-05 has been uploaded to >>> >>> http://www.ozlabs.org/~akpm/mmotm/ >>> >>> mmotm-readme.txt says >>> >>> README for mm-of-the-moment: >>> >>> http://www.ozlabs.org/~akpm/mmotm/ >>> >>> This is a snapshot of my -mm patch queue. Uploaded at random hopefully >>> more than once a week. >>> >> >> security/security.c contains duplicate lines for <lockdown_reasons> array: > > Hmmm. Commit 59438b46471a ("security,lockdown,selinux: implement > SELinux lockdown"), which was merged into Linus' tree during the > current merge window, moved the lockdown_reasons array from > security/lockdown/lockdown.c to security/security.c; is there another > tree in linux-next which is moving lockdown_reasons into > security/security.c? > Somehow in mmotm those lines of code were merged 2x: once from origin.patch and once from linux-next.patch. Looks more like a mmotm merge issue, not a security/ issue. -- ~Randy ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: mmotm 2020-01-28-20-05 uploaded (security/security.c) 2020-01-29 4:52 ` mmotm 2020-01-28-20-05 uploaded (security/security.c) Randy Dunlap 2020-01-29 13:51 ` Paul Moore @ 2020-01-29 22:32 ` Stephen Rothwell 1 sibling, 0 replies; 7+ messages in thread From: Stephen Rothwell @ 2020-01-29 22:32 UTC (permalink / raw) To: Randy Dunlap Cc: akpm, broonie, linux-fsdevel, linux-kernel, linux-mm, linux-next, mhocko, mm-commits, linux-security-module, James Morris, Serge E. Hallyn [-- Attachment #1: Type: text/plain, Size: 478 bytes --] Hi Randy, On Tue, 28 Jan 2020 20:52:28 -0800 Randy Dunlap <rdunlap@infradead.org> wrote: > > security/security.c contains duplicate lines for <lockdown_reasons> array: > > Stephen, you might delete half of those for linux-next.... I did not get that in my import of mmotm today. But I actually git merge the appropriate part of linux-next rather than applying the linux-next.patch from mmotm - so that may have taken care of it. -- Cheers, Stephen Rothwell [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 488 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <5f2400c0-3d9d-9bfd-315e-a26bedb165a7@infradead.org>]
* Re: mmotm 2020-01-28-20-05 uploaded (objtool warnings) [not found] ` <5f2400c0-3d9d-9bfd-315e-a26bedb165a7@infradead.org> @ 2020-01-29 17:19 ` Josh Poimboeuf 0 siblings, 0 replies; 7+ messages in thread From: Josh Poimboeuf @ 2020-01-29 17:19 UTC (permalink / raw) To: Randy Dunlap Cc: akpm, broonie, linux-fsdevel, linux-kernel, linux-mm, linux-next, mhocko, mm-commits, sfr On Wed, Jan 29, 2020 at 08:43:35AM -0800, Randy Dunlap wrote: > On 1/28/20 8:06 PM, akpm@linux-foundation.org wrote: > > The mm-of-the-moment snapshot 2020-01-28-20-05 has been uploaded to > > > > http://www.ozlabs.org/~akpm/mmotm/ > > > > mmotm-readme.txt says > > > > README for mm-of-the-moment: > > > > http://www.ozlabs.org/~akpm/mmotm/ > > > > This is a snapshot of my -mm patch queue. Uploaded at random hopefully > > more than once a week. > > > > on x86_64: (duh) > > > gcc --version > gcc (SUSE Linux) 7.5.0 > > > fs/namei.o: warning: objtool: do_renameat2()+0x46d: unreachable instruction > kernel/exit.o: warning: objtool: __x64_sys_exit_group()+0x2b: unreachable instruction > drivers/iio/adc/vf610_adc.o: warning: objtool: vf610_set_conversion_mode()+0x4e: unreachable instruction > > > Full randconfig file is attached. > > Do you want the .o files, Josh? I'm able to recreate with your config, so I don't need the .o files. Thanks. -- Josh ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2020-01-29 22:33 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-29 4:06 mmotm 2020-01-28-20-05 uploaded akpm
2020-01-29 4:39 ` mmotm 2020-01-28-20-05 uploaded (net/mptcp/subflow.c) Randy Dunlap
2020-01-29 4:52 ` mmotm 2020-01-28-20-05 uploaded (security/security.c) Randy Dunlap
2020-01-29 13:51 ` Paul Moore
2020-01-29 16:02 ` Randy Dunlap
2020-01-29 22:32 ` Stephen Rothwell
[not found] ` <5f2400c0-3d9d-9bfd-315e-a26bedb165a7@infradead.org>
2020-01-29 17:19 ` mmotm 2020-01-28-20-05 uploaded (objtool warnings) Josh Poimboeuf
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).