* mmotm 2011-01-25-15-47 uploaded @ 2011-01-25 23:48 akpm 2011-01-26 8:45 ` CAI Qian 2011-01-26 10:20 ` [patch] epoll-fix-compiler-warning-and-optimize-the-non-blocking-path-fix Johannes Weiner 0 siblings, 2 replies; 7+ messages in thread From: akpm @ 2011-01-25 23:48 UTC (permalink / raw) To: mm-commits, linux-kernel, linux-mm, linux-fsdevel The mm-of-the-moment snapshot 2011-01-25-15-47 has been uploaded to http://userweb.kernel.org/~akpm/mmotm/ and will soon be available at git://zen-kernel.org/kernel/mmotm.git It contains the following patches against 2.6.38-rc2: origin.patch thp-fix-paravirt-x86-32bit-nopae.patch mm-pgtable-genericc-fix-config_swap=n-build.patch leds-leds-pwm-return-proper-error-if-pwm_request-failed.patch langwell_gpio-modify-eoi-handling-following-change-of-kernel-irq-subsystem.patch parport-make-lockdep-happy-with-waitlist_lock.patch pps-ktimer-remove-noisy-message.patch pps-claim-parallel-port-exclusively.patch mm-fix-deferred-congestion-timeout-if-preferred-zone-is-not-allowed.patch mm-clear-pages_scanned-only-if-draining-a-pcp-adds-pages-to-the-buddy-allocator.patch mm-memcontrolc-fix-uninitialized-variable-use-in-mem_cgroup_move_parent.patch mm-compaction-dont-depend-on-hugetlb_page.patch mm-migration-clarify-migrate_pages-comment.patch memcg-fix-account-leak-at-failure-of-memsw-acconting.patch memcg-bugfix-check-mem_cgroup_disabled-at-split-fixup.patch memcg-fix-race-at-move_parent-around-compound_order.patch atmel_tc-tcb_clksrc-fix-init-sequence.patch radix_tree-radix_tree_gang_lookup_tag_slot-may-not-return-forever.patch squashfs-fix-use-of-uninitialised-variable-in-zlib-xz-decompressors.patch change-acquire-release_console_sem-to-console_lock-unlock.patch mm-numa-aware-alloc_task_struct_node.patch mm-numa-aware-alloc_thread_info_node.patch kthread-numa-aware-kthread_create_on_cpu.patch kthread-use-kthread_create_on_cpu.patch linux-next.patch linux-next-git-rejects.patch next-remove-localversion.patch i-need-old-gcc.patch arch-alpha-kernel-systblss-remove-debug-check.patch backlight-new-driver-for-the-adp8870-backlight-devices.patch mm-vmap-area-cache.patch loop-queue_lock-null-pointer-derefence-in-blk_throtl_exit-v3.patch drivers-media-video-tlg2300-pd-videoc-fix-double-mutex_unlock-in-pd_vidioc_s_fmt.patch scsi-include-linux-scatterlisth-to-pick-up-arch_has_sg_chain.patch acerhdf-add-support-for-aspire-1410-bios-v13314.patch x86-numa-add-error-handling-for-bad-cpu-to-node-mappings.patch msm-timer-migrate-to-timer-based-__delay.patch audit-always-follow-va_copy-with-va_end.patch fs-btrfs-inodec-eliminate-memory-leak.patch btrfs-dont-dereference-extent_mapping-if-null.patch cpufreq-fix-ondemand-governor-powersave_bias-execution-time-misuse.patch drivers-dma-ipu-ipu_irqc-irq_data-conversion.patch debugfs-remove-module_exit.patch drivers-gpu-drm-radeon-atomc-fix-warning.patch cyber2000fb-avoid-palette-corruption-at-higher-clocks.patch leds-convert-bd2802-driver-to-dev_pm_ops.patch leds-convert-bd2802-driver-to-dev_pm_ops-fix.patch leds-add-driver-for-lm3530-als.patch leds-add-driver-for-lm3530-als-update.patch leds-route-kbd-leds-through-the-generic-leds-layer.patch mips-enable-arch_dma_addr_t_64bit-with-highmem-64bit_phys_addr-64bit.patch backlight-add-backlight-type.patch backlight-add-backlight-type-fix.patch backlight-add-backlight-type-fix-fix.patch i915-add-native-backlight-control.patch radeon-expose-backlight-class-device-for-legacy-lvds-encoder.patch radeon-expose-backlight-class-device-for-legacy-lvds-encoder-update.patch nouveau-change-the-backlight-parent-device-to-the-connector-not-the-pci-dev.patch acpi-tie-acpi-backlight-devices-to-pci-devices-if-possible.patch mbp_nvidia_bl-remove-dmi-dependency.patch mbp_nvidia_bl-check-that-the-backlight-control-functions.patch mbp_nvidia_bl-rename-to-apple_bl.patch btusb-patch-add_apple_macbookpro62.patch tty-serial-fix-apbuart-build.patch drivers-message-fusion-mptsasc-fix-warning.patch scsi-fix-a-header-to-include-linux-typesh.patch drivers-block-makefile-replace-the-use-of-module-objs-with-module-y.patch drivers-block-aoe-makefile-replace-the-use-of-module-objs-with-module-y.patch cciss-make-cciss_revalidate-not-loop-through-ciss_max_luns-volumes-unnecessarily.patch loop-queue_lock-null-pointer-derefence-in-blk_throtl_exit.patch drbd-fix-warning.patch usb-yurex-recognize-generalkeys-wireless-presenter-as-generic-hid.patch vfs-remove-a-warning-on-open_fmode.patch vfs-add-__fmode_exec.patch fs-make-block-fiemap-mapping-length-at-least-blocksize-long.patch n_hdlc-fix-read-and-write-locking.patch mm.patch oom-suppress-nodes-that-are-not-allowed-from-meminfo-on-oom-kill.patch oom-suppress-show_mem-for-many-nodes-in-irq-context-on-page-alloc-failure.patch oom-suppress-nodes-that-are-not-allowed-from-meminfo-on-page-alloc-failure.patch mm-notifier_from_errno-cleanup.patch mm-add-replace_page_cache_page-function.patch frv-duplicate-output_buffer-of-e03.patch frv-duplicate-output_buffer-of-e03-checkpatch-fixes.patch hpet-factor-timer-allocate-from-open.patch arch-alpha-include-asm-ioh-s-extern-inline-static-inline.patch uml-kernels-on-i386x86_64-produce-bad-coredumps.patch add-the-common-dma_addr_t-typedef-to-include-linux-typesh.patch bh1780gli-convert-to-dev-pm-ops.patch drivers-misc-bmp085c-free-initmem-memory.patch smp-move-smp-setup-functions-to-kernel-smpc.patch llist-add-kconfig-option-arch_have_nmi_safe_cmpxchg.patch llist-lib-add-lock-less-null-terminated-single-list.patch llist-irq_work-use-llist-in-irq_work.patch llist-net-rds-replace-xlist-in-net-rds-xlisth-with-llist.patch net-convert-%p-usage-to-%pk.patch vsprintf-neaten-%pk-kptr_restrict-save-a-bit-of-code-space.patch console-allow-to-retain-boot-console-via-boot-option-keep_bootcon.patch console-prevent-registered-consoles-from-dumping-old-kernel-message-over-again.patch vfs-ignore-error-on-forced-remount.patch vfs-keep-list-of-mounts-for-each-superblock.patch vfs-protect-remounting-superblock-read-only.patch vfs-fs_may_remount_ro-turn-unnecessary-check-into-a-warn_on.patch fs-ioctlc-remove-unnecessary-variable.patch get_maintainerpl-add-support-to-match-arbitrary-text.patch sigma-firmware-loader-for-analog-devices-sigmastudio.patch sigma-firmware-loader-for-analog-devices-sigmastudio-v2.patch drivers-mmc-host-omapc-use-resource_size.patch drivers-mmc-host-omap_hsmmcc-use-resource_size.patch select-remove-unused-max_select_seconds.patch epoll-move-ready-event-check-into-proper-inline.patch epoll-fix-compiler-warning-and-optimize-the-non-blocking-path.patch binfmt_elf-quiet-gcc-46-set-but-not-used-warning-in-load_elf_binary.patch lib-hexdumpc-make-hex2bin-return-the-updated-src-address.patch fs-binfmt_miscc-use-kernels-hex_to_bin-method.patch fs-binfmt_miscc-use-kernels-hex_to_bin-method-fix.patch fs-binfmt_miscc-use-kernels-hex_to_bin-method-fix-fix.patch init-return-proper-error-code-in-do_mounts_rd.patch rtc-add-support-for-the-rtc-in-via-vt8500-and-compatibles.patch rtc-add-real-time-clock-driver-for-nvidia-tegra.patch jbd-remove-dependency-on-__gfp_nofail.patch exec_domain-establish-a-linux32-domain-on-config_compat-systems.patch rapidio-add-new-sysfs-attributes.patch rapidio-add-rapidio-documentation.patch fs-execc-provide-the-correct-process-pid-to-the-pipe-helper.patch kernel-gcov-makefile-use-proper-ccflag-flag-in-makefile.patch remove-dma64_addr_t.patch adfs-fix-e-f-dir-size-2048-crashing-kernel.patch adfs-improve-timestamp-precision.patch adfs-add-hexadecimal-filetype-suffix-option.patch adfs-remove-the-big-kernel-lock.patch scatterlist-new-helper-functions.patch memstick-add-driver-for-ricoh-r5c592-card-reader.patch memstick-add-support-for-legacy-memorysticks.patch memstick-add-support-for-legacy-memorysticks-update.patch memstick-add-alex-dubov-to-maintainers-of-the-memstick-core.patch kvm-stop-including-asm-generic-bitops-leh-directly.patch rds-stop-including-asm-generic-bitops-leh-directly.patch bitops-merge-little-and-big-endian-definisions-in-asm-generic-bitops-leh.patch asm-generic-rename-generic-little-endian-bitops-functions.patch asm-generic-change-little-endian-bitops-to-take-any-pointer-types.patch powerpc-introduce-little-endian-bitops.patch s390-introduce-little-endian-bitops.patch arm-introduce-little-endian-bitops.patch m68k-introduce-little-endian-bitops.patch bitops-introduce-config_generic_find_bit_le.patch m68knommu-introduce-little-endian-bitops.patch bitops-introduce-little-endian-bitops-for-most-architectures.patch asm-generic-use-little-endian-bitops.patch kvm-use-little-endian-bitops.patch rds-use-little-endian-bitops.patch ext3-use-little-endian-bitops.patch ext4-use-little-endian-bitops.patch ocfs2-use-little-endian-bitops.patch nilfs2-use-little-endian-bitops.patch reiserfs-use-little-endian-bitops.patch udf-use-little-endian-bitops.patch ufs-use-little-endian-bitops.patch md-use-little-endian-bitops.patch dm-use-little-endian-bitops.patch bitops-remove-ext2-non-atomic-bitops-from-asm-bitopsh.patch m68k-remove-inline-asm-from-minix_find_first_zero_bit.patch bitops-remove-minix-bitops-from-asm-bitopsh.patch make-sure-nobodys-leaking-resources.patch journal_add_journal_head-debug.patch releasing-resources-with-children.patch make-frame_pointer-default=y.patch mutex-subsystem-synchro-test-module.patch mutex-subsystem-synchro-test-module-add-missing-header-file.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 prio_tree-debugging-patch.patch single_open-seq_release-leak-diagnostics.patch add-a-refcount-check-in-dput.patch memblock-add-input-size-checking-to-memblock_find_region.patch memblock-add-input-size-checking-to-memblock_find_region-fix.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/ . Fight unfair telecom policy in Canada: sign http://dissolvethecrtc.ca/ Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: mmotm 2011-01-25-15-47 uploaded 2011-01-25 23:48 mmotm 2011-01-25-15-47 uploaded akpm @ 2011-01-26 8:45 ` CAI Qian 2011-01-26 13:52 ` Andrea Arcangeli 2011-01-26 10:20 ` [patch] epoll-fix-compiler-warning-and-optimize-the-non-blocking-path-fix Johannes Weiner 1 sibling, 1 reply; 7+ messages in thread From: CAI Qian @ 2011-01-26 8:45 UTC (permalink / raw) To: Andrea Arcangeli; +Cc: linux-mm Andrea, khugepaged hung during swapping there. INFO: task khugepaged:276 blocked for more than 120 seconds. "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. khugepaged D ffff880fa0fd4610 0 276 2 0x00000000 ffff880fa07cfcc0 0000000000000046 ffff88201ffdac00 0000000000000000 0000000000014d40 ffff880fa0fd4080 ffff880fa0fd4610 ffff880fa07cffd8 ffff880fa0fd4618 0000000000014d40 ffff880fa07ce010 0000000000014d40 Call Trace: [<ffffffff814afeb5>] rwsem_down_failed_common+0xb5/0x140 [<ffffffff814aff53>] rwsem_down_write_failed+0x13/0x20 [<ffffffff812301a3>] call_rwsem_down_write_failed+0x13/0x20 [<ffffffff814af4d2>] ? down_write+0x32/0x40 [<ffffffff81146b4d>] khugepaged+0x8ad/0x1300 [<ffffffff8100a6f0>] ? __switch_to+0xd0/0x320 [<ffffffff811462a0>] ? khugepaged+0x0/0x1300 [<ffffffff810830f0>] ? autoremove_wake_function+0x0/0x40 [<ffffffff811462a0>] ? khugepaged+0x0/0x1300 [<ffffffff81082a56>] kthread+0x96/0xa0 [<ffffffff8100cdc4>] kernel_thread_helper+0x4/0x10 [<ffffffff810829c0>] ? kthread+0x0/0xa0 [<ffffffff8100cdc0>] ? kernel_thread_helper+0x0/0x10 INFO: task pgrep:6039 blocked for more than 120 seconds. "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. pgrep D ffff887f606f1ab0 0 6039 6038 0x00000080 ffff8821e39c1ce0 0000000000000082 0000000000000246 0000000000000000 0000000000014d40 ffff887f606f1520 ffff887f606f1ab0 ffff8821e39c1fd8 ffff887f606f1ab8 0000000000014d40 ffff8821e39c0010 0000000000014d40 Call Trace: [<ffffffff814afeb5>] rwsem_down_failed_common+0xb5/0x140 [<ffffffff814aff75>] rwsem_down_read_failed+0x15/0x17 [<ffffffff81230174>] call_rwsem_down_read_failed+0x14/0x30 [<ffffffff814af504>] ? down_read+0x24/0x30 [<ffffffff8111f4dc>] access_process_vm+0x4c/0x200 [<ffffffff8113f3fe>] ? fallback_alloc+0x14e/0x270 [<ffffffff811afa4d>] proc_pid_cmdline+0x6d/0x120 [<ffffffff81137eba>] ? alloc_pages_current+0x9a/0x100 [<ffffffff811b037d>] proc_info_read+0xad/0xf0 [<ffffffff81154315>] vfs_read+0xc5/0x190 [<ffffffff811544e1>] sys_read+0x51/0x90 [<ffffffff8100bf82>] system_call_fastpath+0x16/0x1b ----- Original Message ----- > The mm-of-the-moment snapshot 2011-01-25-15-47 has been uploaded to > > http://userweb.kernel.org/~akpm/mmotm/ > > and will soon be available at > > git://zen-kernel.org/kernel/mmotm.git > > It contains the following patches against 2.6.38-rc2: > > origin.patch > thp-fix-paravirt-x86-32bit-nopae.patch > mm-pgtable-genericc-fix-config_swap=n-build.patch > leds-leds-pwm-return-proper-error-if-pwm_request-failed.patch > langwell_gpio-modify-eoi-handling-following-change-of-kernel-irq-subsystem.patch > parport-make-lockdep-happy-with-waitlist_lock.patch > pps-ktimer-remove-noisy-message.patch > pps-claim-parallel-port-exclusively.patch > mm-fix-deferred-congestion-timeout-if-preferred-zone-is-not-allowed.patch > mm-clear-pages_scanned-only-if-draining-a-pcp-adds-pages-to-the-buddy-allocator.patch > mm-memcontrolc-fix-uninitialized-variable-use-in-mem_cgroup_move_parent.patch > mm-compaction-dont-depend-on-hugetlb_page.patch > mm-migration-clarify-migrate_pages-comment.patch > memcg-fix-account-leak-at-failure-of-memsw-acconting.patch > memcg-bugfix-check-mem_cgroup_disabled-at-split-fixup.patch > memcg-fix-race-at-move_parent-around-compound_order.patch > atmel_tc-tcb_clksrc-fix-init-sequence.patch > radix_tree-radix_tree_gang_lookup_tag_slot-may-not-return-forever.patch > squashfs-fix-use-of-uninitialised-variable-in-zlib-xz-decompressors.patch > change-acquire-release_console_sem-to-console_lock-unlock.patch > mm-numa-aware-alloc_task_struct_node.patch > mm-numa-aware-alloc_thread_info_node.patch > kthread-numa-aware-kthread_create_on_cpu.patch > kthread-use-kthread_create_on_cpu.patch > linux-next.patch > linux-next-git-rejects.patch > next-remove-localversion.patch > i-need-old-gcc.patch > arch-alpha-kernel-systblss-remove-debug-check.patch > backlight-new-driver-for-the-adp8870-backlight-devices.patch > mm-vmap-area-cache.patch > loop-queue_lock-null-pointer-derefence-in-blk_throtl_exit-v3.patch > drivers-media-video-tlg2300-pd-videoc-fix-double-mutex_unlock-in-pd_vidioc_s_fmt.patch > scsi-include-linux-scatterlisth-to-pick-up-arch_has_sg_chain.patch > acerhdf-add-support-for-aspire-1410-bios-v13314.patch > x86-numa-add-error-handling-for-bad-cpu-to-node-mappings.patch > msm-timer-migrate-to-timer-based-__delay.patch > audit-always-follow-va_copy-with-va_end.patch > fs-btrfs-inodec-eliminate-memory-leak.patch > btrfs-dont-dereference-extent_mapping-if-null.patch > cpufreq-fix-ondemand-governor-powersave_bias-execution-time-misuse.patch > drivers-dma-ipu-ipu_irqc-irq_data-conversion.patch > debugfs-remove-module_exit.patch > drivers-gpu-drm-radeon-atomc-fix-warning.patch > cyber2000fb-avoid-palette-corruption-at-higher-clocks.patch > leds-convert-bd2802-driver-to-dev_pm_ops.patch > leds-convert-bd2802-driver-to-dev_pm_ops-fix.patch > leds-add-driver-for-lm3530-als.patch > leds-add-driver-for-lm3530-als-update.patch > leds-route-kbd-leds-through-the-generic-leds-layer.patch > mips-enable-arch_dma_addr_t_64bit-with-highmem-64bit_phys_addr-64bit.patch > backlight-add-backlight-type.patch > backlight-add-backlight-type-fix.patch > backlight-add-backlight-type-fix-fix.patch > i915-add-native-backlight-control.patch > radeon-expose-backlight-class-device-for-legacy-lvds-encoder.patch > radeon-expose-backlight-class-device-for-legacy-lvds-encoder-update.patch > nouveau-change-the-backlight-parent-device-to-the-connector-not-the-pci-dev.patch > acpi-tie-acpi-backlight-devices-to-pci-devices-if-possible.patch > mbp_nvidia_bl-remove-dmi-dependency.patch > mbp_nvidia_bl-check-that-the-backlight-control-functions.patch > mbp_nvidia_bl-rename-to-apple_bl.patch > btusb-patch-add_apple_macbookpro62.patch > tty-serial-fix-apbuart-build.patch > drivers-message-fusion-mptsasc-fix-warning.patch > scsi-fix-a-header-to-include-linux-typesh.patch > drivers-block-makefile-replace-the-use-of-module-objs-with-module-y.patch > drivers-block-aoe-makefile-replace-the-use-of-module-objs-with-module-y.patch > cciss-make-cciss_revalidate-not-loop-through-ciss_max_luns-volumes-unnecessarily.patch > loop-queue_lock-null-pointer-derefence-in-blk_throtl_exit.patch > drbd-fix-warning.patch > usb-yurex-recognize-generalkeys-wireless-presenter-as-generic-hid.patch > vfs-remove-a-warning-on-open_fmode.patch > vfs-add-__fmode_exec.patch > fs-make-block-fiemap-mapping-length-at-least-blocksize-long.patch > n_hdlc-fix-read-and-write-locking.patch > mm.patch > oom-suppress-nodes-that-are-not-allowed-from-meminfo-on-oom-kill.patch > oom-suppress-show_mem-for-many-nodes-in-irq-context-on-page-alloc-failure.patch > oom-suppress-nodes-that-are-not-allowed-from-meminfo-on-page-alloc-failure.patch > mm-notifier_from_errno-cleanup.patch > mm-add-replace_page_cache_page-function.patch > frv-duplicate-output_buffer-of-e03.patch > frv-duplicate-output_buffer-of-e03-checkpatch-fixes.patch > hpet-factor-timer-allocate-from-open.patch > arch-alpha-include-asm-ioh-s-extern-inline-static-inline.patch > uml-kernels-on-i386x86_64-produce-bad-coredumps.patch > add-the-common-dma_addr_t-typedef-to-include-linux-typesh.patch > bh1780gli-convert-to-dev-pm-ops.patch > drivers-misc-bmp085c-free-initmem-memory.patch > smp-move-smp-setup-functions-to-kernel-smpc.patch > llist-add-kconfig-option-arch_have_nmi_safe_cmpxchg.patch > llist-lib-add-lock-less-null-terminated-single-list.patch > llist-irq_work-use-llist-in-irq_work.patch > llist-net-rds-replace-xlist-in-net-rds-xlisth-with-llist.patch > net-convert-%p-usage-to-%pk.patch > vsprintf-neaten-%pk-kptr_restrict-save-a-bit-of-code-space.patch > console-allow-to-retain-boot-console-via-boot-option-keep_bootcon.patch > console-prevent-registered-consoles-from-dumping-old-kernel-message-over-again.patch > vfs-ignore-error-on-forced-remount.patch > vfs-keep-list-of-mounts-for-each-superblock.patch > vfs-protect-remounting-superblock-read-only.patch > vfs-fs_may_remount_ro-turn-unnecessary-check-into-a-warn_on.patch > fs-ioctlc-remove-unnecessary-variable.patch > get_maintainerpl-add-support-to-match-arbitrary-text.patch > sigma-firmware-loader-for-analog-devices-sigmastudio.patch > sigma-firmware-loader-for-analog-devices-sigmastudio-v2.patch > drivers-mmc-host-omapc-use-resource_size.patch > drivers-mmc-host-omap_hsmmcc-use-resource_size.patch > select-remove-unused-max_select_seconds.patch > epoll-move-ready-event-check-into-proper-inline.patch > epoll-fix-compiler-warning-and-optimize-the-non-blocking-path.patch > binfmt_elf-quiet-gcc-46-set-but-not-used-warning-in-load_elf_binary.patch > lib-hexdumpc-make-hex2bin-return-the-updated-src-address.patch > fs-binfmt_miscc-use-kernels-hex_to_bin-method.patch > fs-binfmt_miscc-use-kernels-hex_to_bin-method-fix.patch > fs-binfmt_miscc-use-kernels-hex_to_bin-method-fix-fix.patch > init-return-proper-error-code-in-do_mounts_rd.patch > rtc-add-support-for-the-rtc-in-via-vt8500-and-compatibles.patch > rtc-add-real-time-clock-driver-for-nvidia-tegra.patch > jbd-remove-dependency-on-__gfp_nofail.patch > exec_domain-establish-a-linux32-domain-on-config_compat-systems.patch > rapidio-add-new-sysfs-attributes.patch > rapidio-add-rapidio-documentation.patch > fs-execc-provide-the-correct-process-pid-to-the-pipe-helper.patch > kernel-gcov-makefile-use-proper-ccflag-flag-in-makefile.patch > remove-dma64_addr_t.patch > adfs-fix-e-f-dir-size-2048-crashing-kernel.patch > adfs-improve-timestamp-precision.patch > adfs-add-hexadecimal-filetype-suffix-option.patch > adfs-remove-the-big-kernel-lock.patch > scatterlist-new-helper-functions.patch > memstick-add-driver-for-ricoh-r5c592-card-reader.patch > memstick-add-support-for-legacy-memorysticks.patch > memstick-add-support-for-legacy-memorysticks-update.patch > memstick-add-alex-dubov-to-maintainers-of-the-memstick-core.patch > kvm-stop-including-asm-generic-bitops-leh-directly.patch > rds-stop-including-asm-generic-bitops-leh-directly.patch > bitops-merge-little-and-big-endian-definisions-in-asm-generic-bitops-leh.patch > asm-generic-rename-generic-little-endian-bitops-functions.patch > asm-generic-change-little-endian-bitops-to-take-any-pointer-types.patch > powerpc-introduce-little-endian-bitops.patch > s390-introduce-little-endian-bitops.patch > arm-introduce-little-endian-bitops.patch > m68k-introduce-little-endian-bitops.patch > bitops-introduce-config_generic_find_bit_le.patch > m68knommu-introduce-little-endian-bitops.patch > bitops-introduce-little-endian-bitops-for-most-architectures.patch > asm-generic-use-little-endian-bitops.patch > kvm-use-little-endian-bitops.patch > rds-use-little-endian-bitops.patch > ext3-use-little-endian-bitops.patch > ext4-use-little-endian-bitops.patch > ocfs2-use-little-endian-bitops.patch > nilfs2-use-little-endian-bitops.patch > reiserfs-use-little-endian-bitops.patch > udf-use-little-endian-bitops.patch > ufs-use-little-endian-bitops.patch > md-use-little-endian-bitops.patch > dm-use-little-endian-bitops.patch > bitops-remove-ext2-non-atomic-bitops-from-asm-bitopsh.patch > m68k-remove-inline-asm-from-minix_find_first_zero_bit.patch > bitops-remove-minix-bitops-from-asm-bitopsh.patch > make-sure-nobodys-leaking-resources.patch > journal_add_journal_head-debug.patch > releasing-resources-with-children.patch > make-frame_pointer-default=y.patch > mutex-subsystem-synchro-test-module.patch > mutex-subsystem-synchro-test-module-add-missing-header-file.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 > prio_tree-debugging-patch.patch > single_open-seq_release-leak-diagnostics.patch > add-a-refcount-check-in-dput.patch > memblock-add-input-size-checking-to-memblock_find_region.patch > memblock-add-input-size-checking-to-memblock_find_region-fix.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/ . > Fight unfair telecom policy in Canada: sign http://dissolvethecrtc.ca/ > Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> -- 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/ . Fight unfair telecom policy in Canada: sign http://dissolvethecrtc.ca/ Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: mmotm 2011-01-25-15-47 uploaded 2011-01-26 8:45 ` CAI Qian @ 2011-01-26 13:52 ` Andrea Arcangeli 2011-01-28 6:44 ` CAI Qian 0 siblings, 1 reply; 7+ messages in thread From: Andrea Arcangeli @ 2011-01-26 13:52 UTC (permalink / raw) To: CAI Qian; +Cc: linux-mm Hi Qian, On Wed, Jan 26, 2011 at 03:45:55AM -0500, CAI Qian wrote: > Andrea, > > khugepaged hung during swapping there. > > INFO: task khugepaged:276 blocked for more than 120 seconds. > "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. > khugepaged D ffff880fa0fd4610 0 276 2 0x00000000 > ffff880fa07cfcc0 0000000000000046 ffff88201ffdac00 0000000000000000 > 0000000000014d40 ffff880fa0fd4080 ffff880fa0fd4610 ffff880fa07cffd8 > ffff880fa0fd4618 0000000000014d40 ffff880fa07ce010 0000000000014d40 > Call Trace: > [<ffffffff814afeb5>] rwsem_down_failed_common+0xb5/0x140 > [<ffffffff814aff53>] rwsem_down_write_failed+0x13/0x20 > [<ffffffff812301a3>] call_rwsem_down_write_failed+0x13/0x20 > [<ffffffff814af4d2>] ? down_write+0x32/0x40 > [<ffffffff81146b4d>] khugepaged+0x8ad/0x1300 > [<ffffffff8100a6f0>] ? __switch_to+0xd0/0x320 > [<ffffffff811462a0>] ? khugepaged+0x0/0x1300 > [<ffffffff810830f0>] ? autoremove_wake_function+0x0/0x40 > [<ffffffff811462a0>] ? khugepaged+0x0/0x1300 > [<ffffffff81082a56>] kthread+0x96/0xa0 > [<ffffffff8100cdc4>] kernel_thread_helper+0x4/0x10 > [<ffffffff810829c0>] ? kthread+0x0/0xa0 > [<ffffffff8100cdc0>] ? kernel_thread_helper+0x0/0x10 > INFO: task pgrep:6039 blocked for more than 120 seconds. > "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. > pgrep D ffff887f606f1ab0 0 6039 6038 0x00000080 > ffff8821e39c1ce0 0000000000000082 0000000000000246 0000000000000000 > 0000000000014d40 ffff887f606f1520 ffff887f606f1ab0 ffff8821e39c1fd8 > ffff887f606f1ab8 0000000000014d40 ffff8821e39c0010 0000000000014d40 > Call Trace: > [<ffffffff814afeb5>] rwsem_down_failed_common+0xb5/0x140 > [<ffffffff814aff75>] rwsem_down_read_failed+0x15/0x17 > [<ffffffff81230174>] call_rwsem_down_read_failed+0x14/0x30 > [<ffffffff814af504>] ? down_read+0x24/0x30 > [<ffffffff8111f4dc>] access_process_vm+0x4c/0x200 > [<ffffffff8113f3fe>] ? fallback_alloc+0x14e/0x270 > [<ffffffff811afa4d>] proc_pid_cmdline+0x6d/0x120 > [<ffffffff81137eba>] ? alloc_pages_current+0x9a/0x100 > [<ffffffff811b037d>] proc_info_read+0xad/0xf0 > [<ffffffff81154315>] vfs_read+0xc5/0x190 > [<ffffffff811544e1>] sys_read+0x51/0x90 > [<ffffffff8100bf82>] system_call_fastpath+0x16/0x1b pgrep hung too, it's not just khugepaged hanging and it's not obvious for now that khugepaged was guilty of forgetting an unlock, could be the process deadlocked somewhere with the mmap_sem hold. Can you press SYSRQ+T? Hopefully that will show the holder. Also is CONFIG_NUMA=y/n? Thanks, Andrea -- 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/ . Fight unfair telecom policy in Canada: sign http://dissolvethecrtc.ca/ Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: mmotm 2011-01-25-15-47 uploaded 2011-01-26 13:52 ` Andrea Arcangeli @ 2011-01-28 6:44 ` CAI Qian 2011-01-28 16:50 ` pgd_lock must be taken with irqs enabled Andrea Arcangeli 0 siblings, 1 reply; 7+ messages in thread From: CAI Qian @ 2011-01-28 6:44 UTC (permalink / raw) To: Andrea Arcangeli; +Cc: linux-mm ----- Original Message ----- > Hi Qian, > > On Wed, Jan 26, 2011 at 03:45:55AM -0500, CAI Qian wrote: > > Andrea, > > > > khugepaged hung during swapping there. > > > > INFO: task khugepaged:276 blocked for more than 120 seconds. > > "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this > > message. > > khugepaged D ffff880fa0fd4610 0 276 2 0x00000000 > > ffff880fa07cfcc0 0000000000000046 ffff88201ffdac00 0000000000000000 > > 0000000000014d40 ffff880fa0fd4080 ffff880fa0fd4610 ffff880fa07cffd8 > > ffff880fa0fd4618 0000000000014d40 ffff880fa07ce010 0000000000014d40 > > Call Trace: > > [<ffffffff814afeb5>] rwsem_down_failed_common+0xb5/0x140 > > [<ffffffff814aff53>] rwsem_down_write_failed+0x13/0x20 > > [<ffffffff812301a3>] call_rwsem_down_write_failed+0x13/0x20 > > [<ffffffff814af4d2>] ? down_write+0x32/0x40 > > [<ffffffff81146b4d>] khugepaged+0x8ad/0x1300 > > [<ffffffff8100a6f0>] ? __switch_to+0xd0/0x320 > > [<ffffffff811462a0>] ? khugepaged+0x0/0x1300 > > [<ffffffff810830f0>] ? autoremove_wake_function+0x0/0x40 > > [<ffffffff811462a0>] ? khugepaged+0x0/0x1300 > > [<ffffffff81082a56>] kthread+0x96/0xa0 > > [<ffffffff8100cdc4>] kernel_thread_helper+0x4/0x10 > > [<ffffffff810829c0>] ? kthread+0x0/0xa0 > > [<ffffffff8100cdc0>] ? kernel_thread_helper+0x0/0x10 > > INFO: task pgrep:6039 blocked for more than 120 seconds. > > "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this > > message. > > pgrep D ffff887f606f1ab0 0 6039 6038 0x00000080 > > ffff8821e39c1ce0 0000000000000082 0000000000000246 0000000000000000 > > 0000000000014d40 ffff887f606f1520 ffff887f606f1ab0 ffff8821e39c1fd8 > > ffff887f606f1ab8 0000000000014d40 ffff8821e39c0010 0000000000014d40 > > Call Trace: > > [<ffffffff814afeb5>] rwsem_down_failed_common+0xb5/0x140 > > [<ffffffff814aff75>] rwsem_down_read_failed+0x15/0x17 > > [<ffffffff81230174>] call_rwsem_down_read_failed+0x14/0x30 > > [<ffffffff814af504>] ? down_read+0x24/0x30 > > [<ffffffff8111f4dc>] access_process_vm+0x4c/0x200 > > [<ffffffff8113f3fe>] ? fallback_alloc+0x14e/0x270 > > [<ffffffff811afa4d>] proc_pid_cmdline+0x6d/0x120 > > [<ffffffff81137eba>] ? alloc_pages_current+0x9a/0x100 > > [<ffffffff811b037d>] proc_info_read+0xad/0xf0 > > [<ffffffff81154315>] vfs_read+0xc5/0x190 > > [<ffffffff811544e1>] sys_read+0x51/0x90 > > [<ffffffff8100bf82>] system_call_fastpath+0x16/0x1b > > pgrep hung too, it's not just khugepaged hanging and it's not obvious > for now that khugepaged was guilty of forgetting an unlock, could be > the process deadlocked somewhere with the mmap_sem hold. Can you press > SYSRQ+T? Hopefully that will show the holder. Also is CONFIG_NUMA=y/n? Unfortunately, SYSRQ+T was not working. CONFIG_NUMA=y and this is an NUMA system as well. CAI Qian -- 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/ . Fight unfair telecom policy in Canada: sign http://dissolvethecrtc.ca/ Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> ^ permalink raw reply [flat|nested] 7+ messages in thread
* pgd_lock must be taken with irqs enabled 2011-01-28 6:44 ` CAI Qian @ 2011-01-28 16:50 ` Andrea Arcangeli 0 siblings, 0 replies; 7+ messages in thread From: Andrea Arcangeli @ 2011-01-28 16:50 UTC (permalink / raw) To: CAI Qian; +Cc: linux-mm On Fri, Jan 28, 2011 at 01:44:01AM -0500, CAI Qian wrote: > > > INFO: task pgrep:6039 blocked for more than 120 seconds. > > > "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this > > > message. > > > pgrep D ffff887f606f1ab0 0 6039 6038 0x00000080 > > > ffff8821e39c1ce0 0000000000000082 0000000000000246 0000000000000000 > > > 0000000000014d40 ffff887f606f1520 ffff887f606f1ab0 ffff8821e39c1fd8 > > > ffff887f606f1ab8 0000000000014d40 ffff8821e39c0010 0000000000014d40 > > > Call Trace: > > > [<ffffffff814afeb5>] rwsem_down_failed_common+0xb5/0x140 > > > [<ffffffff814aff75>] rwsem_down_read_failed+0x15/0x17 > > > [<ffffffff81230174>] call_rwsem_down_read_failed+0x14/0x30 > > > [<ffffffff814af504>] ? down_read+0x24/0x30 > > > [<ffffffff8111f4dc>] access_process_vm+0x4c/0x200 > > > [<ffffffff8113f3fe>] ? fallback_alloc+0x14e/0x270 > > > [<ffffffff811afa4d>] proc_pid_cmdline+0x6d/0x120 > > > [<ffffffff81137eba>] ? alloc_pages_current+0x9a/0x100 > > > [<ffffffff811b037d>] proc_info_read+0xad/0xf0 > > > [<ffffffff81154315>] vfs_read+0xc5/0x190 > > > [<ffffffff811544e1>] sys_read+0x51/0x90 > > > [<ffffffff8100bf82>] system_call_fastpath+0x16/0x1b > > > > pgrep hung too, it's not just khugepaged hanging and it's not obvious > > for now that khugepaged was guilty of forgetting an unlock, could be > > the process deadlocked somewhere with the mmap_sem hold. Can you press > > SYSRQ+T? Hopefully that will show the holder. Also is CONFIG_NUMA=y/n? > Unfortunately, SYSRQ+T was not working. CONFIG_NUMA=y and this is an > NUMA system as well. I reviewed it again but it's unlikely the holder of the mmap_sem was khugepaged. Something hung on the mmap_sem and pgrep and khugepaged got blocked on it. I'm however aware of a deadlock in pgd_lock, no idea if it's what you're hitting but it worth fixing that one now! x86 takes the pgd_lock by clearing irqs, and then it takes the page_table_lock with irqs already off. It's always forbidden to keep irqs off while taking the page_table_lock, because all IPIs are sent for the tlb flushes with the page_table_lock held if PT locks are disabled (NR_CPUS small) or if THP is on. It's not THP bug, it's core bug in pgd_lock that will trigger with PT locks disabled too without THP: all those spin_lock_irqsave must become spin_lock. Either that or the page_table_lock must not be taken with irqs off. -- 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/ . Fight unfair telecom policy in Canada: sign http://dissolvethecrtc.ca/ Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> ^ permalink raw reply [flat|nested] 7+ messages in thread
* [patch] epoll-fix-compiler-warning-and-optimize-the-non-blocking-path-fix 2011-01-25 23:48 mmotm 2011-01-25-15-47 uploaded akpm 2011-01-26 8:45 ` CAI Qian @ 2011-01-26 10:20 ` Johannes Weiner 2011-01-26 15:05 ` Davide Libenzi 1 sibling, 1 reply; 7+ messages in thread From: Johannes Weiner @ 2011-01-26 10:20 UTC (permalink / raw) To: akpm Cc: shawn.bohrer, davidel, linux-mm, linux-fsdevel, mm-commits, linux-kernel The non-blocking ep_poll path optimization introduced skipping over the return value setup. Initialize it properly, my userspace gets upset by epoll_wait() returning random things. In addition, remove the reinitialization at the fetch_events label, the return value is garuanteed to be zero when execution reaches there. Signed-off-by: Johannes Weiner <hannes@cmpxchg.org> Cc: Shawn Bohrer <shawn.bohrer@gmail.com> Cc: Davide Libenzi <davidel@xmailserver.org> --- fs/eventpoll.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/fs/eventpoll.c b/fs/eventpoll.c index f7cb6cb..afe4238 100644 --- a/fs/eventpoll.c +++ b/fs/eventpoll.c @@ -1147,7 +1147,7 @@ static int ep_send_events(struct eventpoll *ep, static int ep_poll(struct eventpoll *ep, struct epoll_event __user *events, int maxevents, long timeout) { - int res, eavail, timed_out = 0; + int res = 0, eavail, timed_out = 0; unsigned long flags; long slack = 0; wait_queue_t wait; @@ -1173,7 +1173,6 @@ static int ep_poll(struct eventpoll *ep, struct epoll_event __user *events, fetch_events: spin_lock_irqsave(&ep->lock, flags); - res = 0; if (!ep_events_available(ep)) { /* * We don't have any available event to return to the caller. -- 1.7.3.5 -- 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/ . Fight unfair telecom policy in Canada: sign http://dissolvethecrtc.ca/ Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [patch] epoll-fix-compiler-warning-and-optimize-the-non-blocking-path-fix 2011-01-26 10:20 ` [patch] epoll-fix-compiler-warning-and-optimize-the-non-blocking-path-fix Johannes Weiner @ 2011-01-26 15:05 ` Davide Libenzi 0 siblings, 0 replies; 7+ messages in thread From: Davide Libenzi @ 2011-01-26 15:05 UTC (permalink / raw) To: Johannes Weiner Cc: Andrew Morton, shawn.bohrer, linux-mm, linux-fsdevel, mm-commits, Linux Kernel Mailing List On Wed, 26 Jan 2011, Johannes Weiner wrote: > The non-blocking ep_poll path optimization introduced skipping over > the return value setup. > > Initialize it properly, my userspace gets upset by epoll_wait() > returning random things. > > In addition, remove the reinitialization at the fetch_events label, > the return value is garuanteed to be zero when execution reaches > there. > > Signed-off-by: Johannes Weiner <hannes@cmpxchg.org> > Cc: Shawn Bohrer <shawn.bohrer@gmail.com> > Cc: Davide Libenzi <davidel@xmailserver.org> Thank you for posting it. Obvious ACK. > --- > fs/eventpoll.c | 3 +-- > 1 files changed, 1 insertions(+), 2 deletions(-) > > diff --git a/fs/eventpoll.c b/fs/eventpoll.c > index f7cb6cb..afe4238 100644 > --- a/fs/eventpoll.c > +++ b/fs/eventpoll.c > @@ -1147,7 +1147,7 @@ static int ep_send_events(struct eventpoll *ep, > static int ep_poll(struct eventpoll *ep, struct epoll_event __user *events, > int maxevents, long timeout) > { > - int res, eavail, timed_out = 0; > + int res = 0, eavail, timed_out = 0; > unsigned long flags; > long slack = 0; > wait_queue_t wait; > @@ -1173,7 +1173,6 @@ static int ep_poll(struct eventpoll *ep, struct epoll_event __user *events, > fetch_events: > spin_lock_irqsave(&ep->lock, flags); > > - res = 0; > if (!ep_events_available(ep)) { > /* > * We don't have any available event to return to the caller. > -- > 1.7.3.5 > > -- > 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/ . > Fight unfair telecom policy in Canada: sign http://dissolvethecrtc.ca/ > Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> > -- 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/ . Fight unfair telecom policy in Canada: sign http://dissolvethecrtc.ca/ Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2011-01-28 16:51 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-01-25 23:48 mmotm 2011-01-25-15-47 uploaded akpm 2011-01-26 8:45 ` CAI Qian 2011-01-26 13:52 ` Andrea Arcangeli 2011-01-28 6:44 ` CAI Qian 2011-01-28 16:50 ` pgd_lock must be taken with irqs enabled Andrea Arcangeli 2011-01-26 10:20 ` [patch] epoll-fix-compiler-warning-and-optimize-the-non-blocking-path-fix Johannes Weiner 2011-01-26 15:05 ` Davide Libenzi
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).