* mmotm 2013-06-27-16-36 uploaded @ 2013-06-27 23:37 akpm 2013-06-27 23:57 ` Stephen Rothwell 2013-06-28 5:30 ` mmotm 2013-06-27-16-36 uploaded (wait event common) Randy Dunlap 0 siblings, 2 replies; 12+ messages in thread From: akpm @ 2013-06-27 23:37 UTC (permalink / raw) To: mm-commits, linux-kernel, linux-mm, linux-fsdevel, linux-next The mm-of-the-moment snapshot 2013-06-27-16-36 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 (3.x or 3.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/?p=linux-mmotm.git;a=summary 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/?p=linux-mmots.git;a=summary and use of this tree is similar to http://git.cmpxchg.org/?p=linux-mmotm.git, described above. This mmotm tree contains the following patches against 3.10-rc7: (patches marked "*" will be included in linux-next) origin.patch include-linux-smph-on_each_cpu-switch-back-to-a-macro.patch arch-c6x-mm-include-asm-uaccessh-to-pass-compiling.patch drivers-dma-pl330c-fix-locking-in-pl330_free_chan_resources.patch linux-next.patch linux-next-git-rejects.patch arch-alpha-kernel-systblss-remove-debug-check.patch i-need-old-gcc.patch * drivers-platform-x86-intel_ips-convert-to-module_pci_driver.patch * sound-soc-codecs-si476xc-dont-use-0bnnn.patch * x86-make-mem=-option-to-work-for-efi-platform.patch * audit-fix-mq_open-and-mq_unlink-to-add-the-mq-root-as-a-hidden-parent-audit_names-record.patch * kernel-auditfilterc-fixing-build-warning.patch * kernel-auditfilterc-fix-leak-in-audit_add_rule-error-path.patch * audit-fix-decimal-constant-description.patch * drivers-pcmcia-pd6729c-convert-to-module_pci_driver.patch * drivers-pcmcia-yenta_socketc-convert-to-module_pci_driver.patch * drm-fb-helper-dont-sleep-for-screen-unblank-when-an-oopps-is-in-progress.patch * drm-cirrus-correct-register-values-for-16bpp.patch * drm-nouveau-make-vga_switcheroo-code-depend-on-vga_switcheroo.patch * video-smscufx-use-null-instead-of-0.patch * video-udlfb-use-null-instead-of-0.patch * video-udlfb-make-local-symbol-static.patch * video-imxfb-make-local-symbols-static.patch * drivers-video-acornfbc-remove-dead-code.patch * cyber2000fb-avoid-palette-corruption-at-higher-clocks.patch * fanotify-info-leak-in-copy_event_to_user.patch * fanotify-fix-races-when-adding-removing-marks.patch * fanotify-put-duplicate-code-for-adding-vfsmount-inode-marks-into-an-own-function.patch * dnotify-replace-dnotify_mark_mutex-with-mark-mutex-of-dnotify_group.patch * inotify-fix-race-when-adding-a-new-watch.patch * fsnotify-update-comments-concerning-locking-scheme.patch * drivers-iommu-msm_iommu_devc-fix-leak-and-clean-up-error-paths.patch * drivers-iommu-msm_iommu_devc-fix-leak-and-clean-up-error-paths-fix.patch * posix_cpu_timer-consolidate-expiry-time-type.patch * posix_cpu_timers-consolidate-timer-list-cleanups.patch * posix_cpu_timers-consolidate-expired-timers-check.patch * selftests-add-basic-posix-timers-selftests.patch * posix-timers-correctly-get-dying-task-time-sample-in-posix_cpu_timer_schedule.patch * posix_timers-fix-racy-timer-delta-caching-on-task-exit.patch * kernel-timerc-fix-jiffies-wrap-behavior-of-round_jiffies.patch * hrtimer-one-more-expiry-time-overflow-check-in-hrtimer_interrupt.patch * drivers-infiniband-core-cmc-convert-to-using-idr_alloc_cyclic.patch * drivers-ide-delkin_cb-convert-to-module_pci_driver.patch * drivers-mtd-chips-gen_probec-refactor-call-to-request_module.patch * virtio_balloon-leak_balloon-only-tell-host-if-we-got-pages-deflated.patch * configfs-use-capped-length-for-store_attribute.patch * drivers-net-ethernet-ibm-ehea-ehea_mainc-add-alias-entry-for-portn-properties.patch * misdn-add-support-for-group-membership-check.patch * drivers-atm-he-convert-to-module_pci_driver.patch * isdn-clean-up-debug-format-string-usage.patch * fs-ocfs2-dlm-dlmrecoveryc-remove-duplicate-declarations.patch * fs-ocfs2-dlm-dlmrecoveryc-dlm_request_all_locks-ret-should-be-int-instead-of-enum.patch * ocfs2-should-not-use-le32_add_cpu-to-set-ocfs2_dinode-i_flags.patch * ocfs2-add-missing-dlm_put-in-dlm_begin_reco_handler.patch * ocfs2-remove-unecessary-variable-needs_checkpoint.patch * ocfs2-fix-mutex_unlock-and-possible-memory-leak-in-ocfs2_remove_btree_range.patch * fs-ocfs2-journalh-add-bits_wanted-while-calculating-credits-in-ocfs2_calc_extend_credits.patch * fs-ocfs2-cluster-tcpc-free-sc-sc_page-in-sc_kref_release.patch * ocfs2-xattr-remove-useless-free-space-checking.patch * ocfs2-should-call-ocfs2_journal_access_di-before-ocfs2_delete_entry-in-ocfs2_orphan_del.patch * ocfs2-dlmlock_master-should-return-dlm_normal-after-adding-lock-to-blocked-list.patch * ocfs2-need-rollback-when-journal_access-failed-in-ocfs2_orphan_add.patch * ocfs2-rework-transaction-rollback-in-ocfs2_relink_block_group.patch * ocfs2-rework-transaction-rollback-in-ocfs2_relink_block_group-fix.patch * ocfs2-fix-readonly-issue-in-ocfs2_unlink.patch * ocfs2-fix-readonly-issue-in-ocfs2_unlink-fix.patch * ocfs2-llseek-requires-ocfs2-inode-lock-for-the-file-in-seek_end.patch * ocfs2-fix-issue-that-ocfs2_setattr-does-not-deal-with-new_i_size==i_size.patch * softirq-use-_ret_ip_.patch * include-linux-schedh-dont-use-task-pid-tgid-in-same_thread_group-has_group_leader_pid.patch * lockdep-introduce-lock_acquire_exclusive-shared-helper-macros.patch * lglock-update-lockdep-annotations-to-report-recursive-local-locks.patch * drivers-scsi-a100u2w-convert-to-module_pci_driver.patch * drivers-scsi-dc395x-convert-to-module_pci_driver.patch * drivers-scsi-dmx3191d-convert-to-module_pci_driver.patch * drivers-scsi-initio-convert-to-module_pci_driver.patch * drivers-scsi-mvumi-convert-to-module_pci_driver.patch * drivers-net-irda-donauboe-convert-to-module_pci_driver.patch * drivers-cdrom-gdromc-fix-device-number-leak.patch * block-compat_ioctlc-do-not-leak-info-to-user-space.patch * drivers-cdrom-cdromc-use-kzalloc-for-failing-hardware.patch * block-do-not-pass-disk-names-as-format-strings.patch * block-restore-proc-partitions-to-not-display-non-partitionable-removable-devices.patch * fput-task_work_add-can-fail-if-the-caller-has-passed-exit_task_work-fix.patch * fput-turn-list_head-delayed_fput_list-into-llist_head.patch * llist-fix-simplify-llist_add-and-llist_add_batch.patch * llist-llist_add-can-use-llist_add_batch.patch * watchdog-trigger-all-cpu-backtrace-when-locked-up-and-going-to-panic.patch * crypto-sanitize-argument-for-format-string.patch mm.patch * clear_refs-sanitize-accepted-commands-declaration.patch * clear_refs-introduce-private-struct-for-mm_walk.patch * pagemap-introduce-pagemap_entry_t-without-pmshift-bits.patch * pagemap-introduce-pagemap_entry_t-without-pmshift-bits-v4.patch * mm-soft-dirty-bits-for-user-memory-changes-tracking.patch * mm-soft-dirty-bits-for-user-memory-changes-tracking-call-mmu-notifiers-when-write-protecting-ptes.patch * pagemap-prepare-to-reuse-constant-bits-with-page-shift.patch * mm-memcg-dont-take-task_lock-in-task_in_mem_cgroup.patch * mm-remove-free_area_cache.patch * mm-remove-compressed-copy-from-zram-in-memory.patch * mm-remove-compressed-copy-from-zram-in-memory-fix.patch * mm-remove-compressed-copy-from-zram-in-memory-fix-2.patch * mm-remove-compressed-copy-from-zram-in-memory-fix-2-fix.patch * swap-add-a-simple-detector-for-inappropriate-swapin-readahead.patch * swap-add-a-simple-detector-for-inappropriate-swapin-readahead-fix.patch * mm-use-vma_pages-to-replace-vm_end-vm_start-page_shift.patch * ncpfs-use-vma_pages-to-replace-vm_end-vm_start-page_shift.patch * uio-use-vma_pages-to-replace-vm_end-vm_start-page_shift.patch * mm-page_alloc-factor-out-setting-of-pcp-high-and-pcp-batch.patch * mm-page_alloc-prevent-concurrent-updaters-of-pcp-batch-and-high.patch * mm-page_alloc-insert-memory-barriers-to-allow-async-update-of-pcp-batch-and-high.patch * mm-page_alloc-protect-pcp-batch-accesses-with-access_once.patch * mm-page_alloc-convert-zone_pcp_update-to-rely-on-memory-barriers-instead-of-stop_machine.patch * mm-page_alloc-when-handling-percpu_pagelist_fraction-dont-unneedly-recalulate-high.patch * mm-page_alloc-factor-setup_pageset-into-pageset_init-and-pageset_set_batch.patch * mm-page_alloc-relocate-comment-to-be-directly-above-code-it-refers-to.patch * mm-page_alloc-factor-zone_pageset_init-out-of-setup_zone_pageset.patch * mm-page_alloc-in-zone_pcp_update-uze-zone_pageset_init.patch * mm-page_alloc-rename-setup_pagelist_highmark-to-match-naming-of-pageset_set_batch.patch * mm-page_alloc-dont-re-init-pageset-in-zone_pcp_update.patch * mm-vmscan-limit-the-number-of-pages-kswapd-reclaims-at-each-priority.patch * mm-vmscan-obey-proportional-scanning-requirements-for-kswapd.patch * mm-vmscan-flatten-kswapd-priority-loop.patch * mm-vmscan-decide-whether-to-compact-the-pgdat-based-on-reclaim-progress.patch * mm-vmscan-do-not-allow-kswapd-to-scan-at-maximum-priority.patch * mm-vmscan-have-kswapd-writeback-pages-based-on-dirty-pages-encountered-not-priority.patch * mm-vmscan-block-kswapd-if-it-is-encountering-pages-under-writeback.patch * mm-vmscan-block-kswapd-if-it-is-encountering-pages-under-writeback-fix.patch * mm-vmscan-block-kswapd-if-it-is-encountering-pages-under-writeback-fix-2.patch * mm-vmscan-check-if-kswapd-should-writepage-once-per-pgdat-scan.patch * mm-vmscan-move-logic-from-balance_pgdat-to-kswapd_shrink_zone.patch * mm-vmscan-stall-page-reclaim-and-writeback-pages-based-on-dirty-writepage-pages-encountered-v3.patch * mm-vmscan-stall-page-reclaim-after-a-list-of-pages-have-been-processed-v3.patch * mm-vmscan-set-zone-flags-before-blocking.patch * mm-vmscan-move-direct-reclaim-wait_iff_congested-into-shrink_list.patch * mm-vmscan-treat-pages-marked-for-immediate-reclaim-as-zone-congestion.patch * mm-vmscan-take-page-buffers-dirty-and-locked-state-into-account-v3.patch * fs-nfs-inform-the-vm-about-pages-being-committed-or-unstable.patch * mm-fix-comment-referring-to-non-existent-size_seqlock-change-to-span_seqlock.patch * mmzone-note-that-node_size_lock-should-be-manipulated-via-pgdat_resize_lock.patch * memory_hotplug-use-pgdat_resize_lock-in-online_pages.patch * memory_hotplug-use-pgdat_resize_lock-in-__offline_pages.patch * memory_hotplug-use-pgdat_resize_lock-in-__offline_pages-fix.patch * include-linux-mmh-add-page_aligned-helper.patch * vmcore-clean-up-read_vmcore.patch * vmcore-allocate-buffer-for-elf-headers-on-page-size-alignment.patch * vmcore-allocate-buffer-for-elf-headers-on-page-size-alignment-fix.patch * vmcore-treat-memory-chunks-referenced-by-pt_load-program-header-entries-in-page-size-boundary-in-vmcore_list.patch * vmalloc-make-find_vm_area-check-in-range.patch * vmalloc-introduce-remap_vmalloc_range_partial.patch * vmalloc-introduce-remap_vmalloc_range_partial-fix.patch * vmcore-allocate-elf-note-segment-in-the-2nd-kernel-vmalloc-memory.patch * vmcore-allocate-elf-note-segment-in-the-2nd-kernel-vmalloc-memory-fix.patch * vmcore-allow-user-process-to-remap-elf-note-segment-buffer.patch * vmcore-allow-user-process-to-remap-elf-note-segment-buffer-fix.patch * vmcore-calculate-vmcore-file-size-from-buffer-size-and-total-size-of-vmcore-objects.patch * vmcore-support-mmap-on-proc-vmcore.patch * vmcore-support-mmap-on-proc-vmcore-fix.patch * vmcore-support-mmap-on-proc-vmcore-fix-2.patch * memcg-update-todo-list-in-documentation.patch * mm-add-tracepoints-for-lru-activation-and-insertions.patch * mm-pagevec-defer-deciding-what-lru-to-add-a-page-to-until-pagevec-drain-time.patch * mm-activate-pagelru-pages-on-mark_page_accessed-if-page-is-on-local-pagevec.patch * mm-remove-lru-parameter-from-__pagevec_lru_add-and-remove-parts-of-pagevec-api.patch * mm-remove-lru-parameter-from-__lru_cache_add-and-lru_cache_add_lru.patch * mm-remove-lru-parameter-from-__lru_cache_add-and-lru_cache_add_lru-fix.patch * mm-remove-lru-parameter-from-__lru_cache_add-and-lru_cache_add_lru-fix-2.patch * mm-page_allocc-add-additional-checking-and-return-value-for-the-table-data.patch * mm-nommuc-add-additional-check-for-vread-just-like-vwrite-has-done.patch * mm-memory-failurec-fix-memory-leak-in-successful-soft-offlining.patch * mm-change-normal-message-to-use-pr_debug.patch * mm-memory-hotplug-fix-lowmem-count-overflow-when-offline-pages.patch * mm-memory-hotplug-fix-lowmem-count-overflow-when-offline-pages-fix.patch * mm-pageblock-remove-get-set_pageblock_flags.patch * mm-hugetlb-remove-hugetlb_prefault.patch * mm-hugetlb-use-already-exist-interface-huge_page_shift.patch * mm-tune-vm_committed_as-percpu_counter-batching-size.patch * mm-tune-vm_committed_as-percpu_counter-batching-size-fix.patch * swap-discard-while-swapping-only-if-swap_flag_discard_pages.patch * swap-discard-while-swapping-only-if-swap_flag_discard_pages-fix.patch * mm-change-signature-of-free_reserved_area-to-fix-building-warnings.patch * mm-enhance-free_reserved_area-to-support-poisoning-memory-with-zero.patch * mm-arm64-kill-poison_init_mem.patch * mm-x86-use-free_reserved_area-to-simplify-code.patch * mm-tile-use-common-help-functions-to-free-reserved-pages.patch * mm-fix-some-trivial-typos-in-comments.patch * mm-use-managed_pages-to-calculate-default-zonelist-order.patch * mm-accurately-calculate-zone-managed_pages-for-highmem-zones.patch * mm-use-a-dedicated-lock-to-protect-totalram_pages-and-zone-managed_pages.patch * mm-use-a-dedicated-lock-to-protect-totalram_pages-and-zone-managed_pages-fix.patch * mm-make-__free_pages_bootmem-only-available-at-boot-time.patch * mm-correctly-update-zone-managed_pages.patch * mm-correctly-update-zone-managed_pages-fix.patch * mm-correctly-update-zone-managed_pages-fix-fix.patch * mm-correctly-update-zone-managed_pages-fix-fix-fix.patch * mm-concentrate-modification-of-totalram_pages-into-the-mm-core.patch * mm-report-available-pages-as-memtotal-for-each-numa-node.patch * memcg-kconfig-info-update.patch * mm-fix-the-tlb-range-flushed-when-__tlb_remove_page-runs-out-of-slots.patch * vmlinuxlds-add-comments-for-global-variables-and-clean-up-useless-declarations.patch * avr32-normalize-global-variables-exported-by-vmlinuxlds.patch * c6x-normalize-global-variables-exported-by-vmlinuxlds.patch * h8300-normalize-global-variables-exported-by-vmlinuxlds.patch * score-normalize-global-variables-exported-by-vmlinuxlds.patch * tile-normalize-global-variables-exported-by-vmlinuxlds.patch * uml-normalize-global-variables-exported-by-vmlinuxlds.patch * mm-introduce-helper-function-mem_init_print_info-to-simplify-mem_init.patch * mm-use-totalram_pages-instead-of-num_physpages-at-runtime.patch * mm-hotplug-prepare-for-removing-num_physpages.patch * mm-alpha-prepare-for-removing-num_physpages-and-simplify-mem_init.patch * mm-arc-prepare-for-removing-num_physpages-and-simplify-mem_init.patch * mm-arm-prepare-for-removing-num_physpages-and-simplify-mem_init.patch * mm-arm64-prepare-for-removing-num_physpages-and-simplify-mem_init.patch * mm-avr32-prepare-for-removing-num_physpages-and-simplify-mem_init.patch * mm-blackfin-prepare-for-removing-num_physpages-and-simplify-mem_init.patch * mm-c6x-prepare-for-removing-num_physpages-and-simplify-mem_init.patch * mm-cris-prepare-for-removing-num_physpages-and-simplify-mem_init.patch * mm-frv-prepare-for-removing-num_physpages-and-simplify-mem_init.patch * mm-h8300-prepare-for-removing-num_physpages-and-simplify-mem_init.patch * mm-hexagon-prepare-for-removing-num_physpages-and-simplify-mem_init.patch * mm-ia64-prepare-for-removing-num_physpages-and-simplify-mem_init.patch * mm-m32r-prepare-for-removing-num_physpages-and-simplify-mem_init.patch * mm-m68k-prepare-for-removing-num_physpages-and-simplify-mem_init.patch * mm-metag-prepare-for-removing-num_physpages-and-simplify-mem_init.patch * mm-microblaze-prepare-for-removing-num_physpages-and-simplify-mem_init.patch * mm-microblaze-prepare-for-removing-num_physpages-and-simplify-mem_init-fix.patch * mm-mips-prepare-for-removing-num_physpages-and-simplify-mem_init.patch * mm-mn10300-prepare-for-removing-num_physpages-and-simplify-mem_init.patch * mm-openrisc-prepare-for-removing-num_physpages-and-simplify-mem_init.patch * mm-parisc-prepare-for-removing-num_physpages-and-simplify-mem_init.patch * mm-ppc-prepare-for-removing-num_physpages-and-simplify-mem_init.patch * mm-s390-prepare-for-removing-num_physpages-and-simplify-mem_init.patch * mm-score-prepare-for-removing-num_physpages-and-simplify-mem_init.patch * mm-sh-prepare-for-removing-num_physpages-and-simplify-mem_init.patch * mm-sparc-prepare-for-removing-num_physpages-and-simplify-mem_init.patch * mm-tile-prepare-for-removing-num_physpages-and-simplify-mem_init.patch * mm-um-prepare-for-removing-num_physpages-and-simplify-mem_init.patch * mm-unicore32-prepare-for-removing-num_physpages-and-simplify-mem_init.patch * mm-x86-prepare-for-removing-num_physpages-and-simplify-mem_init.patch * mm-xtensa-prepare-for-removing-num_physpages-and-simplify-mem_init.patch * mm-kill-global-variable-num_physpages.patch * mm-introduce-helper-function-set_max_mapnr.patch * mm-avr32-prepare-for-killing-free_all_bootmem_node.patch * mm-ia64-prepare-for-killing-free_all_bootmem_node.patch * mm-m32r-prepare-for-killing-free_all_bootmem_node.patch * mm-m68k-prepare-for-killing-free_all_bootmem_node.patch * mm-metag-prepare-for-killing-free_all_bootmem_node.patch * mm-mips-prepare-for-killing-free_all_bootmem_node.patch * mm-parisc-prepare-for-killing-free_all_bootmem_node.patch * mm-ppc-prepare-for-killing-free_all_bootmem_node.patch * mm-sh-prepare-for-killing-free_all_bootmem_node.patch * mm-kill-free_all_bootmem_node.patch * mm-alpha-unify-mem_init-for-both-uma-and-numa-architectures.patch * mm-m68k-fix-build-warning-of-unused-variable.patch * mm-alpha-clean-up-unused-valid_page.patch * mm-arm-fix-stale-comment-about-valid_page.patch * mm-cris-clean-up-unused-valid_page.patch * mm-microblaze-clean-up-unused-valid_page.patch * mm-unicore32-fix-stale-comment-about-valid_page.patch * sparsemem-add-build_bug_on-when-sizeof-mem_section-is-non-power-of-2.patch * documentation-update-address_space_operations.patch * documentation-document-the-is_dirty_writeback-aops-callback.patch * mm-vmalloc-only-call-setup_vmalloc_vm-only-in-__get_vm_area_node.patch * mm-vmalloc-call-setup_vmalloc_vm-instead-of-insert_vmalloc_vm.patch * mm-vmalloc-remove-insert_vmalloc_vm.patch * mm-vmalloc-use-clamp-to-simplify-code.patch * mm-memcontrol-factor-out-reclaim-iterator-loading-and-updating.patch * fs-bump-inode-and-dentry-counters-to-long.patch * super-fix-calculation-of-shrinkable-objects-for-small-numbers.patch * dcache-convert-dentry_statnr_unused-to-per-cpu-counters.patch * dentry-move-to-per-sb-lru-locks.patch * dcache-remove-dentries-from-lru-before-putting-on-dispose-list.patch * mm-new-shrinker-api.patch * shrinker-convert-superblock-shrinkers-to-new-api.patch * shrinker-convert-superblock-shrinkers-to-new-api-fix.patch * list-add-a-new-lru-list-type.patch * inode-convert-inode-lru-list-to-generic-lru-list-code.patch * inode-convert-inode-lru-list-to-generic-lru-list-code-inode-move-inode-to-a-different-list-inside-lock.patch * dcache-convert-to-use-new-lru-list-infrastructure.patch * list_lru-per-node-list-infrastructure.patch * list_lru-per-node-list-infrastructure-fix.patch * list_lru-per-node-api.patch * list_lru-remove-special-case-function-list_lru_dispose_all.patch * shrinker-add-node-awareness.patch * vmscan-per-node-deferred-work.patch * fs-convert-inode-and-dentry-shrinking-to-be-node-aware.patch * xfs-convert-buftarg-lru-to-generic-code.patch * xfs-convert-buftarg-lru-to-generic-code-fix.patch * xfs-rework-buffer-dispose-list-tracking.patch * xfs-convert-dquot-cache-lru-to-list_lru.patch * xfs-convert-dquot-cache-lru-to-list_lru-fix.patch * fs-convert-fs-shrinkers-to-new-scan-count-api.patch * fs-convert-fs-shrinkers-to-new-scan-count-api-fix.patch * fs-convert-fs-shrinkers-to-new-scan-count-api-fix-fix.patch * drivers-convert-shrinkers-to-new-count-scan-api.patch * drivers-convert-shrinkers-to-new-count-scan-api-fix.patch * drivers-convert-shrinkers-to-new-count-scan-api-fix-2.patch * i915-bail-out-earlier-when-shrinker-cannot-acquire-mutex.patch * shrinker-convert-remaining-shrinkers-to-count-scan-api.patch * shrinker-convert-remaining-shrinkers-to-count-scan-api-fix.patch * hugepage-convert-huge-zero-page-shrinker-to-new-shrinker-api.patch * hugepage-convert-huge-zero-page-shrinker-to-new-shrinker-api-fix.patch * shrinker-kill-old-shrink-api.patch * shrinker-kill-old-shrink-api-fix.patch * list_lru-dynamically-adjust-node-arrays.patch * list_lru-dynamically-adjust-node-arrays-super-fix-for-destroy-lrus.patch * mm-mremap-validate-input-before-taking-lock.patch * memcg-clean-up-memcg-nodeinfo.patch * mm-invoke-oom-killer-from-remaining-unconverted-page-fault-handlers.patch * mm-remove-duplicated-call-of-get_pfn_range_for_nid.patch * mm-remove-duplicated-call-of-get_pfn_range_for_nid-v2.patch * mm-remove-duplicated-call-of-get_pfn_range_for_nid-v2-fix.patch * mm-vmallocc-unbreak-__vunmap.patch * mm-vmallocc-remove-dead-code-in-vb_alloc.patch * mm-vmallocc-remove-unused-purge_fragmented_blocks_thiscpu.patch * mm-vmallocc-remove-alloc_map-from-vmap_block.patch * mm-vmallocc-emit-the-failure-message-before-return.patch * mm-vmallocc-rename-vm_unlist-to-vm_uninitialized.patch * mm-vmallocc-check-vm_uninitialized-flag-in-s_show-instead-of-show_numa_info.patch * memcg-also-test-for-skip-accounting-at-the-page-allocation-level.patch * memcg-do-not-account-memory-used-for-cache-creation.patch * include-linux-gfph-fix-the-comment-for-gfp_zone_table.patch * zbud-add-to-mm.patch * zbud-add-to-mm-init-under_reclaim.patch * zswap-add-to-mm.patch * zswap-add-to-mm-fix-kconfig-to-depend-on-crypto=y.patch * zswap-add-documentation.patch * maintainers-add-zswap-and-zbud-maintainer.patch * mm-remove-zone_type-argument-of-build_zonelists_node.patch * mm-remove-unused-functions-is_normal_idx-normal-dma32-dma.patch * mm-remove-unlikely-from-the-current_order-test.patch * vfree-dont-schedule-free_work-if-llist_add-returns-false.patch * mm-remove-unused-__put_page.patch * mm-sparsec-put-clear_hwpoisoned_pages-within-config_memory_hotremove.patch * fs-fs-writebackc-make-wb_do_writeback-as-static.patch * mm-writeback-remove-wb_reason_name.patch * mm-writeback-dont-check-force_wait-to-handle-bdi-work_list.patch * mm-writeback-commit-reason-of-wb_reason_forker_thread-mismatch-name.patch * mm-page_alloc-fix-doc-for-numa_zonelist_order.patch * mm-thp-fix-doc-for-transparent-huge-zero-page.patch * mm-pgtable-dont-accumulate-addr-during-pgd-prepopulate-pmd.patch * mm-remove-unused-vm_readfoo-macros-and-expand-other-in-place.patch * mm-vmallocc-fix-an-overflow-bug-in-alloc_vmap_area.patch * page-migration-fix-wrong-comment-in-address_space_operationsmigratepage.patch * mm-memblockc-fix-wrong-comment-in-__next_free_mem_range.patch * mm-memory_hotplugc-fix-a-comment-typo-in-register_page_bootmem_info_node.patch * mm-vmscan-avoid-direct-reclaim-scanning-at-maximum-priority.patch * mm-vmscan-do-not-scale-writeback-pages-when-deciding-whether-to-set-zone_writeback.patch * include-linux-mmzoneh-cleanups.patch * mm-memmap_init_zone-performance-improvement.patch * drop_caches-add-some-documentation-and-info-messsge.patch * drivers-usb-gadget-amd5536udcc-avoid-calling-dma_pool_create-with-null-dev.patch * mm-dmapoolc-fix-null-dev-in-dma_pool_create.patch * mm-add-vm-event-counters-for-balloon-pages-compaction.patch * arch-frv-kernel-trapsc-using-vsnprintf-instead-of-vsprintf.patch * arch-frv-kernel-setupc-use-strncmp-instead-of-memcmp.patch * errh-is_err-can-accept-__user-pointers.patch * clean-up-scary-strncpydst-src-strlensrc-uses.patch * clean-up-scary-strncpydst-src-strlensrc-uses-fix.patch * drivers-avoid-format-string-in-dev_set_name.patch * drivers-avoid-format-strings-in-names-passed-to-alloc_workqueue.patch * drivers-avoid-parsing-names-as-kthread_run-format-strings.patch * dump_stack-serialize-the-output-from-dump_stack.patch * dump_stack-serialize-the-output-from-dump_stack-fix.patch * panic-add-cpu-pid-to-warn_slowpath_common-in-warning-printks.patch * panic-add-cpu-pid-to-warn_slowpath_common-in-warning-printks-fix.patch * kernel-sysc-sys_reboot-fix-malformed-panic-message.patch * kernel-sysc-do_sysinfo-use-get_monotonic_boottime.patch * dmi-add-support-for-exact-dmi-matches-in-addition-to-substring-matching.patch * drm-i915-quirk-away-phantom-lvds-on-intels-d510mo-mainboard.patch * drm-i915-quirk-away-phantom-lvds-on-intels-d525mw-mainboard.patch * smp-give-warning-when-calling-smp_call_function_many-single-in-serving-irq.patch * drivers-dma-remove-unused-support-for-memset-operations.patch * drivers-misc-sgi-gru-grufaultc-fix-a-sanity-test-in-gru_set_context_option.patch * maintainers-fix-tape-driver-file-mappings.patch * backlight-atmel-pwm-bl-remove-unnecessary-platform_set_drvdata.patch * backlight-ep93xx-remove-unnecessary-platform_set_drvdata.patch * backlight-lp8788-remove-unnecessary-platform_set_drvdata.patch * backlight-pcf50633-remove-unnecessary-platform_set_drvdata.patch * backlight-add-devm_backlight_device_registerunregister.patch * lcd-add-devm_lcd_device_registerunregister.patch * maintainers-add-backlight-subsystem-co-maintainer.patch * backlight-convert-from-legacy-pm-ops-to-dev_pm_ops.patch * backlight-convert-from-legacy-pm-ops-to-dev_pm_ops-fix.patch * rbtree-remove-unneeded-include.patch * rbtree-remove-unneeded-include-fix.patch * radeon-remove-redundant-__list_for_each-definition-from-mkregtablec.patch * ipw2200-convert-__list_for_each-usage-to-list_for_each.patch * list-remove-__list_for_each.patch * checkpatch-change-camelcase-test-and-make-it-strict.patch * checkpatch-warn-when-using-gccs-binary-constant-extension.patch * checkpatch-add-strict-preference-for-p-=-kmallocsizeofp.patch * checkpatch-remove-quote-from-camelcase-test.patch * checkpatch-improve-network-block-comment-test-and-message.patch * checkpatch-warn-when-networking-block-comment-lines-dont-start-with.patch * checkpatch-warn-on-comparisons-to-jiffies.patch * checkpatch-warn-on-comparisons-to-get_jiffies_64.patch * checkpatch-reduce-false-positive-rate-of-complex-macros.patch * checkpatch-add-a-placeholder-to-check-blank-lines-before-declarations.patch * checkpatch-dont-warn-on-blank-lines-before-after-braces-as-often.patch * checkpatch-add-a-strict-test-for-comparison-to-true-false.patch * checkpatch-improve-no-space-after-cast-test.patch * checkpatch-create-an-experimental-fix-option-to-correct-patches.patch * checkpatch-move-test-for-space-before-semicolon-after-operator-spacing.patch * checkpatch-ignore-si-unit-camelcase-variants-like-_uv.patch * checkpatch-ignore-existing-camelcase-uses-from-include.patch * checkpatch-allow-longer-logging-function-names.patch * binfmt_elfc-use-get_random_int-to-fix-entropy-depleting.patch * init-remove-permanent-string-buffer-from-do_one_initcall.patch * insert-missing-space-in-printk-line-of-root_delay.patch * kprobes-handle-empty-invalid-input-to-debugfs-enabled-file.patch * autofs4-allow-autofs-to-work-outside-the-initial-pid-namespace.patch * autofs4-translate-pids-to-the-right-namespace-for-the-daemon.patch * rtc-rtc-88pm80x-remove-unnecessary-platform_set_drvdata.patch * drivers-rtc-rtc-v3020c-remove-redundant-goto.patch * drivers-rtc-interfacec-fix-checkpatch-errors.patch * drivers-rtc-rtc-at32ap700xc-fix-checkpatch-error.patch * drivers-rtc-rtc-at91rm9200c-include-linux-uaccessh.patch * drivers-rtc-rtc-cmosc-fix-whitespace-related-errors.patch * drivers-rtc-rtc-davincic-fix-whitespace-warning.patch * drivers-rtc-rtc-ds1305c-add-missing-braces-around-sizeof.patch * drivers-rtc-rtc-ds1374c-fix-spacing-related-issues.patch * drivers-rtc-rtc-ds1511c-fix-issues-related-to-spaces-and-braces.patch * drivers-rtc-rtc-ds3234c-fix-whitespace-issue.patch * drivers-rtc-rtc-fm3130c-fix-whitespace-related-issue.patch * drivers-rtc-rtc-m41t80c-fix-spacing-related-issue.patch * drivers-rtc-rtc-max6902c-remove-unwanted-spaces.patch * drivers-rtc-rtc-max77686c-remove-space-before-semicolon.patch * drivers-rtc-rtc-max8997c-remove-space-before-semicolon.patch * drivers-rtc-rtc-mpc5121c-remove-space-before-tab.patch * drivers-rtc-rtc-msm6242c-use-pr_warn.patch * drivers-rtc-rtc-mxcc-fix-checkpatch-error.patch * drivers-rtc-rtc-omapc-include-linux-ioh-instead-of-asm-ioh.patch * drivers-rtc-rtc-pcf2123c-remove-space-before-tabs.patch * drivers-rtc-rtc-pcf8583c-move-assignment-outside-if-condition.patch * drivers-rtc-rtc-rs5c313c-include-linux-ioh-instead-of-asm-ioh.patch * drivers-rtc-rtc-rs5c313c-fix-spacing-related-issues.patch * drivers-rtc-rtc-v3020c-fix-spacing-issues.patch * drivers-rtc-rtc-vr41xxc-fix-spacing-issues.patch * drivers-rtc-rtc-x1205c-fix-checkpatch-issues.patch * rtc-rtc-88pm860x-remove-unnecessary-platform_set_drvdata.patch * rtc-rtc-ab3100-remove-unnecessary-platform_set_drvdata.patch * rtc-rtc-ab8500-remove-unnecessary-platform_set_drvdata.patch * rtc-rtc-at32ap700x-remove-unnecessary-platform_set_drvdata.patch * rtc-rtc-at91rm9200-remove-unnecessary-platform_set_drvdata.patch * rtc-rtc-at91sam9-remove-unnecessary-platform_set_drvdata.patch * rtc-rtc-au1xxx-remove-unnecessary-platform_set_drvdata.patch * rtc-rtc-bfin-remove-unnecessary-platform_set_drvdata.patch * rtc-rtc-bq4802-remove-unnecessary-platform_set_drvdata.patch * rtc-rtc-coh901331-remove-unnecessary-platform_set_drvdata.patch * rtc-rtc-da9052-remove-unnecessary-platform_set_drvdata.patch * rtc-rtc-da9055-remove-unnecessary-platform_set_drvdata.patch * rtc-rtc-davinci-remove-unnecessary-platform_set_drvdata.patch * rtc-rtc-dm355evm-remove-unnecessary-platform_set_drvdata.patch * rtc-rtc-ds1302-remove-unnecessary-platform_set_drvdata.patch * rtc-rtc-ep93xx-remove-unnecessary-platform_set_drvdata.patch * rtc-rtc-jz4740-remove-unnecessary-platform_set_drvdata.patch * rtc-rtc-lp8788-remove-unnecessary-platform_set_drvdata.patch * rtc-rtc-lpc32xx-remove-unnecessary-platform_set_drvdata.patch * rtc-rtc-ls1x-remove-unnecessary-platform_set_drvdata.patch * rtc-rtc-m48t59-remove-unnecessary-platform_set_drvdata.patch * rtc-rtc-max8925-remove-unnecessary-platform_set_drvdata.patch * rtc-rtc-max8998-remove-unnecessary-platform_set_drvdata.patch * rtc-rtc-mc13xxx-remove-unnecessary-platform_set_drvdata.patch * rtc-rtc-msm6242-remove-unnecessary-platform_set_drvdata.patch * rtc-rtc-mxc-remove-unnecessary-platform_set_drvdata.patch * rtc-rtc-nuc900-remove-unnecessary-platform_set_drvdata.patch * rtc-rtc-pcap-remove-unnecessary-platform_set_drvdata.patch * rtc-rtc-pm8xxx-remove-unnecessary-platform_set_drvdata.patch * rtc-rtc-s3c-remove-unnecessary-platform_set_drvdata.patch * rtc-rtc-sa1100-remove-unnecessary-platform_set_drvdata.patch * rtc-rtc-sh-remove-unnecessary-platform_set_drvdata.patch * rtc-rtc-spear-remove-unnecessary-platform_set_drvdata.patch * rtc-rtc-stmp3xxx-remove-unnecessary-platform_set_drvdata.patch * rtc-rtc-twl-remove-unnecessary-platform_set_drvdata.patch * rtc-rtc-vr41xx-remove-unnecessary-platform_set_drvdata.patch * rtc-rtc-vt8500-remove-unnecessary-platform_set_drvdata.patch * rtc-rtc-m48t86-remove-unnecessary-platform_set_drvdata.patch * rtc-rtc-puv3-remove-unnecessary-platform_set_drvdata.patch * rtc-rtc-rp5c01-remove-unnecessary-platform_set_drvdata.patch * rtc-rtc-tile-remove-unnecessary-platform_set_drvdata.patch * drivers-rtc-rtc-rv3029c2c-fix-disabling-aie-irq.patch * drivers-rtc-rtc-m48t86c-remove-empty-function.patch * drivers-rtc-rtc-tilec-remove-empty-function.patch * drivers-rtc-rtc-nuc900c-remove-empty-function.patch * drivers-rtc-rtc-msm6242c-remove-empty-function.patch * drivers-rtc-rtc-max8998c-remove-empty-function.patch * drivers-rtc-rtc-max8925c-remove-empty-function.patch * drivers-rtc-rtc-ls1xc-remove-empty-function.patch * drivers-rtc-rtc-lp8788c-remove-empty-function.patch * drivers-rtc-rtc-ds1302c-remove-empty-function.patch * drivers-rtc-rtc-dm355evmc-remove-empty-function.patch * drivers-rtc-rtc-da9055c-remove-empty-function.patch * drivers-rtc-rtc-da9052c-remove-empty-function.patch * drivers-rtc-rtc-bq4802c-remove-empty-function.patch * drivers-rtc-rtc-au1xxxc-remove-empty-function.patch * drivers-rtc-rtc-ab3100c-remove-empty-function.patch * rtc-rtc-hid-sensor-time-allow-full-years-16bit-in-hid-reports.patch * rtc-rtc-hid-sensor-time-allow-16-and-32-bit-values-for-all-attributes.patch * rtc-add-ability-to-push-out-an-existing-wakealarm-using-sysfs.patch * rtc-rtc-vr41xx-fix-error-return-code-in-rtc_probe.patch * rtc-rtc-ds1307-use-devm_-functions.patch * rtc-rtc-jz4740-use-devm_-functions.patch * rtc-rtc-mpc5121-use-devm_-functions.patch * rtc-rtc-m48t59-use-devm_-functions.patch * rtc-rtc-pm8xxx-use-devm_-functions.patch * rtc-rtc-pxa-use-devm_-functions.patch * rtc-rtc-rx8025-use-devm_-functions.patch * rtc-rtc-sh-use-devm_-functions.patch * rtc-rtc-coh901331-use-platform_getset_drvdata.patch * rtc-rtc-rc5t583-use-platform_getset_drvdata.patch * drivers-rtc-rtc-bq32kc-remove-empty-function.patch * drivers-rtc-rtc-ds1216c-remove-empty-function.patch * drivers-rtc-rtc-ds1286c-remove-empty-function.patch * drivers-rtc-rtc-ds1672c-remove-empty-function.patch * drivers-rtc-rtc-ds3234c-remove-empty-function.patch * drivers-rtc-rtc-ds1390c-remove-empty-function.patch * drivers-rtc-rtc-efic-remove-empty-function.patch * drivers-rtc-rtc-em3027c-remove-empty-function.patch * drivers-rtc-rtc-fm3130c-remove-empty-function.patch * drivers-rtc-rtc-isl12022c-remove-empty-function.patch * drivers-rtc-rtc-m41t93c-remove-empty-function.patch * drivers-rtc-rtc-m48t35c-remove-empty-function.patch * drivers-rtc-rtc-genericc-remove-empty-function.patch * drivers-rtc-rtc-m41t94c-remove-empty-function.patch * drivers-rtc-rtc-max6902c-remove-empty-function.patch * drivers-rtc-rtc-max6900c-remove-empty-function.patch * drivers-rtc-rtc-max8907c-remove-empty-function.patch * drivers-rtc-rtc-max77686c-remove-empty-function.patch * drivers-rtc-rtc-max8997c-remove-empty-function.patch * drivers-rtc-rtc-pcf8523c-remove-empty-function.patch * drivers-rtc-rtc-pcf8563c-remove-empty-function.patch * drivers-rtc-rtc-pcf8583c-remove-empty-function.patch * drivers-rtc-rtc-ps3c-remove-empty-function.patch * drivers-rtc-rtc-rs5c313c-remove-empty-function.patch * drivers-rtc-rtc-rv3029c2c-remove-empty-function.patch * drivers-rtc-rtc-rx4581c-remove-empty-function.patch * drivers-rtc-rtc-rs5c348c-remove-empty-function.patch * drivers-rtc-rtc-rx8581c-remove-empty-function.patch * drivers-rtc-rtc-snvsc-remove-empty-function.patch * drivers-rtc-rtc-starfirec-remove-empty-function.patch * drivers-rtc-rtc-sun4vc-remove-empty-function.patch * drivers-rtc-rtc-tps80031c-remove-empty-function.patch * drivers-rtc-rtc-wm831xc-remove-empty-function.patch * rtc-ab8540-add-second-resolution-to-rtc-driver.patch * drivers-rtc-rtc-ds1302c-handle-write-protection.patch * drivers-rtc-rtc-mpc5121c-use-platform_getset_drvdata.patch * drivers-rtc-rtc-da9052c-use-ptr_ret.patch * drivers-rtc-rtc-isl12022c-use-ptr_ret.patch * drivers-rtc-rtc-m48t35c-use-ptr_ret.patch * drivers-rtc-rtc-pcf8563c-use-ptr_ret.patch * drivers-rtc-rtc-pcf8583c-use-ptr_ret.patch * drivers-rtc-rtc-twlc-ensure-irq-is-wakeup-enabled.patch * drivers-rtc-rtc-cmosc-work-around-bios-clearing-rtc-control.patch * drivers-rtc-rtc-twlc-fix-rtc_reg_map-initialization.patch * drivers-rtc-rtc-twlc-cleanup-with-module_platform_driver-conversion.patch * drivers-rtc-interfacec-return-ebusy-not-eacces-when-device-is-busy.patch * drivers-rtc-rtc-pcf2123c-replace-strict_strtoul-with-kstrtoul.patch * drivers-rtc-class-convert-from-legacy-pm-ops-to-dev_pm_ops.patch * nilfs2-implement-calculation-of-free-inodes-count.patch * nilfs2-use-atomic64_t-type-for-inodes_count-and-blocks_count-fields-in-nilfs_root-struct.patch * fs-fat-use-fat_msg-to-replace-printk-in-__fat_fs_error.patch * fat-additions-to-support-fat_fallocate.patch * fat-additions-to-support-fat_fallocate-fix.patch * documentation-codingstyle-allow-multiple-return-statements-per-function.patch * docbook-add-futexes-to-kernel-locking-docbook.patch * ptrace-x86-revert-hw_breakpoints-fix-racy-access-to-ptrace-breakpoints.patch * ptrace-powerpc-revert-hw_breakpoints-fix-racy-access-to-ptrace-breakpoints.patch * ptrace-arm-revert-hw_breakpoints-fix-racy-access-to-ptrace-breakpoints.patch * ptrace-sh-revert-hw_breakpoints-fix-racy-access-to-ptrace-breakpoints.patch * ptrace-revert-prepare-to-fix-racy-accesses-on-task-breakpoints.patch * ptrace-x86-simplify-the-disable-logic-in-ptrace_write_dr7.patch * ptrace-x86-dont-delay-disable-till-second-pass-in-ptrace_write_dr7.patch * ptrace-x86-introduce-ptrace_register_breakpoint.patch * ptrace-x86-ptrace_write_dr7-should-create-bp-if-disabled.patch * ptrace-x86-cleanup-ptrace_set_debugreg.patch * ptrace-ptrace_detach-should-do-flush_ptrace_hw_breakpointchild.patch * ptrace-x86-flush_ptrace_hw_breakpoint-shoule-clear-the-virtual-debug-registers.patch * x86-kill-tif_debug.patch * ptrace-add-ability-to-get-set-signal-blocked-mask.patch * ptrace-add-ability-to-get-set-signal-blocked-mask-fix.patch * signals-eventpoll-do-not-use-sigprocmask.patch * signals-eventpoll-set-saved_sigmask-at-the-start.patch * usermodehelper-kill-the-sub_info-path-check.patch * coredump-format_corename-can-leak-cn-corename.patch * coredump-introduce-cn_vprintf.patch * coredump-cn_vprintf-has-no-reason-to-call-vsnprintf-twice.patch * coredump-kill-cn_escape-introduce-cn_esc_printf.patch * coredump-kill-call_count-add-core_name_size.patch * coredump-%-at-the-end-shouldnt-bypass-core_uses_pid-logic.patch * coredump-%-at-the-end-shouldnt-bypass-core_uses_pid-logic-fix.patch * fs-execc-de_thread-use-change_pid-rather-than-detach_pid-attach_pid.patch * move-exit_task_namespaces-outside-of-exit_notify-fix.patch * exitc-unexport-__set_special_pids.patch * fs-proc-uptimec-uptime_proc_show-use-get_monotonic_boottime.patch * fs-proc-kcorec-using-strlcpy-instead-of-strncpy.patch * fork-reorder-permissions-when-violating-number-of-processes-limits.patch * kernel-forkc-copy_process-unify-clone_thread-or-thread_group_leader-code.patch * kernel-forkc-copy_process-dont-add-the-uninitialized-child-to-thread-task-pid-lists.patch * kernel-forkc-copy_process-consolidate-the-lockless-clone_thread-checks.patch * fs-execc-do_execve_common-use-current_user.patch * fs-execc-de_thread-mt-exec-should-update-real_start_time.patch * wait-introduce-wait_event_commonwq-condition-state-timeout.patch * wait-introduce-prepare_to_wait_event.patch * dev-oldmem-remove-the-interface.patch * dev-oldmem-remove-the-interface-fix.patch * documentation-kdump-kdumptxt-remove-dev-oldmem-description.patch * mips-remove-savemaxmem-parameter-setup.patch * powerpc-remove-savemaxmem-parameter-setup.patch * ia64-remove-setting-for-saved_max_pfn.patch * s390-remove-setting-for-saved_max_pfn.patch * idr-print-a-stack-dump-after-ida_remove-warning.patch * idr-print-a-stack-dump-after-ida_remove-warning-fix.patch * shm-fix-null-pointer-deref-when-userspace-specifies-invalid-hugepage-size-fix.patch * ipc-move-rcu-lock-out-of-ipc_addid.patch * ipc-move-rcu-lock-out-of-ipc_addid-restore-rcu-locking-in-ipc_addid.patch * ipc-introduce-ipc-object-locking-helpers.patch * ipc-close-open-coded-spin-lock-calls.patch * ipc-move-locking-out-of-ipcctl_pre_down_nolock.patch * ipcmsg-shorten-critical-region-in-msgctl_down.patch * ipcmsg-introduce-msgctl_nolock.patch * ipcmsg-introduce-lockless-functions-to-obtain-the-ipc-object.patch * ipcmsg-make-msgctl_nolock-lockless.patch * ipcmsg-shorten-critical-region-in-msgsnd.patch * ipcmsg-shorten-critical-region-in-msgrcv.patch * ipcmsg-shorten-critical-region-in-msgrcv-fix-race-in-msgrcv2.patch * ipc-remove-unused-functions.patch * ipc-utilc-ipc_rcu_alloc-cacheline-align-allocation.patch * ipc-utilc-ipc_rcu_alloc-cacheline-align-allocation-checkpatch-fixes.patch * ipc-semc-cacheline-align-the-semaphore-structures.patch * ipc-sem-separate-wait-for-zero-and-alter-tasks-into-seperate-queues.patch * ipc-sem-separate-wait-for-zero-and-alter-tasks-into-seperate-queues-fix.patch * ipc-semc-always-use-only-one-queue-for-alter-operations.patch * ipc-semc-replace-shared-sem_otime-with-per-semaphore-value.patch * ipc-semc-rename-try_atomic_semop-to-perform_atomic_semop-docu-update.patch * mwave-fix-info-leak-in-mwave_ioctl.patch * partitions-msdosc-end-of-line-whitespace-and-semicolon-cleanup.patch * partitions-add-aix-lvm-partition-support-files.patch * partitions-add-aix-lvm-partition-support-files-v2.patch * partitions-add-aix-lvm-partition-support-files-checkpatch-fixes.patch * partitions-add-aix-lvm-partition-support-files-compile-aixc-if-configured.patch * partitions-add-aix-lvm-partition-support-files-add-the-aix_partition-entry.patch * partitions-msdos-enumerate-also-aix-lvm-partitions.patch * rapidio-switches-remove-tsi500-driver.patch * drivers-rapidio-rio-scanc-make-functions-static.patch * kernel-pidc-move-statement.patch * nbd-remove-bogus-bug_on-in-nbd_clear_que.patch * nbd-correct-disconnect-behavior.patch * documentation-accounting-getdelaysc-avoid-strncpy-in-accounting-tool.patch * documentation-accounting-getdelaysc-avoid-strncpy-in-accounting-tool-fix.patch * drivers-parport-use-kzalloc.patch * drivers-pps-clients-pps-gpioc-convert-to-devm_-helpers.patch * drivers-pps-clients-pps-gpioc-convert-to-module_platform_driver.patch * pps-gpio-add-device-tree-binding-and-support.patch * drivers-memstick-host-jmb38x_ms-convert-to-module_pci_driver.patch * drivers-memstick-host-r592-convert-to-module_pci_driver.patch * drivers-w1-slaves-w1_ds2408c-add-magic-sequence-to-disable-p0-test-mode.patch * drivers-w1-slaves-w1_ds2408c-add-magic-sequence-to-disable-p0-test-mode-fix.patch * relay-fix-timer-madness.patch * aio-fix-wrong-comment-in-aio_complete.patch * kernel-resourcec-remove-the-unneeded-assignment-in-function-__find_resource.patch * reboot-remove-stable-friendly-pf_thread_bound-define.patch * reboot-move-shutdown-reboot-related-functions-to-kernel-rebootc.patch * reboot-checkpatchpl-the-new-kernel-rebootc-file.patch * reboot-x86-prepare-reboot_mode-for-moving-to-generic-kernel-code.patch * reboot-unicore32-prepare-reboot_mode-for-moving-to-generic-kernel-code.patch * reboot-arm-remove-unused-restart_mode-fields-from-some-arm-subarchs.patch * reboot-arm-prepare-reboot_mode-for-moving-to-generic-kernel-code.patch * reboot-arm-change-reboot_mode-to-use-enum-reboot_mode.patch * reboot-arm-change-reboot_mode-to-use-enum-reboot_mode-fix.patch * reboot-arm-change-reboot_mode-to-use-enum-reboot_mode-fix-fix.patch * reboot-move-arch-x86-reboot=-handling-to-generic-kernel.patch * lib-add-weak-clz-ctz-functions.patch * decompressor-add-lz4-decompressor-module.patch * lib-add-support-for-lz4-compressed-kernel.patch * lib-add-support-for-lz4-compressed-kernel-kbuild-fix-for-updated-lz4-tool-with-the-new-streaming-format.patch * arm-add-support-for-lz4-compressed-kernel.patch * arm-add-support-for-lz4-compressed-kernel-fix.patch * x86-add-support-for-lz4-compressed-kernel.patch * x86-add-support-for-lz4-compressed-kernel-doc-add-lz4-magic-number-for-the-new-compression.patch * lib-add-lz4-compressor-module.patch * lib-add-lz4-compressor-module-fix.patch * crypto-add-lz4-cryptographic-api.patch * crypto-add-lz4-cryptographic-api-fix.patch * lib-scatterlist-factor-out-sg_miter_get_next_page-from-sg_miter_next.patch * lib-scatterlist-introduce-sg_pcopy_from_buffer-and-sg_pcopy_to_buffer.patch * crypto-talitos-use-sg_pcopy_to_buffer.patch * scsi_debug-fix-do_device_access-with-wrap-around-range.patch * lib-scatterlist-error-handling-in-__sg_alloc_table.patch * scripts-sortextablec-fix-building-on-non-linux-systems.patch * staging-lustre-ldlm-convert-to-shrinkers-to-count-scan-api.patch * staging-lustre-obdclass-convert-lu_object-shrinker-to-count-scan-api.patch * staging-lustre-ptlrpc-convert-to-new-shrinker-api.patch * staging-lustre-libcfs-cleanup-linux-memh.patch * staging-lustre-replace-num_physpages-with-totalram_pages.patch debugging-keep-track-of-page-owners.patch debugging-keep-track-of-page-owners-fix.patch debugging-keep-track-of-page-owners-fix-2.patch debugging-keep-track-of-page-owners-fix-2-fix.patch debugging-keep-track-of-page-owners-fix-2-fix-fix.patch debugging-keep-track-of-page-owners-fix-2-fix-fix-fix.patch debugging-keep-track-of-page-owner-now-depends-on-stacktrace_support.patch make-sure-nobodys-leaking-resources.patch journal_add_journal_head-debug.patch releasing-resources-with-children.patch make-frame_pointer-default=y.patch kernel-forkc-export-kernel_thread-to-modules.patch mutex-subsystem-synchro-test-module.patch slab-leaks3-default-y.patch put_bh-debug.patch add-debugging-aid-for-memory-initialisation-problems.patch workaround-for-a-pci-restoring-bug.patch single_open-seq_release-leak-diagnostics.patch add-a-refcount-check-in-dput.patch -- 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] 12+ messages in thread
* Re: mmotm 2013-06-27-16-36 uploaded 2013-06-27 23:37 mmotm 2013-06-27-16-36 uploaded akpm @ 2013-06-27 23:57 ` Stephen Rothwell 2013-06-28 0:32 ` Andrew Morton 2013-06-28 5:30 ` mmotm 2013-06-27-16-36 uploaded (wait event common) Randy Dunlap 1 sibling, 1 reply; 12+ messages in thread From: Stephen Rothwell @ 2013-06-27 23:57 UTC (permalink / raw) To: akpm; +Cc: mm-commits, linux-kernel, linux-mm, linux-fsdevel, linux-next [-- Attachment #1: Type: text/plain, Size: 539 bytes --] Hi Andrew, On Thu, 27 Jun 2013 16:37:33 -0700 akpm@linux-foundation.org wrote: > > The mm-of-the-moment snapshot 2013-06-27-16-36 has been uploaded to > > http://www.ozlabs.org/~akpm/mmotm/ > > include-linux-smph-on_each_cpu-switch-back-to-a-macro.patch > arch-c6x-mm-include-asm-uaccessh-to-pass-compiling.patch > drivers-dma-pl330c-fix-locking-in-pl330_free_chan_resources.patch Did you mean to drop these three patches from linux-next? -- Cheers, Stephen Rothwell sfr@canb.auug.org.au [-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: mmotm 2013-06-27-16-36 uploaded 2013-06-27 23:57 ` Stephen Rothwell @ 2013-06-28 0:32 ` Andrew Morton 2013-06-28 1:09 ` Stephen Rothwell 0 siblings, 1 reply; 12+ messages in thread From: Andrew Morton @ 2013-06-28 0:32 UTC (permalink / raw) To: Stephen Rothwell Cc: mm-commits, linux-kernel, linux-mm, linux-fsdevel, linux-next On Fri, 28 Jun 2013 09:57:12 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote: > Hi Andrew, > > On Thu, 27 Jun 2013 16:37:33 -0700 akpm@linux-foundation.org wrote: > > > > The mm-of-the-moment snapshot 2013-06-27-16-36 has been uploaded to > > > > http://www.ozlabs.org/~akpm/mmotm/ > > > > include-linux-smph-on_each_cpu-switch-back-to-a-macro.patch > > arch-c6x-mm-include-asm-uaccessh-to-pass-compiling.patch > > drivers-dma-pl330c-fix-locking-in-pl330_free_chan_resources.patch > > Did you mean to drop these three patches from linux-next? Nope, they should be inside the NEXT_PATCHES_START/NEXT_PATCHES_END section, thanks. -- 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] 12+ messages in thread
* Re: mmotm 2013-06-27-16-36 uploaded 2013-06-28 0:32 ` Andrew Morton @ 2013-06-28 1:09 ` Stephen Rothwell 0 siblings, 0 replies; 12+ messages in thread From: Stephen Rothwell @ 2013-06-28 1:09 UTC (permalink / raw) To: Andrew Morton Cc: mm-commits, linux-kernel, linux-mm, linux-fsdevel, linux-next [-- Attachment #1: Type: text/plain, Size: 1129 bytes --] Hi Andrew, On Thu, 27 Jun 2013 17:32:25 -0700 Andrew Morton <akpm@linux-foundation.org> wrote: > > On Fri, 28 Jun 2013 09:57:12 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote: > > > On Thu, 27 Jun 2013 16:37:33 -0700 akpm@linux-foundation.org wrote: > > > > > > include-linux-smph-on_each_cpu-switch-back-to-a-macro.patch > > > arch-c6x-mm-include-asm-uaccessh-to-pass-compiling.patch > > > drivers-dma-pl330c-fix-locking-in-pl330_free_chan_resources.patch > > > > Did you mean to drop these three patches from linux-next? > > Nope, they should be inside the NEXT_PATCHES_START/NEXT_PATCHES_END > section, thanks. OK, I shoved them back in (in akpm-current). One note: $ git am ../../mmotm/text/broken-out/arch-c6x-mm-include-asm-uaccessh-to-pass-compiling.patch Applying: arch: c6x: mm: include "asm/uaccess.h" to pass compiling Warning: commit message did not conform to UTF-8. You may want to amend it after fixing the message, or set the config variable i18n.commitencoding to the encoding your project uses. -- Cheers, Stephen Rothwell sfr@canb.auug.org.au [-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: mmotm 2013-06-27-16-36 uploaded (wait event common) 2013-06-27 23:37 mmotm 2013-06-27-16-36 uploaded akpm 2013-06-27 23:57 ` Stephen Rothwell @ 2013-06-28 5:30 ` Randy Dunlap 2013-06-28 5:51 ` Andrew Morton 2013-06-29 14:00 ` Valdis.Kletnieks 1 sibling, 2 replies; 12+ messages in thread From: Randy Dunlap @ 2013-06-28 5:30 UTC (permalink / raw) To: akpm Cc: mm-commits, linux-kernel, linux-mm, linux-fsdevel, linux-next, Oleg Nesterov On 06/27/13 16:37, akpm@linux-foundation.org wrote: > The mm-of-the-moment snapshot 2013-06-27-16-36 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/ > My builds are littered with hundreds of warnings like this one: drivers/tty/tty_ioctl.c:220:6: warning: the omitted middle operand in ?: will always be 'true', suggest explicit middle operand [-Wparentheses] I guess due to this line from wait_event_common(): + __ret = __wait_no_timeout(tout) ?: (tout) ?: 1; -- ~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] 12+ messages in thread
* Re: mmotm 2013-06-27-16-36 uploaded (wait event common) 2013-06-28 5:30 ` mmotm 2013-06-27-16-36 uploaded (wait event common) Randy Dunlap @ 2013-06-28 5:51 ` Andrew Morton 2013-06-28 6:06 ` Randy Dunlap 2013-06-29 14:00 ` Valdis.Kletnieks 1 sibling, 1 reply; 12+ messages in thread From: Andrew Morton @ 2013-06-28 5:51 UTC (permalink / raw) To: Randy Dunlap Cc: mm-commits, linux-kernel, linux-mm, linux-fsdevel, linux-next, Oleg Nesterov On Thu, 27 Jun 2013 22:30:41 -0700 Randy Dunlap <rdunlap@infradead.org> wrote: > On 06/27/13 16:37, akpm@linux-foundation.org wrote: > > The mm-of-the-moment snapshot 2013-06-27-16-36 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/ > > > > My builds are littered with hundreds of warnings like this one: > > drivers/tty/tty_ioctl.c:220:6: warning: the omitted middle operand in ?: will always be 'true', suggest explicit middle operand [-Wparentheses] > > I guess due to this line from wait_event_common(): > > + __ret = __wait_no_timeout(tout) ?: (tout) ?: 1; > Ah, sorry, I missed that. Had I noticed it, I would have spat it back on taste grounds alone, it being unfit for human consumption. Something like this? --- a/include/linux/wait.h~wait-introduce-wait_event_commonwq-condition-state-timeout-fix +++ a/include/linux/wait.h @@ -196,7 +196,11 @@ wait_queue_head_t *bit_waitqueue(void *, for (;;) { \ prepare_to_wait(&wq, &__wait, state); \ if (condition) { \ - __ret = __wait_no_timeout(tout) ?: __tout ?: 1; \ + __ret = __wait_no_timeout(tout); \ + if (!__ret) \ + __ret = __tout; \ + if (!__ret) \ + __ret = 1; \ break; \ } \ \ -- 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] 12+ messages in thread
* Re: mmotm 2013-06-27-16-36 uploaded (wait event common) 2013-06-28 5:51 ` Andrew Morton @ 2013-06-28 6:06 ` Randy Dunlap 2013-06-28 6:56 ` Stephen Rothwell 0 siblings, 1 reply; 12+ messages in thread From: Randy Dunlap @ 2013-06-28 6:06 UTC (permalink / raw) To: Andrew Morton Cc: mm-commits, linux-kernel, linux-mm, linux-fsdevel, linux-next, Oleg Nesterov On 06/27/13 22:51, Andrew Morton wrote: > On Thu, 27 Jun 2013 22:30:41 -0700 Randy Dunlap <rdunlap@infradead.org> wrote: > >> On 06/27/13 16:37, akpm@linux-foundation.org wrote: >>> The mm-of-the-moment snapshot 2013-06-27-16-36 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/ >>> >> >> My builds are littered with hundreds of warnings like this one: >> >> drivers/tty/tty_ioctl.c:220:6: warning: the omitted middle operand in ?: will always be 'true', suggest explicit middle operand [-Wparentheses] >> >> I guess due to this line from wait_event_common(): >> >> + __ret = __wait_no_timeout(tout) ?: (tout) ?: 1; >> > > Ah, sorry, I missed that. Had I noticed it, I would have spat it back > on taste grounds alone, it being unfit for human consumption. > > Something like this? > > --- a/include/linux/wait.h~wait-introduce-wait_event_commonwq-condition-state-timeout-fix > +++ a/include/linux/wait.h > @@ -196,7 +196,11 @@ wait_queue_head_t *bit_waitqueue(void *, > for (;;) { \ > prepare_to_wait(&wq, &__wait, state); \ > if (condition) { \ > - __ret = __wait_no_timeout(tout) ?: __tout ?: 1; \ > + __ret = __wait_no_timeout(tout); \ > + if (!__ret) \ > + __ret = __tout; \ > + if (!__ret) \ > + __ret = 1; \ > break; \ > } \ > \ > > That does reduce the number of warnings, but the wait_event_common() macro needs similar treatment. I.e., I am still getting those warnings, just not quite as many. (down from 2 per source code line to 1 per source code line which contains some kind of wait...) -- ~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] 12+ messages in thread
* Re: mmotm 2013-06-27-16-36 uploaded (wait event common) 2013-06-28 6:06 ` Randy Dunlap @ 2013-06-28 6:56 ` Stephen Rothwell 2013-06-28 15:38 ` Oleg Nesterov 0 siblings, 1 reply; 12+ messages in thread From: Stephen Rothwell @ 2013-06-28 6:56 UTC (permalink / raw) To: Randy Dunlap Cc: Andrew Morton, mm-commits, linux-kernel, linux-mm, linux-fsdevel, linux-next, Oleg Nesterov [-- Attachment #1: Type: text/plain, Size: 3591 bytes --] Hi Guys, On Thu, 27 Jun 2013 23:06:43 -0700 Randy Dunlap <rdunlap@infradead.org> wrote: > > On 06/27/13 22:51, Andrew Morton wrote: > > On Thu, 27 Jun 2013 22:30:41 -0700 Randy Dunlap <rdunlap@infradead.org> wrote: > > > >> On 06/27/13 16:37, akpm@linux-foundation.org wrote: > >>> The mm-of-the-moment snapshot 2013-06-27-16-36 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/ > >>> > >> > >> My builds are littered with hundreds of warnings like this one: > >> > >> drivers/tty/tty_ioctl.c:220:6: warning: the omitted middle operand in ?: will always be 'true', suggest explicit middle operand [-Wparentheses] > >> > >> I guess due to this line from wait_event_common(): > >> > >> + __ret = __wait_no_timeout(tout) ?: (tout) ?: 1; > >> > > > > Ah, sorry, I missed that. Had I noticed it, I would have spat it back > > on taste grounds alone, it being unfit for human consumption. > > > > Something like this? > > > > --- a/include/linux/wait.h~wait-introduce-wait_event_commonwq-condition-state-timeout-fix > > +++ a/include/linux/wait.h > > @@ -196,7 +196,11 @@ wait_queue_head_t *bit_waitqueue(void *, > > for (;;) { \ > > prepare_to_wait(&wq, &__wait, state); \ > > if (condition) { \ > > - __ret = __wait_no_timeout(tout) ?: __tout ?: 1; \ > > + __ret = __wait_no_timeout(tout); \ > > + if (!__ret) \ > > + __ret = __tout; \ > > + if (!__ret) \ > > + __ret = 1; \ > > break; \ > > } \ > > \ > > > > > > That does reduce the number of warnings, but the wait_event_common() macro > needs similar treatment. I.e., I am still getting those warnings, just not > quite as many. (down from 2 per source code line to 1 per source code line > which contains some kind of wait...) I added the following to linux-next today: (sorry Randy, I forgot the Reported-by:, Andrew please add) From: Stephen Rothwell <sfr@canb.auug.org.au> Date: Fri, 28 Jun 2013 16:52:58 +1000 Subject: [PATCH] fix warnings from ?: operator in wait.h Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> --- include/linux/wait.h | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/include/linux/wait.h b/include/linux/wait.h index 1c08a6c..f3b793d 100644 --- a/include/linux/wait.h +++ b/include/linux/wait.h @@ -197,7 +197,12 @@ wait_queue_head_t *bit_waitqueue(void *, int); for (;;) { \ __ret = prepare_to_wait_event(&wq, &__wait, state); \ if (condition) { \ - __ret = __wait_no_timeout(tout) ?: __tout ?: 1; \ + __ret = __wait_no_timeout(tout); \ + if (!__ret) { \ + __ret = __tout; \ + if (!__ret) \ + __ret = 1; \ + } \ break; \ } \ \ @@ -218,9 +223,14 @@ wait_queue_head_t *bit_waitqueue(void *, int); #define wait_event_common(wq, condition, state, tout) \ ({ \ long __ret; \ - if (condition) \ - __ret = __wait_no_timeout(tout) ?: (tout) ?: 1; \ - else \ + if (condition) { \ + __ret = __wait_no_timeout(tout); \ + if (!__ret) { \ + __ret = (tout); \ + if (!__ret) \ + __ret = 1; \ + } \ + } else \ __ret = __wait_event_common(wq, condition, state, tout);\ __ret; \ }) -- 1.8.3.1 -- Cheers, Stephen Rothwell sfr@canb.auug.org.au [-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --] ^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: mmotm 2013-06-27-16-36 uploaded (wait event common) 2013-06-28 6:56 ` Stephen Rothwell @ 2013-06-28 15:38 ` Oleg Nesterov 2013-06-28 17:15 ` Oleg Nesterov 0 siblings, 1 reply; 12+ messages in thread From: Oleg Nesterov @ 2013-06-28 15:38 UTC (permalink / raw) To: Stephen Rothwell Cc: Randy Dunlap, Andrew Morton, mm-commits, linux-kernel, linux-mm, linux-fsdevel, linux-next On 06/28, Stephen Rothwell wrote: > > On Thu, 27 Jun 2013 23:06:43 -0700 Randy Dunlap <rdunlap@infradead.org> wrote: > > > > >> My builds are littered with hundreds of warnings like this one: > > >> > > >> drivers/tty/tty_ioctl.c:220:6: warning: the omitted middle operand in ?: will always be 'true', suggest explicit middle operand [-Wparentheses] > > >> > > >> I guess due to this line from wait_event_common(): > > >> > > >> + __ret = __wait_no_timeout(tout) ?: (tout) ?: 1; > > >> > I added the following to linux-next today: > (sorry Randy, I forgot the Reported-by:, Andrew please add) > > From: Stephen Rothwell <sfr@canb.auug.org.au> > Date: Fri, 28 Jun 2013 16:52:58 +1000 > Subject: [PATCH] fix warnings from ?: operator in wait.h Argh. This patch strikes again. Thanks, and sorry. And please help! I am not sure I understand. Since when gcc dislikes '?:' ? /bin/grep shows a lot of users of 'X ?: Y' shortcut? > Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> > --- > include/linux/wait.h | 18 ++++++++++++++---- > 1 file changed, 14 insertions(+), 4 deletions(-) > > diff --git a/include/linux/wait.h b/include/linux/wait.h > index 1c08a6c..f3b793d 100644 > --- a/include/linux/wait.h > +++ b/include/linux/wait.h > @@ -197,7 +197,12 @@ wait_queue_head_t *bit_waitqueue(void *, int); > for (;;) { \ > __ret = prepare_to_wait_event(&wq, &__wait, state); \ > if (condition) { \ > - __ret = __wait_no_timeout(tout) ?: __tout ?: 1; \ > + __ret = __wait_no_timeout(tout); \ > + if (!__ret) { \ > + __ret = __tout; \ > + if (!__ret) \ > + __ret = 1; \ > + } \ > break; \ > } \ > \ > @@ -218,9 +223,14 @@ wait_queue_head_t *bit_waitqueue(void *, int); > #define wait_event_common(wq, condition, state, tout) \ > ({ \ > long __ret; \ > - if (condition) \ > - __ret = __wait_no_timeout(tout) ?: (tout) ?: 1; \ > - else \ > + if (condition) { \ > + __ret = __wait_no_timeout(tout); \ > + if (!__ret) { \ > + __ret = (tout); \ > + if (!__ret) \ > + __ret = 1; \ > + } \ > + } else \ > __ret = __wait_event_common(wq, condition, state, tout);\ > __ret; \ > }) > -- > 1.8.3.1 > > -- > Cheers, > Stephen Rothwell sfr@canb.auug.org.au -- 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] 12+ messages in thread
* Re: mmotm 2013-06-27-16-36 uploaded (wait event common) 2013-06-28 15:38 ` Oleg Nesterov @ 2013-06-28 17:15 ` Oleg Nesterov 0 siblings, 0 replies; 12+ messages in thread From: Oleg Nesterov @ 2013-06-28 17:15 UTC (permalink / raw) To: Stephen Rothwell Cc: Randy Dunlap, Andrew Morton, mm-commits, linux-kernel, linux-mm, linux-fsdevel, linux-next On 06/28, Oleg Nesterov wrote: > > On 06/28, Stephen Rothwell wrote: > > > > On Thu, 27 Jun 2013 23:06:43 -0700 Randy Dunlap <rdunlap@infradead.org> wrote: > > > > > > >> My builds are littered with hundreds of warnings like this one: > > > >> > > > >> drivers/tty/tty_ioctl.c:220:6: warning: the omitted middle operand in ?: will always be 'true', suggest explicit middle operand [-Wparentheses] > > > >> > > > >> I guess due to this line from wait_event_common(): > > > >> > > > >> + __ret = __wait_no_timeout(tout) ?: (tout) ?: 1; > > > >> > > I added the following to linux-next today: > > (sorry Randy, I forgot the Reported-by:, Andrew please add) > > > > From: Stephen Rothwell <sfr@canb.auug.org.au> > > Date: Fri, 28 Jun 2013 16:52:58 +1000 > > Subject: [PATCH] fix warnings from ?: operator in wait.h > > Argh. This patch strikes again. > > Thanks, and sorry. And please help! > > I am not sure I understand. Since when gcc dislikes '?:' ? > /bin/grep shows a lot of users of 'X ?: Y' shortcut? OK, I have found the machine with the newer gcc. #define test_1(tout) (!tout ?: 1) int func_1(long timeout) { return test_1(timeout); } #define test_2(tout) (tout ?: 1) int func_2(long timeout) { return test_2(timeout); } test_1() triggers the same warning, test_2() doesn't. So it doesn't like "computed-boolean ?: long". > > Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> > > --- > > include/linux/wait.h | 18 ++++++++++++++---- > > 1 file changed, 14 insertions(+), 4 deletions(-) > > > > diff --git a/include/linux/wait.h b/include/linux/wait.h > > index 1c08a6c..f3b793d 100644 > > --- a/include/linux/wait.h > > +++ b/include/linux/wait.h > > @@ -197,7 +197,12 @@ wait_queue_head_t *bit_waitqueue(void *, int); > > for (;;) { \ > > __ret = prepare_to_wait_event(&wq, &__wait, state); \ > > if (condition) { \ > > - __ret = __wait_no_timeout(tout) ?: __tout ?: 1; \ > > + __ret = __wait_no_timeout(tout); \ > > + if (!__ret) { \ > > + __ret = __tout; \ > > + if (!__ret) \ > > + __ret = 1; \ > > + } \ > > break; \ > > } \ > > \ > > @@ -218,9 +223,14 @@ wait_queue_head_t *bit_waitqueue(void *, int); > > #define wait_event_common(wq, condition, state, tout) \ > > ({ \ > > long __ret; \ > > - if (condition) \ > > - __ret = __wait_no_timeout(tout) ?: (tout) ?: 1; \ > > - else \ > > + if (condition) { \ > > + __ret = __wait_no_timeout(tout); \ > > + if (!__ret) { \ > > + __ret = (tout); \ > > + if (!__ret) \ > > + __ret = 1; \ > > + } \ > > + } else \ > > __ret = __wait_event_common(wq, condition, state, tout);\ > > __ret; \ > > }) Thanks. This should fix the isssue. I'll try to send the cleanup patch later, this doesn't look very nice... Oleg. -- 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] 12+ messages in thread
* Re: mmotm 2013-06-27-16-36 uploaded (wait event common) 2013-06-28 5:30 ` mmotm 2013-06-27-16-36 uploaded (wait event common) Randy Dunlap 2013-06-28 5:51 ` Andrew Morton @ 2013-06-29 14:00 ` Valdis.Kletnieks 2013-06-30 18:28 ` Oleg Nesterov 1 sibling, 1 reply; 12+ messages in thread From: Valdis.Kletnieks @ 2013-06-29 14:00 UTC (permalink / raw) To: Randy Dunlap Cc: akpm, mm-commits, linux-kernel, linux-mm, linux-fsdevel, linux-next, Oleg Nesterov [-- Attachment #1: Type: text/plain, Size: 174 bytes --] On Thu, 27 Jun 2013 22:30:41 -0700, Randy Dunlap said: > + __ret = __wait_no_timeout(tout) ?: (tout) ?: 1; Was this trying to do a wait_ho_timeout(!!tout) or something? [-- Attachment #2: Type: application/pgp-signature, Size: 865 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: mmotm 2013-06-27-16-36 uploaded (wait event common) 2013-06-29 14:00 ` Valdis.Kletnieks @ 2013-06-30 18:28 ` Oleg Nesterov 0 siblings, 0 replies; 12+ messages in thread From: Oleg Nesterov @ 2013-06-30 18:28 UTC (permalink / raw) To: Valdis.Kletnieks Cc: Randy Dunlap, akpm, mm-commits, linux-kernel, linux-mm, linux-fsdevel, linux-next On 06/29, Valdis.Kletnieks@vt.edu wrote: > > On Thu, 27 Jun 2013 22:30:41 -0700, Randy Dunlap said: > > > + __ret = __wait_no_timeout(tout) ?: (tout) ?: 1; > > Was this trying to do a wait_ho_timeout(!!tout) or something? No, __wait_no_timeout() means that tout == MAX_SCHEDULE_TIMEOUT. But the logic is wrong, we should return zero in this case. Oleg. -- 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] 12+ messages in thread
end of thread, other threads:[~2013-06-30 18:33 UTC | newest] Thread overview: 12+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2013-06-27 23:37 mmotm 2013-06-27-16-36 uploaded akpm 2013-06-27 23:57 ` Stephen Rothwell 2013-06-28 0:32 ` Andrew Morton 2013-06-28 1:09 ` Stephen Rothwell 2013-06-28 5:30 ` mmotm 2013-06-27-16-36 uploaded (wait event common) Randy Dunlap 2013-06-28 5:51 ` Andrew Morton 2013-06-28 6:06 ` Randy Dunlap 2013-06-28 6:56 ` Stephen Rothwell 2013-06-28 15:38 ` Oleg Nesterov 2013-06-28 17:15 ` Oleg Nesterov 2013-06-29 14:00 ` Valdis.Kletnieks 2013-06-30 18:28 ` Oleg Nesterov
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).