* mmotm 2017-11-10-15-56 uploaded @ 2017-11-10 23:56 akpm 2017-11-11 2:00 ` mmotm 2017-11-10-15-56 uploaded (lib/test_find_bit.c) Randy Dunlap 0 siblings, 1 reply; 4+ messages in thread From: akpm @ 2017-11-10 23:56 UTC (permalink / raw) To: mm-commits, linux-kernel, linux-mm, linux-fsdevel, linux-next, sfr, mhocko, broonie The mm-of-the-moment snapshot 2017-11-10-15-56 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 (4.x or 4.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 git tree which contains the memory management portion of this tree is maintained at git://git.kernel.org/pub/scm/linux/kernel/git/mhocko/mm.git by Michal Hocko. It contains the patches which are between the "#NEXT_PATCHES_START mm" and "#NEXT_PATCHES_END" markers, from the series file, http://www.ozlabs.org/~akpm/mmotm/series. 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. http://git.cmpxchg.org/cgit.cgi/linux-mmotm.git/ To develop on top of mmotm git: $ git remote add mmotm git://git.kernel.org/pub/scm/linux/kernel/git/mhocko/mm.git $ git remote update mmotm $ git checkout -b topic mmotm/master <make changes, commit> $ git send-email mmotm/master.. [...] To rebase a branch with older patches to a new mmotm release: $ git remote update mmotm $ git rebase --onto mmotm/master <topic base> topic 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 available at http://git.cmpxchg.org/cgit.cgi/linux-mmots.git/ and use of this tree is similar to http://git.cmpxchg.org/cgit.cgi/linux-mmotm.git/, described above. This mmotm tree contains the following patches against 4.14-rc8: (patches marked "*" will be included in linux-next) origin.patch i-need-old-gcc.patch * scripts-decodecode-fix-decoding-for-aarch64-arm64-instructions.patch * mm-skip-hwpoisoned-pages-when-onlining-pages.patch * dma-debug-fix-incorrect-pfn-calculation.patch * mm-memory_hotplug-do-not-back-off-draining-pcp-free-pages-from-kworker-context.patch * arm-arch-arm-include-asm-pageh-needs-personalityh.patch * prctl-add-pr_et_pdeathsig_proc.patch * bloat-o-meter-provide-3-different-arguments-for-data-function-and-all.patch * bloat-o-meter-provide-3-different-arguments-for-data-function-and-all-v2.patch * m32r-fix-endianness-constraints.patch * spellingtxt-add-unnecessary-typo-variants.patch * ocfs2-remove-unused-function-ocfs2_publish_get_mount_state.patch * ocfs2-no-need-flush-workqueue-before-destroying-it.patch * ocfs2-cleanup-unused-func-declaration-and-assignment.patch * ocfs2-fix-cluster-hang-after-a-node-dies.patch * ocfs2-clean-up-some-unused-func-declaration.patch * ocfs2-should-wait-dio-before-inode-lock-in-ocfs2_setattr.patch * ocfs2-the-ip_alloc_sem-should-be-taken-in-ocfs2_get_block.patch * ocfs2-the-ip_alloc_sem-should-be-taken-in-ocfs2_get_block-v3.patch * ocfs2-subsystemsu_mutex-is-required-while-accessing-the-item-ci_parent.patch * ocfs2-subsystemsu_mutex-is-required-while-accessing-the-item-ci_parent-v2.patch * ocfs2-get-rid-of-ocfs2_is_o2cb_active-function.patch * ocfs2-old-mle-put-and-release-after-the-function-dlm_add_migration_mle-called.patch * ocfs2-old-mle-put-and-release-after-the-function-dlm_add_migration_mle-called-fix.patch * ocfs2-give-an-obvious-tip-for-dismatch-cluster-names.patch * ocfs2-give-an-obvious-tip-for-dismatch-cluster-names-v2.patch * ocfs2-move-some-definitions-to-header-file.patch * ocfs2-fix-some-small-problems.patch * ocfs2-add-kobject-for-online-file-check.patch * ocfs2-add-duplicative-ino-number-check.patch * ocfs2-fix-qs_holds-may-could-not-be-zero.patch * ocfs2-dlm-wait-for-dlm-recovery-done-when-migrating-all-lockres.patch * block-restore-proc-partitions-to-not-display-non-partitionable-removable-devices.patch * dentry-fix-kmemcheck-splat-at-take_dentry_name_snapshot.patch mm.patch * tools-slabinfo-add-u-option-to-show-unreclaimable-slabs-only.patch * mm-slabinfo-dump-config_slabinfo.patch * mm-slabinfo-dump-config_slabinfo-v11.patch * mm-oom-show-unreclaimable-slab-info-when-unreclaimable-slabs-user-memory.patch * mm-oom-show-unreclaimable-slab-info-when-unreclaimable-slabs-user-memory-v11.patch * mm-slob-remove-an-unnecessary-check-for-__gfp_zero.patch * mm-slab-only-set-__gfp_reclaimable-once.patch * slab-slub-slob-add-slab_flags_t.patch * slab-slub-slob-convert-slab_flags_t-to-32-bit.patch * slab-slub-slob-convert-slab_flags_t-to-32-bit-fix.patch * include-linux-sched-mmh-uninline-mmdrop_async-etc.patch * mm-add-kmalloc_array_node-and-kcalloc_node.patch * block-use-kmalloc_array_node.patch * ib-qib-use-kmalloc_array_node.patch * ib-rdmavt-use-kmalloc_array_node.patch * mm-mempool-use-kmalloc_array_node.patch * rds-ib-use-kmalloc_array_node.patch * mm-update-comments-for-struct-pagemapping.patch * zram-set-bdi_cap_stable_writes-once.patch * bdi-introduce-bdi_cap_synchronous_io.patch * mm-swap-introduce-swp_synchronous_io.patch * mm-swap-skip-swapcache-for-swapin-of-synchronous-device.patch * mm-swap-skip-swapcache-for-swapin-of-synchronous-device-fix.patch * mm-swap-skip-swapcache-only-if-swapped-page-has-no-other-reference.patch * mm-swap-skip-swapcache-only-if-swapped-page-has-no-other-reference-checkpatch-fixes.patch * mm-make-count-list_lru_one-nr_items-lockless.patch * writeback-remove-unused-parameter-from-balance_dirty_pages.patch * mm-drop-migrate-type-checks-from-has_unmovable_pages.patch * mm-drop-migrate-type-checks-from-has_unmovable_pages-fix.patch * mm-distinguish-cma-and-movable-isolation-in-has_unmovable_pages.patch * mm-page_alloc-fail-has_unmovable_pages-when-seeing-reserved-pages.patch * mm-memory_hotplug-do-not-fail-offlining-too-early.patch * mm-memory_hotplug-remove-timeout-from-__offline_memory.patch * mm-memblockc-make-the-index-explicit-argument-of-for_each_memblock_type.patch * mm-print-a-warning-once-the-vm-dirtiness-settings-is-illogical.patch * mm-madvise-enable-soft-offline-of-hugetlb-pages-at-pud-level.patch * zram-add-zstd-to-the-supported-algorithms-list.patch * zram-remove-zlib-from-the-list-of-recommended-algorithms.patch * mm-hugetlbfs-remove-the-redundant-enival-return-from-hugetlbfs_setattr.patch * mm-hmm-constify-hmm_devmem_page_get_drvdata-parameter.patch * zsmalloc-calling-zs_map_object-from-irq-is-a-bug.patch * mm-mmu_notifier-avoid-double-notification-when-it-is-useless.patch * mm-mmu_notifier-avoid-double-notification-when-it-is-useless-v2.patch * mm-mmu_notifier-avoid-call-to-invalidate_range-in-range_end.patch * mm-remove-unused-pgdat-inactive_ratio.patch * mm-swap-fix-race-conditions-in-swap_slots-cache-init.patch * mm-swap-fix-race-conditions-in-swap_slots-cache-init-fix.patch * mm-swap-fix-race-conditions-in-swap_slots-cache-init-fix-fix.patch * mm-arch-remove-empty_bad_page.patch * mm-readahead-increase-maximum-readahead-window.patch * cma-change-pr_info-to-pr_err-for-cma_alloc-fail-log.patch * mm-reducing-page_owner-structure-size.patch * mm-implement-find_get_pages_range_tag.patch * btrfs-use-pagevec_lookup_range_tag.patch * ceph-use-pagevec_lookup_range_tag.patch * ext4-use-pagevec_lookup_range_tag.patch * f2fs-use-pagevec_lookup_range_tag.patch * f2fs-simplify-page-iteration-loops.patch * f2fs-simplify-page-iteration-loops-fix.patch * f2fs-use-find_get_pages_tag-for-looking-up-single-page.patch * gfs2-use-pagevec_lookup_range_tag.patch * nilfs2-use-pagevec_lookup_range_tag.patch * mm-use-pagevec_lookup_range_tag-in-__filemap_fdatawait_range.patch * mm-use-pagevec_lookup_range_tag-in-write_cache_pages.patch * mm-add-variant-of-pagevec_lookup_range_tag-taking-number-of-pages.patch * ceph-use-pagevec_lookup_range_nr_tag.patch * mm-remove-nr_pages-argument-from-pagevec_lookup_range_tag.patch * afs-use-find_get_pages_range_tag.patch * cifs-use-find_get_pages_range_tag.patch * kmemleak-change-sys-kernel-debug-kmemleak-permissions-from-0444-to-0644.patch * proc-do-not-show-vmexe-bigger-than-total-executable-virtual-memory.patch * mm-account-pud-page-tables.patch * mm-account-pud-page-tables-fix.patch * mm-account-pud-page-tables-fix-2.patch * mm-introduce-wrappers-to-access-mm-nr_ptes.patch * mm-consolidate-page-table-accounting.patch * mm-consolidate-page-table-accounting-fix.patch * mm-consolidate-page-table-accounting-fix-fix.patch * fs-mm-account-filp-cache-to-kmemcg.patch * mm-rmap-remove-redundant-variable-cend.patch * kmemcheck-remove-annotations.patch * kmemcheck-remove-annotations-fix.patch * kmemcheck-stop-using-gfp_notrack-and-slab_notrack.patch * kmemcheck-remove-whats-left-of-notrack-flags.patch * kmemcheck-rip-it-out.patch * mm-swap_statec-declare-a-few-variables-as-__read_mostly.patch * mm-deferred_init_memmap-improvements.patch * mm-deferred_init_memmap-improvements-fix-3.patch * x86-mm-setting-fields-in-deferred-pages.patch * sparc64-mm-setting-fields-in-deferred-pages.patch * sparc64-simplify-vmemmap_populate.patch * mm-defining-memblock_virt_alloc_try_nid_raw.patch * mm-zero-reserved-and-unavailable-struct-pages.patch * x86-mm-kasan-dont-use-vmemmap_populate-to-initialize-shadow.patch * arm64-mm-kasan-dont-use-vmemmap_populate-to-initialize-shadow.patch * mm-stop-zeroing-memory-during-allocation-in-vmemmap.patch * mm-stop-zeroing-memory-during-allocation-in-vmemmap-fix.patch * sparc64-optimized-struct-page-zeroing.patch * mm-page_alloc-make-sure-__rmqueue-etc-always-inline.patch * userfaultfd-use-mmgrab-instead-of-open-coded-increment-of-mm_count.patch * mm-soft_offline-improve-hugepage-soft-offlining-error-log.patch * writeback-convert-timers-to-use-timer_setup.patch * zram-make-function-zram_page_end_io-static.patch * mm-speedup-cancel_dirty_page-for-clean-pages.patch * mm-refactor-truncate_complete_page.patch * mm-factor-out-page-cache-page-freeing-into-a-separate-function.patch * mm-move-accounting-updates-before-page_cache_tree_delete.patch * mm-move-clearing-of-page-mapping-to-page_cache_tree_delete.patch * mm-factor-out-checks-and-accounting-from-__delete_from_page_cache.patch * mm-batch-radix-tree-operations-when-truncating-pages.patch * mm-batch-radix-tree-operations-when-truncating-pages-fix.patch * mm-batch-radix-tree-operations-when-truncating-pages-fix-fix.patch * mm-page_alloc-enable-disable-irqs-once-when-freeing-a-list-of-pages.patch * mm-page_alloc-enable-disable-irqs-once-when-freeing-a-list-of-pages-fix.patch * mm-truncate-do-not-check-mapping-for-every-page-being-truncated.patch * mm-truncate-remove-all-exceptional-entries-from-pagevec-under-one-lock.patch * mm-only-drain-per-cpu-pagevecs-once-per-pagevec-usage.patch * mm-pagevec-remove-cold-parameter-for-pagevecs.patch * mm-remove-cold-parameter-for-release_pages.patch * mm-remove-cold-parameter-from-free_hot_cold_page.patch * mm-remove-cold-parameter-from-free_hot_cold_page-fix.patch * mm-remove-__gfp_cold.patch * mm-page_alloc-simplify-list-handling-in-rmqueue_bulk.patch * mm-pagevec-rename-pagevec-drained-field.patch * unify-migrate_pages-and-move_pages-access-checks.patch * shmem-convert-shmem_init_inodecache-to-void.patch * mm-sysctl-make-numa-stats-configurable-v5.patch * mm-sysctl-make-numa-stats-configurable-v5-fix.patch * mm-mlock-remove-lru_add_drain_all.patch * mm-page_alloc-fix-potential-false-positive-in-__zone_watermark_ok.patch * fs-fuse-account-fuse_inode-slab-memory-as-reclaimable.patch * mm-dont-warn-about-allocations-which-stall-for-too-long.patch * mm-broken-deferred-calculation.patch * mm-shmem-mark-expected-switch-fall-through.patch * mm-list_lru-mark-expected-switch-fall-through.patch * mm-hmm-remove-redundant-variable-align_end.patch * mm-sparse-do-not-swamp-log-with-huge-vmemmap-allocation-failures.patch * mm-sparse-do-not-swamp-log-with-huge-vmemmap-allocation-failures-fix.patch * mm-do-not-rely-on-preempt_count-in-print_vma_addr-was-re-mm-use-in_atomic-in-print_vma_addr.patch * writeback-remove-the-unused-function-parameter.patch * mm-oom_reaper-gather-each-vma-to-prevent-leaking-tlb-entry.patch * mm-page_ext-check-if-page_ext-is-not-prepared.patch * mmoom_reaper-remove-pointless-kthread_run-error-check.patch * mm-simplify-nodemask-printing.patch * mm-hugetlb-drop-hugepages_treat_as_movable-sysctl.patch * mm-compaction-kcompactd-should-not-ignore-pageblock-skip.patch * mm-compaction-persistently-skip-hugetlbfs-pageblocks.patch * mm-compaction-persistently-skip-hugetlbfs-pageblocks-fix.patch * mm-compaction-extend-pageblock_skip_persistent-to-all-compound-pages.patch * mm-compaction-split-off-flag-for-not-updating-skip-hints.patch * mm-compaction-remove-unneeded-pageblock_skip_persistent-checks.patch * mm-page_alloc-return-0-in-case-this-node-has-no-page-within-the-zone.patch * mm-vmscan-do-not-pass-reclaimed-slab-to-vmpressure.patch * mm-page_owner-align-with-pageblock_nr-pages.patch * mm-walk-the-zone-in-pageblock_nr_pages-steps.patch * proc-coredump-add-coredumping-flag-to-proc-pid-status.patch * proc-coredump-add-coredumping-flag-to-proc-pid-status-fix.patch * proc-uninline-name_to_int.patch * proc-use-do-while-in-name_to_int.patch * sh-boot-add-static-stack-protector-to-pre-kernel.patch * support-resetting-warn_once.patch * support-resetting-warn_once-checkpatch-fixes.patch * support-resetting-warn_once-for-all-architectures.patch * support-resetting-warn_once-for-all-architectures-v2.patch * support-resetting-warn_once-for-all-architectures-v2-fix.patch * support-resetting-warn_once-for-all-architectures-v2-fix-fix.patch * support-resetting-warn_once-for-all-architectures-v2-fix-fix-fix.patch * parse-maintainers-add-ability-to-specify-filenames.patch * iopoll-avoid-wint-in-bool-context-warning.patch * lkdtm-include-warn-format-string.patch * bug-define-the-cut-here-string-in-a-single-place.patch * bug-fix-cut-here-location-for-__warn_taint-architectures.patch * compiler-clang-handle-randomizable-anonymous-structs.patch * dynamic_debug-fix-optional-omitted-ending-line-number-to-be-large-instead-of-0.patch * dynamic_debug-minor-fixes-to-documentation.patch * scripts-warn-about-invalid-maintainers-patterns.patch * get_maintainer-add-more-self-test-options.patch * bitfieldh-include-linux-build_bugh-instead-of-linux-bugh.patch * radix-tree-remove-unneeded-include-linux-bugh.patch * lib-add-module-support-to-string-tests.patch * lib-test-delete-five-error-messages-for-a-failed-memory-allocation.patch * lib-int_sqrt-optimize-small-argument.patch * lib-int_sqrt-optimize-initial-value-compute.patch * lib-int_sqrt-adjust-comments.patch * genalloc-make-the-avail-variable-an-atomic_long_t.patch * lib_backtrace-fix-kernel-text-address-leak.patch * lib-traceevent-clean-up-clang-build-warning.patch * lib-rbtree-test-lower-default-params.patch * lib-test-module-for-find__bit-functions.patch * checkpatch-support-function-pointers-for-unnamed-function-definition-arguments.patch * scripts-checkpatchpl-avoid-false-warning-missing-break.patch * checkpatch-printks-always-need-a-kern_level.patch * checkpatch-allow-define_per_cpu-definitions-to-exceed-line-length.patch * checkpatch-add-tp_printk-to-list-of-logging-functions.patch * checkpatch-add-strict-test-for-lines-ending-in-or.patch * checkpatch-do-not-check-missing-blank-line-before-builtin__driver.patch * epoll-account-epitem-and-eppoll_entry-to-kmemcg.patch * epoll-avoid-calling-ep_call_nested-from-ep_poll_safewake.patch * epoll-remove-ep_call_nested-from-ep_eventpoll_poll.patch * init-version-include-linux-exporth-instead-of-linux-moduleh.patch * autofs-dont-fail-mount-for-transient-error.patch * pipe-match-pipe_max_size-data-type-with-procfs.patch * pipe-avoid-round_pipe_size-nr_pages-overflow-on-32-bit.patch * pipe-add-proc_dopipe_max_size-to-safely-assign-pipe_max_size.patch * sysctl-check-for-uint_max-before-unsigned-int-min-max.patch * fs-nilfs2-convert-timers-to-use-timer_setup.patch * nilfs2-fix-race-condition-that-causes-file-system-corruption.patch * fs-nilfs-convert-nilfs_rootcount-from-atomic_t-to-refcount_t.patch * nilfs2-align-block-comments-of-nilfs_sufile_truncate_range-at.patch * nilfs2-use-octal-for-unreadable-permission-macro.patch * nilfs2-remove-inode-i_version-initialization.patch * hfs-hfsplus-clean-up-unused-variables-in-bnodec.patch * fat-remove-redundant-assignment-of-0-to-slots.patch * seq_file-delete-small-value-optimization.patch * kdump-vmcoreinfo-report-actual-value-of-phys_base.patch * rapidio-idt_gen2-constify-rio_device_id.patch * rapidio-idt_gen3-constify-rio_device_id.patch * rapidio-idtcps-constify-rio_device_id.patch * rapidio-tsi568-constify-rio_device_id.patch * rapidio-tsi57x-constify-rio_device_id.patch * rapidio-fix-resources-leak-in-error-handling-path-in-rio_dma_transfer.patch * rapidio-fix-an-error-handling-in-rio_dma_transfer.patch * fix-a-typo-in-documentation-sysctl-vmtxt.patch * uapi-fix-linux-sysctlh-userspace-compilation-errors.patch * pid-replace-pid-bitmap-implementation-with-idr-api.patch * pid-replace-pid-bitmap-implementation-with-idr-api-v6.patch * pid-replace-pid-bitmap-implementation-with-idr-api-v6-fix.patch * pid-remove-pidhash.patch * pid-remove-pidhash-v6.patch * kernel-panic-add-taint_aux.patch * kcov-remove-pointless-current-=-null-check.patch * kcov-support-comparison-operands-collection.patch * makefile-support-flag-fsanitizer-coverage=trace-cmp.patch * kcov-update-documentation.patch * kernel-reboot-add-devm_register_reboot_notifier.patch * kernel-reboot-add-devm_register_reboot_notifier-fix.patch * watchdog-core-make-use-of-devm_register_reboot_notifier.patch * watchdog-core-make-use-of-devm_register_reboot_notifier-fix.patch * initramfs-use-time64_t-timestamps.patch * sysvipc-unteach-ids-next_id-for-checkpoint_restore.patch * sysvipc-unteach-ids-next_id-for-checkpoint_restore-checkpatch-fixes.patch * sysvipc-duplicate-lock-comments-wrt-ipc_addid.patch * sysvipc-properly-name-ipc_addid-limit-parameter.patch * sysvipc-make-get_maxid-o1-again.patch * sysvipc-make-get_maxid-o1-again-checkpatch-fixes.patch linux-next.patch linux-next-rejects.patch linux-next-git-rejects.patch * tools-objtool-makefile-dont-assume-sync-checksh-is-executable.patch * net-sched-sch_redc-work-around-gcc-444-anon-union-initializer-issue.patch * mm-add-infrastructure-for-get_user_pages_fast-benchmarking.patch * pcmcia-badge4-avoid-unused-function-warning.patch * ia64-topology-remove-the-unused-parent_node-macro.patch * sh-numa-remove-the-unused-parent_node-macro.patch * sparc64-topology-remove-the-unused-parent_node-macro.patch * tile-topology-remove-the-unused-parent_node-macro.patch * asm-generic-numa-remove-the-unused-parent_node-macro.patch * expert-kconfig-menu-fix-broken-expert-menu.patch * sparc64-ng4-memset-32-bits-overflow.patch * lib-crc-ccitt-add-ccitt-false-crc16-variant.patch mm-add-strictlimit-knob-v2.patch make-sure-nobodys-leaking-resources.patch releasing-resources-with-children.patch kernel-forkc-export-kernel_thread-to-modules.patch mutex-subsystem-synchro-test-module.patch slab-leaks3-default-y.patch workaround-for-a-pci-restoring-bug.patch ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: mmotm 2017-11-10-15-56 uploaded (lib/test_find_bit.c) 2017-11-10 23:56 mmotm 2017-11-10-15-56 uploaded akpm @ 2017-11-11 2:00 ` Randy Dunlap 2017-11-14 0:17 ` Andrew Morton 0 siblings, 1 reply; 4+ messages in thread From: Randy Dunlap @ 2017-11-11 2:00 UTC (permalink / raw) To: akpm, mm-commits, linux-kernel, linux-mm, linux-fsdevel, linux-next, sfr, mhocko, broonie, Yury Norov On 11/10/2017 03:56 PM, akpm@linux-foundation.org wrote: > The mm-of-the-moment snapshot 2017-11-10-15-56 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 i386: ../lib/test_find_bit.c:54:2: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'cycles_t' [-Wformat=] ../lib/test_find_bit.c:68:2: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'cycles_t' [-Wformat=] ../lib/test_find_bit.c:82:2: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'cycles_t' [-Wformat=] ../lib/test_find_bit.c:102:2: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'cycles_t' [-Wformat=] -- ~Randy -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: mmotm 2017-11-10-15-56 uploaded (lib/test_find_bit.c) 2017-11-11 2:00 ` mmotm 2017-11-10-15-56 uploaded (lib/test_find_bit.c) Randy Dunlap @ 2017-11-14 0:17 ` Andrew Morton 2017-11-14 0:26 ` Randy Dunlap 0 siblings, 1 reply; 4+ messages in thread From: Andrew Morton @ 2017-11-14 0:17 UTC (permalink / raw) To: Randy Dunlap Cc: mm-commits, linux-kernel, linux-mm, linux-fsdevel, linux-next, sfr, mhocko, broonie, Yury Norov On Fri, 10 Nov 2017 18:00:57 -0800 Randy Dunlap <rdunlap@infradead.org> wrote: > On 11/10/2017 03:56 PM, akpm@linux-foundation.org wrote: > > The mm-of-the-moment snapshot 2017-11-10-15-56 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 i386: > > ../lib/test_find_bit.c:54:2: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'cycles_t' [-Wformat=] > ../lib/test_find_bit.c:68:2: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'cycles_t' [-Wformat=] > ../lib/test_find_bit.c:82:2: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'cycles_t' [-Wformat=] > ../lib/test_find_bit.c:102:2: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'cycles_t' [-Wformat=] typecasts, I guess? We don't seem to have a %p thingy for cycles_t? --- a/lib/test_find_bit.c~lib-test-module-for-find__bit-functions-fix +++ a/lib/test_find_bit.c @@ -51,7 +51,8 @@ static int __init test_find_first_bit(vo __clear_bit(i, bitmap); } cycles = get_cycles() - cycles; - pr_err("find_first_bit:\t\t%ld cycles,\t%ld iterations\n", cycles, cnt); + pr_err("find_first_bit:\t\t%ld cycles,\t%ld iterations\n", + (long)cycles, cnt); return 0; } @@ -65,7 +66,8 @@ static int __init test_find_next_bit(con for (cnt = i = 0; i < BITMAP_LEN; cnt++) i = find_next_bit(bitmap, BITMAP_LEN, i) + 1; cycles = get_cycles() - cycles; - pr_err("find_next_bit:\t\t%ld cycles,\t%ld iterations\n", cycles, cnt); + pr_err("find_next_bit:\t\t%ld cycles,\t%ld iterations\n", + (long)cycles, cnt); return 0; } @@ -80,7 +82,7 @@ static int __init test_find_next_zero_bi i = find_next_zero_bit(bitmap, len, i) + 1; cycles = get_cycles() - cycles; pr_err("find_next_zero_bit:\t%ld cycles,\t%ld iterations\n", - cycles, cnt); + (long)cycles, cnt); return 0; } @@ -99,7 +101,8 @@ static int __init test_find_last_bit(con len = l; } while (len); cycles = get_cycles() - cycles; - pr_err("find_last_bit:\t\t%ld cycles,\t%ld iterations\n", cycles, cnt); + pr_err("find_last_bit:\t\t%ld cycles,\t%ld iterations\n", + (long)cycles, cnt); return 0; } _ -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: mmotm 2017-11-10-15-56 uploaded (lib/test_find_bit.c) 2017-11-14 0:17 ` Andrew Morton @ 2017-11-14 0:26 ` Randy Dunlap 0 siblings, 0 replies; 4+ messages in thread From: Randy Dunlap @ 2017-11-14 0:26 UTC (permalink / raw) To: Andrew Morton Cc: mm-commits, linux-kernel, linux-mm, linux-fsdevel, linux-next, sfr, mhocko, broonie, Yury Norov On 11/13/2017 04:17 PM, Andrew Morton wrote: > On Fri, 10 Nov 2017 18:00:57 -0800 Randy Dunlap <rdunlap@infradead.org> wrote: > >> On 11/10/2017 03:56 PM, akpm@linux-foundation.org wrote: >>> The mm-of-the-moment snapshot 2017-11-10-15-56 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 i386: >> >> ../lib/test_find_bit.c:54:2: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'cycles_t' [-Wformat=] >> ../lib/test_find_bit.c:68:2: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'cycles_t' [-Wformat=] >> ../lib/test_find_bit.c:82:2: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'cycles_t' [-Wformat=] >> ../lib/test_find_bit.c:102:2: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'cycles_t' [-Wformat=] > > typecasts, I guess? We don't seem to have a %p thingy for cycles_t? Or the patch that Arnd sent to you that uses %ull. -- ~Randy ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-11-14 0:26 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2017-11-10 23:56 mmotm 2017-11-10-15-56 uploaded akpm 2017-11-11 2:00 ` mmotm 2017-11-10-15-56 uploaded (lib/test_find_bit.c) Randy Dunlap 2017-11-14 0:17 ` Andrew Morton 2017-11-14 0:26 ` Randy Dunlap
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).