* mmotm 2009-08-27-16-51 uploaded @ 2009-08-27 23:55 akpm 2009-09-01 9:00 ` [mmotm][BUG] free is bigger than presnet " KAMEZAWA Hiroyuki 2009-09-01 9:07 ` [mmotm][BUG] lockdep warning block I/O (Was " KAMEZAWA Hiroyuki 0 siblings, 2 replies; 13+ messages in thread From: akpm @ 2009-08-27 23:55 UTC (permalink / raw) To: mm-commits, linux-kernel The mm-of-the-moment snapshot 2009-08-27-16-51 has been uploaded to http://userweb.kernel.org/~akpm/mmotm/ and will soon be available at git://git.zen-sources.org/zen/mmotm.git It contains the following patches against 2.6.31-rc7: origin.patch afs-stop-readlink-on-afs-crashing-because-file-not-passed-to-afs_readpage.patch radix-tree-make-radix_tree_preload-alloc-one-more-slot.patch repeatable-slab-corruption-with-ltp-msgctl08.patch linux-next.patch linux-next-git-rejects.patch next-remove-localversion.patch i-need-old-gcc.patch acpi-battery-work-around-negative-s16-battery-current-on-acer.patch kernel-core-add-smp_call_function_any.patch arch-x86-kernel-cpu-cpufreq-acpi-cpufreqc-avoid-cross-cpu-interrupts-by-using-smp_call_function_any.patch toshiba_acpi-return-on-a-fail-path.patch acerhdf-fix-fan-control-for-aoa150-model.patch acpi-dont-free-non-existent-backlight-in-acpi-video-module.patch drivers-acpi-videoc-remove-unneeded-memsets.patch cpuidle-menu-governor-reduce-latency-on-exit.patch acpi-fix-null-bug-for-hid-uid-string-2.patch acerhdf-convert-to-dev_pm_ops.patch acerhdf-additional-bios-versions.patch dell_laptop-when-the-hardware-switch-is-disabled-dont-actually-allow-changing-the-softblock-status.patch acpi-reintroduce-acpi_device_ops-shutdown-method.patch x86-fix-x86_model-test-in-es7000_apic_is_cluster.patch cs5535-gpio-add-amd-cs5535-cs5536-gpio-driver-support.patch cs5535-gpio-request-function-mask-names-added.patch alsa-cs5535audio-free-olpc-quirks-from-reliance-on-mgeode_lx-cpu-optimization.patch agp-correct-missing-cleanup-on-error-in-agp_add_bridge.patch s3c-fix-check-of-index-into-s3c_gpios.patch stmp3xxx-deallocation-with-negative-index-of-descriptors.patch spitz-fix-touchscreen-max-presure.patch avr32-convert-to-asm-generic-hardirqh.patch dm-strncpy-does-not-null-terminate-string.patch md-dm-log-fix-cn_ulog_callback-declaration.patch pcmcia-yenta-add-missing-__devexit-marking.patch pcmcia-fix-read-buffer-overflow.patch powerpc-sky-cpu-redundant-or-incorrect-tests-on-unsigned.patch hpilo-add-locking-comment.patch drm-i915-intel_sdvo_multifunc_encoder-sdvo_output_svid0-tested-twice.patch drm-via-add-pci-id-for-via-vx800-chipset.patch video-initial-support-for-adv7180.patch video-initial-support-for-adv7180-update.patch video-initial-support-for-adv7180-update-fix.patch gspca-fix-sn9c20x-build-errors.patch v4l-dvb-fix-test-of-bandwidth-range-in-cx22700_set_tps.patch i2c-add-support-for-new-amd-smbus-devices.patch timer-stats-fix-del_timer_sync-and-try_to_del_timer_sync.patch ia64-use-printk_once.patch input-drivers-input-xpadc-improve-xbox-360-wireless-support-and-add-sysfs-interface.patch input-documentation-input-xpadtxt-update-for-new-driver-functionality.patch input-touchpad-not-detected-on-asus-g1s.patch input-add-a-shutdown-method-to-pnp-drivers.patch gitignore-usr-initramfs_datacpiobz2-and-usr-initramfs_datacpiolzma.patch kernel-hacking-move-strip_asm_syms-from-general.patch kbuild-add-static-to-prototypes.patch ctags-usability-fix.patch checkincludespl-close-file-as-soon-as-were-done-with-it.patch checkincludespl-provide-usage-helper.patch checkincludespl-add-option-to-remove-duplicates-in-place.patch markup_oops-use-modinfo-to-avoid-confusion-with-underscored-module-names.patch leds-gpio-leds-fix-typographics-fault.patch leds-fix-coding-style-in-worker-thread-code-for-ledtrig-gpio.patch drivers-ata-use-resource_size.patch ata-use-printk_once.patch ide-use-printk_once.patch mips-decrease-size-of-au1xxx_dbdma_pm_regs.patch mips-octeon-add-hardware-rng-platform-device.patch hw_random-add-hardware-rng-for-octeon-socs.patch octeon-false-positive-timeout.patch jffs2-move-jffs2_gcd_mtd-threads-to-the-new-kthread-api.patch mtd-sst25l-non-jedec-spi-flash-driver.patch drivers-mtd-mtdcorec-make-symbols-static.patch mtd-sst25l-fix-lock-imbalance.patch mtd-register-orion_nand-using-platform_driver_probe.patch slram-read-buffer-overflow.patch mtd-fix-read-buffer-overflow.patch mtd-make-onenand-genericc-more-generic.patch mtd-make-onenand-genericc-more-generic-fix.patch mtd-nand-add-page-parameter-to-all-read_page-read_page_raw-apis.patch mtd-nand-add-new-ecc-mode-ecc_hw_oob_first.patch mtd-nand-davinci-add-4-bit-ecc-support-for-large-page-nand-chips.patch mtd-nand-davinci-add-4-bit-ecc-support-for-large-page-nand-chips-update.patch mtd-jffs2-fix-read-buffer-overflow.patch mtd-prevent-a-read-from-eraseregions.patch mtd-prevent-a-read-from-regions.patch mtd-jedec_probe-fix-nec-upd29f064115-detection.patch mtdpart-memory-accessor-interface-for-mtd-layer.patch tipc-fix-test-of-bearer_priority-range-in-tipc_register_media.patch isdn-hisax-fix-lock-imbalance.patch hfc_usb-fix-read-buffer-overflow.patch isdn-fix-netjet-build-errors.patch misdn-fix-reversed-if-in-st_own_ctrl.patch isdn-eicon-use-offsetof.patch isdn-eicon-return-on-error.patch zorro8390-fix-read-buffer-overflow-in-zorro8390_init_one-checkpatch-fixes.patch 3x59x-fix-pci-resource-management.patch backlight-spi-driver-for-lms283gf05-lcd.patch video-mbp_nvidia_bl-add-support-for-macbookair-11.patch bluetooth-fix-for-acer-bluetooth-optical-rechargeable-mouse.patch sunrpc-use-formatting-of-module-name-in-sunrpc.patch serial_txx9-use-container_of-instead-of-direct-cast.patch icom-converting-space-to-tabs.patch cyclades-read-buffer-overflow.patch serial167-fix-read-buffer-overflow.patch serial-add-parameter-to-force-skipping-the-test-for-the-txen-bug.patch drivers-md-introduce-missing-kfree.patch regulator-fix-calculation-of-voltage-range-in-da9034_set_ldo12_voltage.patch spinlocks-check-spinlock_t-rwlock_t-argument-type-on-non-smp-builds.patch spinlocks-check-spinlock_t-rwlock_t-argument-type-on-non-smp-builds-v3.patch waitqueues-give-waitqueue-spinlocks-their-own-lockdep-classes-checkpatch-fixes.patch spinlock-move-spinlock-function-bodies-to-header-file.patch scsi-use-the-common-hex_asc-array-rather-than-a-private-one.patch scsi-gdthc-use-unaligned-access-helpers.patch scsi-annotate-gdth_rdcap_data-gdth_rdcap16_data-endianness.patch scsi-add-__init-__exit-macros-to-ibmvstgtc.patch drivers-scsi-fnic-fnic_scsic-clean-up.patch ibmmca-buffer-overflow.patch scsi-eata-fix-buffer-overflow.patch drivers-scsi-gdthc-fix-buffer-overflow.patch drivers-scsi-u14-34fc-fix-uffer-overflow.patch drivers-scsi-lpfc-lpfc_vportc-fix-read-buffer-overflow.patch osst-fix-read-buffer-overflow.patch scsi-fix-func-names-in-kernel-doc.patch gdth-unmap-ccb_phys-when-scsi_add_host-fails-in-gdth_eisa_probe_one.patch zfcp-test-kmalloc-failure-in-scsi_get_vpd_page.patch st-fix-test-of-value-range-in-st_set_options.patch st-fix-test-of-value-range-in-st_set_options-fix.patch sparc32-convert-to-asm-generic-hardirqh.patch synaptics-touchscreen-for-htc-dream-check-that-smbus-is-available.patch vfs-fix-vfs_rename_dir-for-fs_rename_does_d_move-filesystems.patch raw-fix-rawctl-compat-ioctls-breakage-on-amd64-and-itanic.patch vfs-improve-comment-describing-fget_light.patch libfs-make-simple_read_from_buffer-conventional.patch fs-inodec-add-dev-id-and-inode-number-for-debugging-in-init_special_inode.patch vfs-split-generic_forget_inode-so-that-hugetlbfs-does-not-have-to-copy-it.patch seq_file-return-a-negative-error-code-when-seq_path_root-fails.patch fs-fix-overflow-in-sys_mount-for-in-kernel-calls.patch vfs-optimization-for-touch_atime.patch vfs-optimize-touch_time-too.patch ecryptfs-another-lockdep-issue.patch vfs-explicitly-cast-s_maxbytes-in-fiemap_check_ranges.patch vfs-change-sb-s_maxbytes-to-a-loff_t.patch vfs-remove-redundant-position-check-in-do_sendfile.patch vfs-fix-d_path-for-unreachable-paths.patch fs-remove-unneeded-dcache_unhashed-tricks.patch fs-improve-remountro-vs-buffercache-coherency.patch fs-improve-remountro-vs-buffercache-coherency-fix.patch fs-new-truncate-helpers.patch fs-use-new-truncate-helpers.patch fs-introduce-new-truncate-sequence.patch fs-convert-simple-fs-to-new-truncate.patch tmpfs-convert-to-use-the-new-truncate-convention.patch ext2-convert-to-use-the-new-truncate-convention.patch ext2-convert-to-use-the-new-truncate-convention-fix.patch fat-convert-to-use-the-new-truncate-convention.patch btrfs-convert-to-use-the-new-truncate-convention.patch jfs-convert-to-use-the-new-truncate-convention.patch udf-convert-to-use-the-new-truncate-convention.patch minix-convert-to-use-the-new-truncate-convention.patch drivers-watchdog-booke_wdtc-fix-book-e-watchdog-to-take-wdioc_settimeout-arg-in-seconds.patch xtensa-use-generic-sys_pipe.patch xtensa-convert-to-asm-generic-hardirqh.patch tty-fix-regression-caused-by-tty-make-the-kref-destructor-occur-asynchronously.patch mm.patch dm-snapshot-implement-iterate_devices.patch pci-dmar-correct-off-by-one-error.patch x86-_end-symbol-missing-from-symbolmap.patch mtd-m25p80-fix-null-pointer-dereference-bug.patch nftl-write-support-is-broken.patch nftl-fix-offset-alignments.patch mm-make-swap-token-dummies-static-inlines.patch mm-make-swap-token-dummies-static-inlines-fix.patch mm-make-swap-token-dummies-static-inlines-fix-2.patch mm-remove-obsoleted-alloc_pages-cpuset-comment.patch readahead-add-blk_run_backing_dev.patch readahead-add-blk_run_backing_dev-fix.patch readahead-add-blk_run_backing_dev-fix-fix-2.patch memory-hotplug-update-zone-pcp-at-memory-online.patch memory-hotplug-update-zone-pcp-at-memory-online-fix.patch memory-hotplug-exclude-isolated-page-from-pco-page-alloc.patch memory-hotplug-make-pages-from-movable-zone-always-isolatable.patch memory-hotplug-alloc-page-from-other-node-in-memory-online.patch memory-hotplug-migrate-swap-cache-page.patch page_alloc-fix-kernel-doc-warning.patch hugetlb-balance-freeing-of-huge-pages-across-nodes.patch hugetlb-use-free_pool_huge_page-to-return-unused-surplus-pages.patch hugetlb-use-free_pool_huge_page-to-return-unused-surplus-pages-fix.patch hugetlb-clean-up-and-update-huge-pages-documentation.patch hugetlb-restore-interleaving-of-bootmem-huge-pages.patch mm-clean-up-page_remove_rmap.patch mm-show_free_areas-display-slab-pages-in-two-separate-fields.patch documentation-memorytxt-remove-some-very-outdated-recommendations.patch mm-oom-analysis-add-per-zone-statistics-to-show_free_areas.patch mm-oom-analysis-add-buffer-cache-information-to-show_free_areas.patch mm-oom-analysis-show-kernel-stack-usage-in-proc-meminfo-and-oom-log-output.patch mm-oom-analysis-add-shmem-vmstat.patch mm-update-alloc_flags-after-oom-killer-has-been-called.patch mm-rename-pgmoved-variable-in-shrink_active_list.patch mm-shrink_inactive_list-nr_scan-accounting-fix-fix.patch mm-vmstat-add-isolate-pages.patch mm-vmstat-add-isolate-pages-fix.patch vmscan-throttle-direct-reclaim-when-too-many-pages-are-isolated-already.patch mm-remove-__addsub_zone_page_state.patch vm-document-that-setting-vfs_cache_pressure-to-0-isnt-a-good-idea.patch mm-count-only-reclaimable-lru-pages-v2.patch vmscan-dont-attempt-to-reclaim-anon-page-in-lumpy-reclaim-when-no-swap-space-is-avilable.patch vmscan-move-clearpageactive-from-move_active_pages-to-shrink_active_list.patch vmscan-kill-unnecessary-page-flag-test.patch vmscan-kill-unnecessary-prefetch.patch mm-add-gfp-mask-checking-for-__get_free_pages.patch vmallocc-fix-double-error-checking.patch mm-perform-non-atomic-test-clear-of-pg_mlocked-on-free.patch ksm-add-mmu_notifier-set_pte_at_notify.patch ksm-first-tidy-up-madvise_vma.patch ksm-define-madv_mergeable-and-madv_unmergeable.patch ksm-the-mm-interface-to-ksm.patch ksm-no-debug-in-page_dup_rmap.patch ksm-identify-pageksm-pages.patch ksm-kernel-samepage-merging.patch ksm-prevent-mremap-move-poisoning.patch ksm-change-copyright-message.patch ksm-change-ksm-nice-level-to-be-5.patch ksm-rename-kernel_pages_allocated.patch ksm-move-pages_sharing-updates.patch ksm-pages_unshared-and-pages_volatile.patch ksm-break-cow-once-unshared.patch ksm-keep-quiet-while-list-empty.patch ksm-five-little-cleanups.patch ksm-fix-endless-loop-on-oom.patch ksm-distribute-remove_mm_from_lists.patch ksm-fix-oom-deadlock.patch ksm-sysfs-and-defaults.patch ksm-add-some-documentation.patch ksm-remove-vm_mergeable_flags.patch mm-warn-once-when-a-page-is-freed-with-pg_mlocked-set.patch pagemap-clear_refs-modify-to-specify-anon-or-mapped-vma-clearing.patch mm-kmem_cache_create-make-it-easier-to-catch-null-cache-names.patch page-allocator-change-migratetype-for-all-pageblocks-within-a-high-order-page-during-__rmqueue_fallback.patch vmalloc-unmap-vmalloc-area-after-hiding-it.patch kcore-fix-vread-vwrite-to-be-aware-of-holes.patch kcore-fix-vread-vwrite-to-be-aware-of-holes-update.patch kcore-proc-kcore-should-use-vread.patch arches-drop-superfluous-casts-in-nr_free_pages-callers.patch arches-drop-superfluous-casts-in-nr_free_pages-callers-checkpatch-fixes.patch page-allocator-remove-dead-function-free_cold_page.patch tracing-page-allocator-add-trace-events-for-page-allocation-and-page-freeing.patch tracing-page-allocator-add-trace-events-for-anti-fragmentation-falling-back-to-other-migratetypes.patch tracing-page-allocator-add-trace-event-for-page-traffic-related-to-the-buddy-lists.patch tracing-page-allocator-add-trace-event-for-page-traffic-related-to-the-buddy-lists-fix.patch tracing-page-allocator-add-a-postprocessing-script-for-page-allocator-related-ftrace-events.patch tracing-documentation-add-a-document-describing-how-to-do-some-performance-analysis-with-tracepoints.patch tracing-documentation-add-a-document-on-the-kmem-tracepoints.patch mm-add_to_swap_cache-must-not-sleep.patch mm-add_to_swap_cache-does-not-return-eexist.patch mm-add_to_swap_cache-does-not-return-eexist-fix.patch mm-includecheck-fix-for-mm-shmemc.patch mm-includecheck-fix-for-mm-nommuc.patch md-avoid-use-of-broken-kzalloc-mempool.patch mm-remove-broken-kzalloc-mempool.patch mm-drop-unneeded-double-negations.patch mm-introduce-page_lru_base_type.patch mm-introduce-page_lru_base_type-fix.patch mm-return-boolean-from-page_is_file_cache.patch mm-return-boolean-from-page_has_private.patch mm-document-is_page_cache_freeable.patch page-allocator-limit-the-number-of-migrate_reserve-pageblocks-per-zone.patch memory-hotplug-fix-updating-of-num_physpages-for-hot-plugged-memory.patch mm-replace-various-uses-of-num_physpages-by-totalram_pages.patch mm-dont-use-alloc_bootmem_low-where-not-strictly-needed.patch mm-also-use-alloc_large_system_hash-for-the-pid-hash-table.patch mm-vmscan-rename-zone_nr_pages-to-zone_lru_nr_pages.patch oom-move-oom_killer_enable-oom_killer_disable-to-where-they-belong.patch mm-do-batched-scans-for-mem_cgroup.patch mm-vmscan-remove-page_queue_congested-comment.patch vmscan-move-pgdeactivate-modification-to-shrink_active_list.patch hugetlbfs-allow-the-creation-of-files-suitable-for-map_private-on-the-vfs-internal-mount.patch hugetlb-add-map_hugetlb-for-mmaping-pseudo-anonymous-huge-page-regions.patch hugetlb-add-map_hugetlb-example.patch oom-move-oom_adj-value-from-task_struct-to-signal_struct.patch oom-make-oom_score-to-per-process-value.patch oom-oom_kill-doesnt-kill-vfork-parentor-child.patch oom-fix-oom_adjust_write-input-sanity-check.patch frv-duplicate-output_buffer-of-e03.patch frv-duplicate-output_buffer-of-e03-checkpatch-fixes.patch frv-convert-to-asm-generic-hardirqh.patch blackfin-convert-to-use-arch_gettimeoffset.patch blackfin-fix-read-buffer-overflow.patch h8300-convert-to-asm-generic-hardirqh.patch alpha-convert-to-use-arch_gettimeoffset.patch arch-alpha-boot-tools-objstripc-wrong-variable-tested-after-open.patch alpha-use-printk_once.patch alpha-convert-to-asm-generic-hardirqh.patch m32r-remove-redundant-tests-on-unsigned.patch m32r-convert-to-use-arch_gettimeoffset.patch m32r-convert-to-asm-generic-hardirqh.patch m68k-convert-to-use-arch_gettimeoffset.patch m68k-convert-to-asm-generic-hardirqh.patch cris-convert-to-use-arch_gettimeoffset.patch cris-convert-to-asm-generic-hardirqh.patch um-convert-to-asm-generic-hardirqh.patch uml-fix-order-of-pud-and-pmd_free.patch printk-boot_delay-rename-printk_delay_msec-to-loops_per_msec.patch printk-boot_delay-rename-printk_delay_msec-to-loops_per_msec-fix.patch printk-boot_delay-rename-printk_delay_msec-to-loops_per_msec-fix-2.patch printk-add-printk_delay-to-make-messages-readable-for-some-scenarios.patch printk-add-printk_delay-to-make-messages-readable-for-some-scenarios-fix.patch printk-add-printk_delay-to-make-messages-readable-for-some-scenarios-cleanup.patch move-magic-numbers-into-magich.patch move-magic-numbers-into-magich-update.patch kmod-fix-race-in-usermodehelper-code.patch dac960-fix-undefined-behavior-on-empty-string.patch fix-all-wmissing-prototypes-warnings-in-x86-defconfig.patch generic-ipi-make-struct-call_function_data-lockless.patch generic-ipi-make-struct-call_function_data-lockless-cleanup.patch dme1737-keep-index-within-pwm_config.patch documentation-fix-warnings-from-wmissing-prototypes-in-hostcflags.patch seq_file-constify-seq_operations.patch proc-connector-add-event-for-process-becoming-session-leader.patch printk_once-use-bool-for-boolean-flag.patch misc-remove-redundant-start_kernel-prototypes.patch fs-turn-iprune_mutex-into-rwsem.patch fs-bufferc-clean-up-export-macros.patch build_bug_on-fix-it-and-a-couple-of-bogus-uses-of-it.patch aioc-move-export-macros-to-line-after-function.patch maintainers-remove-dead-ncpfs-list.patch anonfd-split-interface-into-file-creation-and-install.patch ntfs-remove-ntfs_file_write.patch qnx4-remove-write-support.patch vlynq-includecheck-fix-drivers-vlynq-vlynqc.patch generic-ipi-cleanup-for-generic_smp_call_function_interrupt.patch kernel-smpc-relocate-some-code.patch generic-ipi-fix-the-race-between-generic_smp_call_function_-and-hotplug_cfd.patch generic-ipi-fix-the-race-between-generic_smp_call_function_-and-hotplug_cfd-fix.patch maintainers-add-ipvs-include-files.patch scripts-get_maintainerpl-add-git-blame.patch scripts-get_maintainerpl-add-sections-in-pattern-match-depth-order.patch scripts-get_maintainerpl-add-pattern-depth.patch scripts-get_maintainerpl-better-email-routines-use-perl-not-shell-where-possible.patch scripts-get_maintainerpl-add-mailmap-use-shell-and-email-cleanups.patch scripts-get_maintainerpl-using-separator-implies-nomultiline.patch scripts-get_maintainerpl-add-remove-duplicates.patch scripts-get_maintainerpl-add-maintainers-in-order-listed-in-matched-section.patch getrusage-fill-ru_maxrss-value.patch getrusage-fill-ru_maxrss-value-update.patch vsprintf-use-warn_on_once.patch flex_array-add-flex_array_clear-function.patch flex_array-poison-free-elements.patch flex_array-add-flex_array_shrink-function.patch asm-sections-add-text-data-checking-functions-for-arches-to-override.patch kallsyms-use-new-arch_is_kernel_text.patch lockdep-use-new-arch_is_kernel_data.patch blackfin-override-text-data-checking-functions.patch mmc-in-mmc_power_up-use-previously-selected-ocr-if-available.patch omap-hsmmc-do-not-enable-buffer-ready-interrupt-if-using-dma.patch mmc-msm_sdccc-driver-for-htc-dream.patch msm_sdccc-convert-printkkern_level-to-pr_level.patch msm_sdccc-stylistic-cleaning.patch msm_sdccc-move-overly-indented-code-to-separate-function.patch mmc-register-mmci-omap-hs-using-platform_driver_probe.patch sdio-do-not-ignore-mmc_vdd_165_195.patch mmc-make-the-configuration-memory-resource-optional.patch tmio_mmc-optionally-support-using-platform-clock.patch sh-switch-migo-r-to-use-the-tmio-mmc-driver-instead-of-spi.patch mmc-add-enable-and-disable-methods-to-mmc-host.patch mmc-allow-host-claim-release-nesting.patch mmc-add-mmc_cap_nonremovable-host-capability.patch mmc-add-ability-to-save-power-by-powering-off-cards.patch mmc-add-mmc-card-sleep-and-awake-support.patch mmc-power-off-once-at-removal.patch mmc-add-host-capabilities-for-sd-only-and-mmc-only.patch mmc-check-status-after-mmc-switch-command.patch omap_hsmmc-add-debugfs-entry-host-registers.patch omap_hsmmc-make-use-of-new-enable-disable-interface.patch arm-omap-mmc-twl4030-add-context-loss-counter-support.patch omap_hsmmc-keep-track-of-power-mode.patch omap_hsmmc-context-save-restore-support.patch omap_hsmmc-set-open-drain-bit-correctly.patch omap_hsmmc-ensure-workqueues-are-empty-before-suspend.patch omap_hsmmc-fix-scatter-gather-list-sanity-checking.patch omap_hsmmc-make-use-of-new-mmc_cap_nonremovable-host-capability.patch omap_hsmmc-support-for-deeper-power-saving-states.patch arm-omap-mmc-twl4030-add-regulator-sleep-wake-function.patch omap_hsmmc-put-mmc-regulator-to-sleep.patch omap_hsmmc-add-mmc-card-sleep-and-awake-support.patch omap_hsmmc-fix-null-pointer-dereference.patch omap_hsmmc-cleanup-macro-usage.patch omap_hsmmc-clear-interrupt-status-after-init-sequence.patch omap_hsmmc-cater-for-weird-cmd6-behaviour.patch omap_hsmmc-prevent-races-with-irq-handler.patch omap_hsmmc-pass-host-capabilities-for-sd-only-and-mmc-only.patch omap_hsmmc-code-refactoring.patch omap_hsmmc-protect-the-card-when-the-cover-is-open.patch omap_hsmmc-ensure-all-clock-enables-and-disables-are-paired.patch omap_hsmmc-ensure-all-clock-enables-and-disables-are-paired-fix-for-the-db-clock-failure-message.patch omap_hsmmc-set-a-large-data-timeout-for-commands-with-busy-signal.patch arm-omap-rx51-set-mmc-capabilities-and-power-saving-flag.patch maintainers-update-for-ti-omap-hsmmc-driver.patch sdio-add-cd-disable-support.patch sdio-add-cd-disable-support-cleanup.patch sdhci-be-more-strict-with-get_min_clock-usage.patch sdio-fix-read-buffer-overflow.patch sdhci-of-fix-sd-clock-calculation.patch sdhci-of-avoid-writing-reserved-bits-into-host-control-register.patch sdhci-of-fix-high-speed-cards-recognition.patch powerpc-introduce-and-document-sdhciwp-inverted-property-for-esdhc.patch sdhci-of-dont-hard-code-inverted-write-protect-quirk.patch sdhci-of-cleanup-esdhcs-set_clock-a-little-bit.patch powerpc-85xx-add-esdhc-support-for-mpc8536ds-boards.patch sdio-add-mmc_quirk_lenient_fn0.patch sdio-add-mmc_quirk_lenient_fn0-fix.patch checkpatch-possible-types-else-cannot-start-a-type.patch checkpatch-handle-c99-comments-correctly-performance-issue.patch checkpatch-indent-checks-stop-when-we-run-out-of-continuation-lines.patch checkpatch-make-f-alias-file-add-help-more-verbose-help-message.patch checkpatch-format-strings-should-not-have-brackets-in-macros.patch checkpatch-limit-sn-un-matches-to-actual-bit-sizes.patch checkpatch-version-029.patch poll-select-avoid-arithmetic-overflow-in-__estimate_accuracy.patch drivers-hwmon-coretempc-enable-the-intel-atom.patch lis3-fix-typo.patch lis3-add-free-fall-wakeup-function-via-platform_data.patch lis3-add-power-management-functions.patch lis3-add-power-management-functions-fix.patch lis3_spi-code-cleanups.patch drivers-hwmon-adm1021c-support-high-precision-adm1023-remote-sensor.patch drivers-hwmon-adm1021c-add-low_power-support-for-adm1021-driver.patch drivers-hwmon-adm1021c-add-low_power-support-for-adm1021-driver-update.patch hwmon-fix-freeing-of-gpio_data-and-irq.patch hwmon-applesmc-restore-accelerometer-and-keyboard-backlight-on-resume.patch proc-fix-reported-unit-for-rlimit_cpu.patch proc_flush_task-flush-proc-tid-task-pid-when-a-sub-thread-exits.patch kcore-fix-proc-kcores-statst_size.patch fs-proc-task_mmuc-v1-fix-clear_refs_write-input-sanity-check.patch fs-proc-basec-fix-proc_fault_inject_write-input-sanity-check.patch procfs-provide-stack-information-for-threads-v08.patch procfs-provide-stack-information-for-threads-v011.patch procfs-provide-stack-information-for-threads-v011-fix.patch ramfs-move-ramfs_magic-to-include-linux-magich.patch ncpfs-read-buffer-overflow.patch spi-remove-imx-spi-driver.patch spi-omap2_mcspi-use-bitn.patch spi-add-spi_ppc4xx-driver.patch spih-add-missing-kernel-doc-for-struct-spi_master.patch spi-add-default-selection-of-pl022-for-arm-reference-platforms.patch spi-add-spi-driver-for-most-known-imx-socs.patch spi-add-support-for-device-table-matching.patch mtd-m25p80-convert-to-device-table-matching.patch of-remove-stmm25p40-alias.patch hwmon-adxx-convert-to-device-table-matching.patch hwmon-lm70-convert-to-device-table-matching.patch spi-prefix-modalias-with-spi.patch pxa2xx_spi-register-earlier.patch spi-fix-spelling-of-automatically-in-documentation.patch spi_s3c24xx-fix-header-includes.patch spi_s3c24xx-use-resource_size-to-get-resource-size.patch spi_s3c24xx-use-dev_pm_ops.patch spi_s3c24xx-cache-device-setup-data.patch kprobes-use-do_irq-in-lkdtm.patch smbfs-read-buffer-overflow.patch rtc-add-driver-for-mxcs-internal-rtc-module.patch rtc-add-driver-for-mxcs-internal-rtc-module-fix.patch rtc-add-driver-for-mxcs-internal-rtc-module-fix-fix.patch rtc-u300-coh-901-331-rtc-driver-v3.patch rtc-update-documentation-wrt-rtc_pie-irq_set_state.patch rtc-bfin-do-not-share-rtc-irq.patch rtc-add-freescale-stmp37xx-378x-driver.patch rtc-philips-nxp-pcf2123-driver.patch rtc-philips-nxp-pcf2123-driver-v03.patch rtc-philips-nxp-pcf2123-driver-v03-fix.patch rtc-philips-nxp-pcf2123-driver-v03-update.patch rtc-reorder-makefile.patch rtc-driver-for-pcap2-pmic.patch rtc-driver-for-pcap2-pmic-update.patch rtc-driver-for-pcap2-pmic-get-pcap-data-from-the-parent-device.patch drivers-rtc-correct-error-handling-code.patch drivers-rtc-introduce-missing-kfree.patch rtc-set-wakeup-capability-for-i2c-and-spi-rtc-drivers.patch gpiolib-allow-exported-gpio-nodes-to-be-named-using-sysfs-links.patch gpiolib-allow-exported-gpio-nodes-to-be-named-using-sysfs-links-update.patch gpiolib-allow-exported-gpio-nodes-to-be-named-using-sysfs-links-update-fix.patch gpio-add-mc33880-driver.patch mfd-gpio-add-a-gpio-interface-to-the-ucb1400-mfd-chip-driver-via-gpiolib.patch gpio-add-intel-moorestown-platform-langwell-chip-gpio-driver.patch gpio-add-intel-moorestown-platform-langwell-chip-gpio-driver-fix.patch gpio-pca953x-add-support-for-max7315.patch gpio-include-linux-gpioh-not-asm-gpioh.patch gpiolib-add-names-file-in-gpio-chip-sysfs.patch gpiolib-add-names-file-in-gpio-chip-sysfs-checkpatch-fixes.patch gpiolib-add-names-file-in-gpio-chip-sysfs-checkpatch-fixes-fix.patch omapfb-add-support-for-the-apollon-lcd.patch omapfb-add-support-for-mipi-dcs-compatible-lcds.patch omapfb-add-support-for-the-amstrad-delta-lcd.patch omapfb-add-support-for-the-2430sdp-lcd.patch omapfb-add-support-for-the-omap2evm-lcd.patch omapfb-add-support-for-the-3430sdp-lcd.patch omapfb-add-support-for-the-omap3-evm-lcd.patch omapfb-add-support-for-the-omap3-beagle-dvi-output.patch omapfb-add-support-for-the-gumstix-overo-lcd.patch omapfb-add-support-for-the-zoom-mdk-lcd.patch omapfb-add-support-for-rotation-on-the-blizzard-lcd-ctrl.patch n770-enable-lcd-mipi-dcs-in-kconfig.patch omapfb-dispc-various-typo-fixes.patch omapfb-dispc-disable-iface-clocks-along-with-func-clocks.patch omapfb-dispc-enable-wake-up-capability.patch omapfb-dispc-allow-multiple-external-irq-handlers.patch omapfb-suspend-resume-only-if-fb-device-is-already-initialized.patch omapfb-fix-coding-style-remove-dead-line.patch omapfb-add-fb-manual-update-option-to-kconfig.patch omapfb-hwa742-fix-pointer-to-be-const.patch atyfb-coding-style-cleanup.patch framebuffer-support-for-htc-dream.patch framebuffer-support-for-htc-dream-checkpatch-fixes.patch platinumfb-misplaced-parenthesis.patch davinci-fb-frame-buffer-driver-for-ti-da8xx-omap-l1xx.patch davinci-fb-frame-buffer-driver-for-ti-da8xx-omap-l1xx-v4.patch davinci-fb-frame-buffer-driver-for-ti-da8xx-omap-l1xx-v4-cleanup.patch davinci-fb-frame-buffer-driver-for-ti-da8xx-omap-l1xx-v5.patch sisfb-read-buffer-overflow.patch ep93xx-video-driver-platform-support.patch ep93xx-video-driver.patch ep93xx-video-driver-documentation.patch viafb-remove-duplicated-cx700-register-init.patch viafb-remove-temporary-start-address-setting.patch viafb-merge-viafb_update_viafb_par-in-viafb_update_fix.patch viafb-split-viafb_set_start_addr-up.patch viafb-fix-ioremap_nocache-error-handling.patch viafb-clean-up-viamodeh.patch viafb-remove-duplicated-mode-information.patch viafb-clean-up-duoview.patch viafb-clean-up-virtual-memory-handling.patch viafb-remove-unused-video-device-stuff.patch viafb-remove-lvds-initialization.patch viafb-another-small-cleanup-of-viafb_par.patch viafb-improve-viafb_par.patch drivers-video-console-newport_conc-fix-read-outside-array-bounds.patch drivers-video-add-kmalloc-null-tests.patch drivers-video-add-kmalloc-null-tests-fix.patch fb-fix-fb_pan_display-range-check.patch video-console-use-div_round_up.patch s3c2410fb-fix-clockrate-calculation.patch fb-do-not-ignore-fb_set_par-errors.patch intelfb-fix-setting-of-active-pipe-with-lvds-displays.patch v3-minixfs-add-missing-directory-type-checking.patch v3-minixfs-add-missing-directory-type-checking-checkpatch-fixes.patch jbdh-bitfields-should-be-unsigned.patch hfsplus-identify-journal-info-block-in-volume-header.patch hfsplus-fix-journal-detection.patch reiserfs-remove-proc-fs-reiserfs-version.patch reiserfs-dont-compile-procfso-at-all-if-no-support.patch time-add-function-to-convert-between-calendar-time-and-broken-down-time-for-universal-use.patch fatfs-use-common-time_to_tm-in-fat_time_unix2fat.patch doc-filesystems-remove-smount-program.patch doc-filesystems-more-mount-cleanups.patch documentation-update-stale-definition-of-file-nr-in-fstxt.patch includecheck-fix-documentation-cfag12864b-examplec.patch documentation-vm-gitignore-add-page-types.patch cgroups-make-unlock-sequence-in-cgroup_get_sb-consistent.patch cgroups-support-named-cgroups-hierarchies.patch cgroups-move-the-cgroup-debug-subsys-into-cgroupc-to-access-internal-state.patch cgroups-add-a-back-pointer-from-struct-cg_cgroup_link-to-struct-cgroup.patch cgroups-allow-cgroup-hierarchies-to-be-created-with-no-bound-subsystems.patch cgroups-revert-cgroups-fix-pid-namespace-bug.patch cgroups-add-a-read-only-procs-file-similar-to-tasks-that-shows-only-unique-tgids.patch cgroups-ensure-correct-concurrent-opening-reading-of-pidlists-across-pid-namespaces.patch cgroups-use-vmalloc-for-large-cgroups-pidlist-allocations.patch cgroups-change-css_set-freeing-mechanism-to-be-under-rcu.patch cgroups-let-ss-can_attach-and-ss-attach-do-whole-threadgroups-at-a-time.patch cgroups-let-ss-can_attach-and-ss-attach-do-whole-threadgroups-at-a-time-fix.patch cgroups-add-functionality-to-read-write-lock-clone_thread-forking-per-threadgroup.patch cgroups-add-functionality-to-read-write-lock-clone_thread-forking-per-threadgroup-fix.patch cgroups-add-ability-to-move-all-threads-in-a-process-to-a-new-cgroup-atomically.patch memcg-remove-the-overhead-associated-with-the-root-cgroup.patch memcg-remove-the-overhead-associated-with-the-root-cgroup-fix.patch memcg-remove-the-overhead-associated-with-the-root-cgroup-fix-2.patch memcg-add-comments-explaining-memory-barriers.patch memcg-add-comments-explaining-memory-barriers-checkpatch-fixes.patch memory-controller-soft-limit-documentation-v9.patch memory-controller-soft-limit-interface-v9.patch memory-controller-soft-limit-organize-cgroups-v9.patch memory-controller-soft-limit-organize-cgroups-v9-fix.patch memory-controller-soft-limit-refactor-reclaim-flags-v9.patch memory-controller-soft-limit-reclaim-on-contention-v9.patch memory-controller-soft-limit-reclaim-on-contention-v9-fix.patch memcg-improve-resource-counter-scalability.patch memcg-improve-resource-counter-scalability-checkpatch-fixes.patch memcg-improve-resource-counter-scalability-v5.patch memcg-show-swap-usage-in-stat-file.patch ptrace-__ptrace_detach-do-__wake_up_parent-if-we-reap-the-tracee.patch do_wait-wakeup-optimization-shift-security_task_wait-from-eligible_child-to-wait_consider_task.patch do_wait-wakeup-optimization-change-__wake_up_parent-to-use-filtered-wakeup.patch do_wait-wakeup-optimization-change-__wake_up_parent-to-use-filtered-wakeup-selinux_bprm_committed_creds-use-__wake_up_parent.patch do_wait-wakeup-optimization-child_wait_callback-check-__wnothread-case.patch do_wait-optimization-do-not-place-sub-threads-on-task_struct-children-list.patch wait_consider_task-kill-parent-argument.patch do_wait-fix-sys_waitid-specific-behaviour.patch wait_noreap_copyout-check-for-wo_info-=-null.patch signals-introduce-do_send_sig_info-helper.patch signals-send_sigio-use-do_send_sig_info-to-avoid-check_kill_permission.patch fcntl-add-f_etown_ex.patch signals-inline-__fatal_signal_pending.patch signals-tracehook_notify_jctl-change.patch signals-tracehook_notify_jctl-change-do_signal_stop-do-not-call-tracehook_notify_jctl-in-task_stopped-state.patch signals-introduce-tracehook_finish_jctl-helper.patch utrace-core.patch exec-make-do_coredump-more-resilient-to-recursive-crashes-v9.patch exec-make-do_coredump-more-resilient-to-recursive-crashes-v9-checkpatch-fixes.patch exec-let-do_coredump-limit-the-number-of-concurrent-dumps-to-pipes-v9.patch exec-let-do_coredump-limit-the-number-of-concurrent-dumps-to-pipes-v9-checkpatch-fixes.patch exec-allow-do_coredump-to-wait-for-user-space-pipe-readers-to-complete-v9.patch exec-fix-set_binfmt-vs-sys_delete_module-race.patch cpu_hotplug-dont-affect-current-tasks-affinity.patch elf-clean-up-fill_note_info.patch elf-clean-up-fill_note_info-fix.patch fdpic-ignore-the-loaders-pt_gnu_stack-when-calculating-the-stack-size.patch flat-use-is_err_value-helper-macro.patch dev-zero-avoid-repeated-access_ok-checks.patch fs-char_devc-remove-useless-loop.patch pc-fs-char_devc-remove-useless-loop-fix.patch cyclades-allow-overriding-isa-defaults-also-when-the-driver-is-built-in.patch mwave-fix-read-buffer-overflow.patch hpet-hpet-driver-periodic-timer-setup-bug-fixes.patch drivers-char-rio-rioctrlc-off-by-one-error-in-rioctrlc.patch maintainers-add-matt-mackall-and-herbert-xu-to-hardware-random-number-generator.patch sysctl-remove-struct-file-argument-of-proc_handler.patch fork-disable-clone_parent-for-init.patch pidns-deny-clone_parentclone_newpid-combination.patch linux-futexh-place-kernel-types-behind-__kernel__.patch edac-mpc85xx-add-p2020ds-support.patch edac-mpc85xx-add-mpc83xx-support.patch edac-fix-resource-size-calculation.patch edac-i3200-memory-controller-driver.patch edac-i3200-memory-controller-driver-fix-offset-of-reg-in-i3200_edac-module.patch edac-core-remove-completion-wait-for-complete-with-rcu_barrier.patch adfs-remove-redundant-test-on-unsigned.patch memstick-move-dev_dbg.patch aio-ifdef-fields-in-mm_struct.patch fs-romfs-correct-error-handling-code.patch drivers-vlynq-vlynqc-fix-resource-size-off-by-1-error.patch lzma-gzip-fix-potential-oops-when-input-data-is-truncated.patch include-linux-unaligned-lbe_byteshifth-fix-usage-for-compressed-kernels.patch lzo-add-support-for-lzo-compressed-kernels.patch lzo-arm-add-support-for-lzo-compressed-kernels.patch lzo-x86-add-support-for-lzo-compressed-kernels.patch lzo-add-lzo-compression-support-for-initramfs-and-old-style-initrd.patch task_struct-cleanup-move-binfmt-field-to-mm_struct.patch sound-core-pcm_timerc-use-lib-gcdc.patch net-netfilter-ipvs-ip_vs_wrrc-use-lib-gcdc.patch net-netfilter-ipvs-ip_vs_wrrc-use-lib-gcdc-fix.patch vfs-take-2add-set_page_dirty_notag.patch reiser4-vfs-add-super_operationssync_inodes-2.patch reiser4-export-remove_from_page_cache.patch reiser4-export-remove_from_page_cache-fix.patch reiser4-export-find_get_pages.patch reiser4.patch reiser4-adjust-to-the-new-aops.patch reiser4-adjust-to-the-new-aops-fixup.patch reiser4-remove-simple_prepare_write-usage.patch reiser4-remove-simple_prepare_write-usage-checkpatch-fixes.patch fs-symlink-write_begin-allocation-context-fix-reiser4-fix.patch reiser4-handling-error-returned-by-d_obtain_alias-fixup.patch reiser4-update-names-of-quota-methods.patch reiser4-use-set_page_dirty_notag.patch fs-reiser4-add-parenths-around-x-y.patch fs-reiser4-contextc-current_is_pdflush-got-removed.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 slab-leaks3-default-y.patch put_bh-debug.patch add-debugging-aid-for-memory-initialisation-problems.patch keep-track-of-network-interface-renaming.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 getblk-handle-2tb-devices.patch getblk-handle-2tb-devices-fix.patch undeprecate-pci_find_device.patch notify_change-callers-must-hold-i_mutex.patch ^ permalink raw reply [flat|nested] 13+ messages in thread
* [mmotm][BUG] free is bigger than presnet Re: mmotm 2009-08-27-16-51 uploaded 2009-08-27 23:55 mmotm 2009-08-27-16-51 uploaded akpm @ 2009-09-01 9:00 ` KAMEZAWA Hiroyuki 2009-09-01 9:33 ` Hugh Dickins 2009-09-01 9:39 ` Johannes Weiner 2009-09-01 9:07 ` [mmotm][BUG] lockdep warning block I/O (Was " KAMEZAWA Hiroyuki 1 sibling, 2 replies; 13+ messages in thread From: KAMEZAWA Hiroyuki @ 2009-09-01 9:00 UTC (permalink / raw) To: linux-kernel; +Cc: akpm, linux-mm@kvack.org On Thu, 27 Aug 2009 16:55:42 -0700 akpm@linux-foundation.org wrote: > The mm-of-the-moment snapshot 2009-08-27-16-51 has been uploaded to > > http://userweb.kernel.org/~akpm/mmotm/ > > and will soon be available at > > git://git.zen-sources.org/zen/mmotm.git > > It contains the following patches against 2.6.31-rc7: > I'm not digggin so much but /proc/meminfo corrupted. [kamezawa@bluextal cgroup]$ cat /proc/meminfo MemTotal: 24421124 kB MemFree: 38314388 kB Wow ;) On x86-64 8cpu box + 24G memory. (config is NUMA but the system itself is not NUMA.) At boot time and for a while, It seems to be no trouble. I used this. == malloc.c #include <stdio.h> #define MSIZE (1024 * 1024 * 8) int main(int argc, char *argv[]) { char **c; long size; int array_size, i; size = atoi(argv[1]); size *= 1024 * 1024; array_size = size/MSIZE + 1; c= malloc(sizeof(void *) * array_size); for (i = 0; i < array_size; i++) { c[i] = malloc(MSIZE); memset(c[i], 0, MSIZE); } while (1) { for (i = 0; i < array_size; i++) { memset(c[i], 0, MSIZE); sleep(2); } sleep(10); } return; } == # malloc 23000 # malloc 1000 and run hackbench 20. OOM Kill message says free exceeds present ;( == Sep 1 18:01:17 localhost kernel: [ 3012.503440] active_anon:5461242 inactive_anon:473226 isolated_anon:384 Sep 1 18:01:17 localhost kernel: [ 3012.503440] active_file:133 inactive_file:664 isolated_file:0 Sep 1 18:01:17 localhost kernel: [ 3012.503440] unevictable:0 dirty:0 writeback:73 unstable:0 buffer:283 Sep 1 18:01:17 localhost kernel: [ 3012.503440] free:9454041 slab_reclaimable:5144 slab_unreclaimable:10564 Sep 1 18:01:17 localhost kernel: [ 3012.503440] mapped:7019 shmem:0 pagetables:22572 bounce:0 Sep 1 18:01:17 localhost kernel: [ 3012.503440] Node 0 DMA free:15788kB min:12kB low:12kB high:16kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15016kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no Sep 1 18:01:17 localhost kernel: [ 3012.503440] lowmem_reserve[]: 0 2951 23909 23909 Sep 1 18:01:17 localhost kernel: [ 3012.503440] Node 0 DMA32 free:11729908kB min:2440kB low:3048kB high:3660kB active_anon:1866292kB inactive_anon:466548kB active_file:140kB inactive_file:1588kB unevictable:0kB isolated(anon):256kB isolated(file):0kB present:3022624kB mlocked:0kB dirty:0kB writeback:292kB mapped:8kB shmem:0kB slab_reclaimable:2724kB slab_unreclaimable:10124kB kernel_stack:4504kB pagetables:21536kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:227 all_unreclaimable? no Sep 1 18:01:17 localhost kernel: [ 3012.503440] lowmem_reserve[]: 0 0 20958 20958 Sep 1 18:01:17 localhost kernel: [ 3012.503440] Node 0 Normal free:26071392kB min:17340kB low:21672kB high:26008kB active_anon:19978676kB inactive_anon:1426356kB active_file:392kB inactive_file:1068kB unevictable:0kB isolated(anon):1280kB isolated(file):0kB present:21460992kB mlocked:0kB dirty:0kB writeback:0kB mapped:28068kB shmem:0kB slab_reclaimable:17852kB slab_unreclaimable:32132kB kernel_stack:3672kB pagetables:68752kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:3840 all_unreclaimable? no == I'll dig more but does anyone have hints ? Thanks, -Kame ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [mmotm][BUG] free is bigger than presnet Re: mmotm 2009-08-27-16-51 uploaded 2009-09-01 9:00 ` [mmotm][BUG] free is bigger than presnet " KAMEZAWA Hiroyuki @ 2009-09-01 9:33 ` Hugh Dickins 2009-09-01 9:50 ` KAMEZAWA Hiroyuki 2009-09-01 9:39 ` Johannes Weiner 1 sibling, 1 reply; 13+ messages in thread From: Hugh Dickins @ 2009-09-01 9:33 UTC (permalink / raw) To: KAMEZAWA Hiroyuki; +Cc: linux-kernel, akpm, linux-mm@kvack.org On Tue, 1 Sep 2009, KAMEZAWA Hiroyuki wrote: > > I'm not digggin so much but /proc/meminfo corrupted. > > [kamezawa@bluextal cgroup]$ cat /proc/meminfo > MemTotal: 24421124 kB > MemFree: 38314388 kB If that's without my fix to shrink_active_list(), I'd try again with. Hugh [PATCH mmotm] vmscan move pgdeactivate modification to shrink_active_list fix mmotm 2009-08-27-16-51 lets the OOM killer loose on my loads even quicker than last time: one bug fixed but another bug introduced. vmscan-move-pgdeactivate-modification-to-shrink_active_list.patch forgot to add NR_LRU_BASE to lru index to make zone_page_state index. Signed-off-by: Hugh Dickins <hugh.dickins@tiscali.co.uk> --- mm/vmscan.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) --- mmotm/mm/vmscan.c 2009-08-28 10:07:57.000000000 +0100 +++ linux/mm/vmscan.c 2009-08-28 18:30:33.000000000 +0100 @@ -1381,8 +1381,10 @@ static void shrink_active_list(unsigned reclaim_stat->recent_rotated[file] += nr_rotated; __count_vm_events(PGDEACTIVATE, nr_deactivated); __mod_zone_page_state(zone, NR_ISOLATED_ANON + file, -nr_taken); - __mod_zone_page_state(zone, LRU_ACTIVE + file * LRU_FILE, nr_rotated); - __mod_zone_page_state(zone, LRU_BASE + file * LRU_FILE, nr_deactivated); + __mod_zone_page_state(zone, NR_ACTIVE_ANON + file * LRU_FILE, + nr_rotated); + __mod_zone_page_state(zone, NR_INACTIVE_ANON + file * LRU_FILE, + nr_deactivated); spin_unlock_irq(&zone->lru_lock); } ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [mmotm][BUG] free is bigger than presnet Re: mmotm 2009-08-27-16-51 uploaded 2009-09-01 9:33 ` Hugh Dickins @ 2009-09-01 9:50 ` KAMEZAWA Hiroyuki 2009-09-01 10:10 ` KAMEZAWA Hiroyuki 0 siblings, 1 reply; 13+ messages in thread From: KAMEZAWA Hiroyuki @ 2009-09-01 9:50 UTC (permalink / raw) To: Hugh Dickins; +Cc: linux-kernel, akpm, linux-mm@kvack.org, hannes On Tue, 1 Sep 2009 10:33:31 +0100 (BST) Hugh Dickins <hugh.dickins@tiscali.co.uk> wrote: > On Tue, 1 Sep 2009, KAMEZAWA Hiroyuki wrote: > > > > I'm not digggin so much but /proc/meminfo corrupted. > > > > [kamezawa@bluextal cgroup]$ cat /proc/meminfo > > MemTotal: 24421124 kB > > MemFree: 38314388 kB > > If that's without my fix to shrink_active_list(), I'd try again with. > Hugh > Thank you very much. I missed this patch. It's fixed. Regards, -Kame > [PATCH mmotm] vmscan move pgdeactivate modification to shrink_active_list fix > > mmotm 2009-08-27-16-51 lets the OOM killer loose on my loads even > quicker than last time: one bug fixed but another bug introduced. > vmscan-move-pgdeactivate-modification-to-shrink_active_list.patch > forgot to add NR_LRU_BASE to lru index to make zone_page_state index. > > Signed-off-by: Hugh Dickins <hugh.dickins@tiscali.co.uk> > --- > > mm/vmscan.c | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > --- mmotm/mm/vmscan.c 2009-08-28 10:07:57.000000000 +0100 > +++ linux/mm/vmscan.c 2009-08-28 18:30:33.000000000 +0100 > @@ -1381,8 +1381,10 @@ static void shrink_active_list(unsigned > reclaim_stat->recent_rotated[file] += nr_rotated; > __count_vm_events(PGDEACTIVATE, nr_deactivated); > __mod_zone_page_state(zone, NR_ISOLATED_ANON + file, -nr_taken); > - __mod_zone_page_state(zone, LRU_ACTIVE + file * LRU_FILE, nr_rotated); > - __mod_zone_page_state(zone, LRU_BASE + file * LRU_FILE, nr_deactivated); > + __mod_zone_page_state(zone, NR_ACTIVE_ANON + file * LRU_FILE, > + nr_rotated); > + __mod_zone_page_state(zone, NR_INACTIVE_ANON + file * LRU_FILE, > + nr_deactivated); > spin_unlock_irq(&zone->lru_lock); > } > > ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [mmotm][BUG] free is bigger than presnet Re: mmotm 2009-08-27-16-51 uploaded 2009-09-01 9:50 ` KAMEZAWA Hiroyuki @ 2009-09-01 10:10 ` KAMEZAWA Hiroyuki 2009-09-01 11:00 ` Hugh Dickins 2009-09-02 0:08 ` KAMEZAWA Hiroyuki 0 siblings, 2 replies; 13+ messages in thread From: KAMEZAWA Hiroyuki @ 2009-09-01 10:10 UTC (permalink / raw) To: KAMEZAWA Hiroyuki Cc: Hugh Dickins, linux-kernel, akpm, linux-mm@kvack.org, hannes On Tue, 1 Sep 2009 18:50:13 +0900 KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> wrote: > On Tue, 1 Sep 2009 10:33:31 +0100 (BST) > Hugh Dickins <hugh.dickins@tiscali.co.uk> wrote: > > > On Tue, 1 Sep 2009, KAMEZAWA Hiroyuki wrote: > > > > > > I'm not digggin so much but /proc/meminfo corrupted. > > > > > > [kamezawa@bluextal cgroup]$ cat /proc/meminfo > > > MemTotal: 24421124 kB > > > MemFree: 38314388 kB > > > > If that's without my fix to shrink_active_list(), I'd try again with. > > Hugh > > > Thank you very much. I missed this patch. > It's fixed. Sorry again, at continuing tests...thre are still.. MemTotal: 24421124 kB MemFree: 25158956 kB Buffers: 2264 kB Cached: 34936 kB SwapCached: 5140 kB I wonder I miss something.. Thanks, -Kame ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [mmotm][BUG] free is bigger than presnet Re: mmotm 2009-08-27-16-51 uploaded 2009-09-01 10:10 ` KAMEZAWA Hiroyuki @ 2009-09-01 11:00 ` Hugh Dickins 2009-09-01 11:23 ` Hugh Dickins 2009-09-02 0:08 ` KAMEZAWA Hiroyuki 1 sibling, 1 reply; 13+ messages in thread From: Hugh Dickins @ 2009-09-01 11:00 UTC (permalink / raw) To: KAMEZAWA Hiroyuki; +Cc: linux-kernel, akpm, linux-mm@kvack.org, hannes On Tue, 1 Sep 2009, KAMEZAWA Hiroyuki wrote: > > Sorry again, at continuing tests...thre are still.. > > MemTotal: 24421124 kB > MemFree: 25158956 kB > Buffers: 2264 kB > Cached: 34936 kB > SwapCached: 5140 kB > > I wonder I miss something.. I've not been looking at /proc/meminfo: I'll do some stuff and see if it goes wrong for me too, will let you know if so. Hugh ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [mmotm][BUG] free is bigger than presnet Re: mmotm 2009-08-27-16-51 uploaded 2009-09-01 11:00 ` Hugh Dickins @ 2009-09-01 11:23 ` Hugh Dickins 2009-09-01 11:46 ` KAMEZAWA Hiroyuki 0 siblings, 1 reply; 13+ messages in thread From: Hugh Dickins @ 2009-09-01 11:23 UTC (permalink / raw) To: KAMEZAWA Hiroyuki; +Cc: linux-kernel, akpm, linux-mm@kvack.org, hannes On Tue, 1 Sep 2009, Hugh Dickins wrote: > On Tue, 1 Sep 2009, KAMEZAWA Hiroyuki wrote: > > > > Sorry again, at continuing tests...thre are still.. > > > > MemTotal: 24421124 kB > > MemFree: 25158956 kB > > Buffers: 2264 kB > > Cached: 34936 kB > > SwapCached: 5140 kB > > > > I wonder I miss something.. > > I've not been looking at /proc/meminfo: I'll do some stuff and see > if it goes wrong for me too, will let you know if so. Well, I've not yet noticed unbelievable MemFree, but my Active(anon) (and Active) is bigger than my MemTotal and rising each iteration. Probably not directly related to your case, and probably related to my tmpfs or loop use: but I'd better pursue the anomaly I can so easily reproduce, than worry about the anomaly you can reproduce. Good luck with yours! Hugh ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [mmotm][BUG] free is bigger than presnet Re: mmotm 2009-08-27-16-51 uploaded 2009-09-01 11:23 ` Hugh Dickins @ 2009-09-01 11:46 ` KAMEZAWA Hiroyuki 0 siblings, 0 replies; 13+ messages in thread From: KAMEZAWA Hiroyuki @ 2009-09-01 11:46 UTC (permalink / raw) To: Hugh Dickins Cc: KAMEZAWA Hiroyuki, linux-kernel, akpm, linux-mm@kvack.org, hannes Hugh Dickins wrote: > On Tue, 1 Sep 2009, Hugh Dickins wrote: >> On Tue, 1 Sep 2009, KAMEZAWA Hiroyuki wrote: >> > >> > Sorry again, at continuing tests...thre are still.. >> > >> > MemTotal: 24421124 kB >> > MemFree: 25158956 kB >> > Buffers: 2264 kB >> > Cached: 34936 kB >> > SwapCached: 5140 kB >> > >> > I wonder I miss something.. >> >> I've not been looking at /proc/meminfo: I'll do some stuff and see >> if it goes wrong for me too, will let you know if so. > > Well, I've not yet noticed unbelievable MemFree, but my Active(anon) > (and Active) is bigger than my MemTotal and rising each iteration. > > Probably not directly related to your case, and probably related to > my tmpfs or loop use: but I'd better pursue the anomaly I can so > easily reproduce, than worry about the anomaly you can reproduce. > I'll dig more. (After dinner, I doubt myself ;) > Good luck with yours! you too. -Kame ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [mmotm][BUG] free is bigger than presnet Re: mmotm 2009-08-27-16-51 uploaded 2009-09-01 10:10 ` KAMEZAWA Hiroyuki 2009-09-01 11:00 ` Hugh Dickins @ 2009-09-02 0:08 ` KAMEZAWA Hiroyuki 1 sibling, 0 replies; 13+ messages in thread From: KAMEZAWA Hiroyuki @ 2009-09-02 0:08 UTC (permalink / raw) To: KAMEZAWA Hiroyuki Cc: Hugh Dickins, linux-kernel, akpm, linux-mm@kvack.org, hannes On Tue, 1 Sep 2009 19:10:18 +0900 KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> wrote: > On Tue, 1 Sep 2009 18:50:13 +0900 > KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> wrote: > > > On Tue, 1 Sep 2009 10:33:31 +0100 (BST) > > Hugh Dickins <hugh.dickins@tiscali.co.uk> wrote: > > > > > On Tue, 1 Sep 2009, KAMEZAWA Hiroyuki wrote: > > > > > > > > I'm not digggin so much but /proc/meminfo corrupted. > > > > > > > > [kamezawa@bluextal cgroup]$ cat /proc/meminfo > > > > MemTotal: 24421124 kB > > > > MemFree: 38314388 kB > > > > > > If that's without my fix to shrink_active_list(), I'd try again with. > > > Hugh > > > > > Thank you very much. I missed this patch. > > It's fixed. > > Sorry again, at continuing tests...thre are still.. > > MemTotal: 24421124 kB > MemFree: 25158956 kB > Buffers: 2264 kB > Cached: 34936 kB > SwapCached: 5140 kB > > I wonder I miss something.. > My mistake, sorry. Thanks, -Kame > Thanks, > -Kame > > ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [mmotm][BUG] free is bigger than presnet Re: mmotm 2009-08-27-16-51 uploaded 2009-09-01 9:00 ` [mmotm][BUG] free is bigger than presnet " KAMEZAWA Hiroyuki 2009-09-01 9:33 ` Hugh Dickins @ 2009-09-01 9:39 ` Johannes Weiner 1 sibling, 0 replies; 13+ messages in thread From: Johannes Weiner @ 2009-09-01 9:39 UTC (permalink / raw) To: KAMEZAWA Hiroyuki; +Cc: linux-kernel, akpm, linux-mm@kvack.org On Tue, Sep 01, 2009 at 06:00:32PM +0900, KAMEZAWA Hiroyuki wrote: > On Thu, 27 Aug 2009 16:55:42 -0700 > akpm@linux-foundation.org wrote: > > > The mm-of-the-moment snapshot 2009-08-27-16-51 has been uploaded to > > > > http://userweb.kernel.org/~akpm/mmotm/ > > > > and will soon be available at > > > > git://git.zen-sources.org/zen/mmotm.git > > > > It contains the following patches against 2.6.31-rc7: > > > > I'm not digggin so much but /proc/meminfo corrupted. > > [kamezawa@bluextal cgroup]$ cat /proc/meminfo > MemTotal: 24421124 kB > MemFree: 38314388 kB The bug is that every anon deactivation increases the 'free pages' counter. This should fix it: http://marc.info/?l=linux-kernel&m=125148840818965&w=2 Hannes ^ permalink raw reply [flat|nested] 13+ messages in thread
* [mmotm][BUG] lockdep warning block I/O (Was Re: mmotm 2009-08-27-16-51 uploaded 2009-08-27 23:55 mmotm 2009-08-27-16-51 uploaded akpm 2009-09-01 9:00 ` [mmotm][BUG] free is bigger than presnet " KAMEZAWA Hiroyuki @ 2009-09-01 9:07 ` KAMEZAWA Hiroyuki 2009-09-03 21:28 ` Andrew Morton 1 sibling, 1 reply; 13+ messages in thread From: KAMEZAWA Hiroyuki @ 2009-09-01 9:07 UTC (permalink / raw) To: linux-kernel; +Cc: akpm, jens.axboe Here is mmont-Aug27's lockdep wanring. This was printed out when oom-kill happens. I'm sorry if already fixed. = Sep 1 18:01:16 localhost kernel: [ 3012.503035] ====================================================== Sep 1 18:01:16 localhost kernel: [ 3012.503039] [ INFO: SOFTIRQ-safe -> SOFTIRQ-unsafe lock order detected ] Sep 1 18:01:16 localhost kernel: [ 3012.503042] 2.6.31-rc7-mm1 #3 Sep 1 18:01:16 localhost kernel: [ 3012.503049] ------------------------------------------------------ Sep 1 18:01:16 localhost kernel: [ 3012.503052] kblockd/7/350 [HC0[0]:SC0[0]:HE0:SE1] is trying to acquire: Sep 1 18:01:16 localhost kernel: [ 3012.503058] (bdev_lock){+.+...}, at: [<ffffffff811458c7>] nr_blockdev_pages+0x1 7/0x80 Sep 1 18:01:16 localhost kernel: [ 3012.503069] Sep 1 18:01:16 localhost kernel: [ 3012.503070] and this task is already holding: Sep 1 18:01:16 localhost kernel: [ 3012.503075] (&q->__queue_lock){..-.-.}, at: [<ffffffff811e9ff8>] cfq_kick_queue +0x28/0x50 Sep 1 18:01:16 localhost kernel: [ 3012.503083] which would create a new lock dependency: Sep 1 18:01:16 localhost kernel: [ 3012.503087] (&q->__queue_lock){..-.-.} -> (bdev_lock){+.+...} Sep 1 18:01:16 localhost kernel: [ 3012.503100] Sep 1 18:01:16 localhost kernel: [ 3012.503102] but this new dependency connects a SOFTIRQ-irq-safe lock: Sep 1 18:01:16 localhost kernel: [ 3012.503107] (&q->__queue_lock){..-.-.} Sep 1 18:01:16 localhost kernel: [ 3012.503110] ... which became SOFTIRQ-irq-safe at: Sep 1 18:01:16 localhost kernel: [ 3012.503116] [<ffffffff81079d36>] __lock_acquire+0x876/0x1ee0 Sep 1 18:01:16 localhost kernel: [ 3012.503123] [<ffffffff8107b47e>] lock_acquire+0xde/0x110 Sep 1 18:01:16 localhost kernel: [ 3012.503128] [<ffffffff813e6901>] _spin_lock+0x31/0x70 Sep 1 18:01:16 localhost kernel: [ 3012.503133] [<ffffffffa006d7ed>] scsi_device_unbusy+0xad/0xe0 [scsi_mod] Sep 1 18:01:16 localhost kernel: [ 3012.503147] [<ffffffffa0065a54>] scsi_finish_command+0x34/0x130 [scsi_mod] Sep 1 18:01:16 localhost kernel: [ 3012.503159] [<ffffffffa006e025>] scsi_softirq_done+0x165/0x190 [scsi_mod] Sep 1 18:01:16 localhost kernel: [ 3012.503168] [<ffffffff811e24fd>] blk_done_softirq+0x7d/0x90 Sep 1 18:01:16 localhost kernel: [ 3012.503175] [<ffffffff81051a9a>] __do_softirq+0xfa/0x1e0 Sep 1 18:01:16 localhost kernel: [ 3012.503185] [<ffffffff8100d09c>] call_softirq+0x1c/0x50 Sep 1 18:01:16 localhost kernel: [ 3012.503193] [<ffffffff8100e84d>] do_softirq+0x7d/0xc0 Sep 1 18:01:16 localhost kernel: [ 3012.503199] [<ffffffff810510ad>] irq_exit+0x4d/0x60 Sep 1 18:01:16 localhost kernel: [ 3012.503204] [<ffffffff8100dda3>] do_IRQ+0x73/0xf0 Sep 1 18:01:16 localhost kernel: [ 3012.503210] [<ffffffff8100c893>] ret_from_intr+0x0/0xf Sep 1 18:01:16 localhost kernel: [ 3012.503218] Sep 1 18:01:16 localhost kernel: [ 3012.503219] to a SOFTIRQ-irq-unsafe lock: Sep 1 18:01:16 localhost kernel: [ 3012.503223] (bdev_lock){+.+...} Sep 1 18:01:16 localhost kernel: [ 3012.503228] ... which became SOFTIRQ-irq-unsafe at: Sep 1 18:01:16 localhost kernel: [ 3012.503232] ... [<ffffffff81079dc4>] __lock_acquire+0x904/0x1ee0 Sep 1 18:01:16 localhost kernel: [ 3012.503242] [<ffffffff8107b47e>] lock_acquire+0xde/0x110 Sep 1 18:01:16 localhost kernel: [ 3012.503249] [<ffffffff813e6901>] _spin_lock+0x31/0x70 Sep 1 18:01:16 localhost kernel: [ 3012.503255] [<ffffffff811458c7>] nr_blockdev_pages+0x17/0x80 Sep 1 18:01:16 localhost kernel: [ 3012.503261] [<ffffffff810d2148>] si_meminfo+0x38/0x60 Sep 1 18:01:16 localhost kernel: [ 3012.503271] [<ffffffff81a26185>] eventpoll_init+0x11/0xfb Sep 1 18:01:16 localhost kernel: [ 3012.503281] [<ffffffff81009048>] do_one_initcall+0x38/0x190 Sep 1 18:01:16 localhost kernel: [ 3012.503287] [<ffffffff81a05fcd>] kernel_init+0x18a/0x1e2 Sep 1 18:01:16 localhost kernel: [ 3012.503295] [<ffffffff8100cf9a>] child_rip+0xa/0x20 Sep 1 18:01:16 localhost kernel: [ 3012.503301] Sep 1 18:01:16 localhost kernel: [ 3012.503302] other info that might help us debug this: Sep 1 18:01:16 localhost kernel: [ 3012.503305] Sep 1 18:01:16 localhost kernel: [ 3012.503309] 3 locks held by kblockd/7/350: Sep 1 18:01:16 localhost kernel: [ 3012.503313] #0: (kblockd){+.+...}, at: [<ffffffff8105fedd>] worker_thread+0x1e d/0x390 Sep 1 18:01:16 localhost kernel: [ 3012.503326] #1: (&cfqd->unplug_work){+.+...}, at: [<ffffffff8105fedd>] worker_ thread+0x1ed/0x390 Sep 1 18:01:16 localhost kernel: [ 3012.503343] #2: (&q->__queue_lock){..-.-.}, at: [<ffffffff811e9ff8>] cfq_kick_ queue+0x28/0x50 Sep 1 18:01:16 localhost kernel: [ 3012.503353] Sep 1 18:01:16 localhost kernel: [ 3012.503354] the dependencies between SOFTIRQ-irq-safe lock and the holding lock: Sep 1 18:01:16 localhost kernel: [ 3012.503367] -> (&q->__queue_lock){..-.-.} ops: 13498517 { Sep 1 18:01:16 localhost kernel: [ 3012.503376] IN-SOFTIRQ-W at: Sep 1 18:01:16 localhost kernel: [ 3012.503381] [<ffffffff81079d36>] __lock_a cquire+0x876/0x1ee0 Sep 1 18:01:16 localhost kernel: [ 3012.503387] [<ffffffff8107b47e>] lock_acq uire+0xde/0x110 Sep 1 18:01:16 localhost kernel: [ 3012.503394] [<ffffffff813e6901>] _spin_lo ck+0x31/0x70 Sep 1 18:01:16 localhost kernel: [ 3012.503401] [<ffffffffa006d7ed>] scsi_dev ice_unbusy+0xad/0xe0 [scsi_mod] Sep 1 18:01:16 localhost kernel: [ 3012.503415] [<ffffffffa0065a54>] scsi_fin ish_command+0x34/0x130 [scsi_mod] Sep 1 18:01:16 localhost kernel: [ 3012.503428] [<ffffffffa006e025>] scsi_sof tirq_done+0x165/0x190 [scsi_mod] Sep 1 18:01:16 localhost kernel: [ 3012.503440] [<ffffffff811e24fd>] blk_done _softirq+0x7d/0x90 Sep 1 18:01:16 localhost kernel: [ 3012.503440] [<ffffffff81051a9a>] __do_sof tirq+0xfa/0x1e0 Sep 1 18:01:16 localhost kernel: [ 3012.503440] [<ffffffff8100d09c>] call_sof tirq+0x1c/0x50 Sep 1 18:01:16 localhost kernel: [ 3012.503440] [<ffffffff8100e84d>] do_softi rq+0x7d/0xc0 Sep 1 18:01:16 localhost kernel: [ 3012.503440] [<ffffffff810510ad>] irq_exit +0x4d/0x60 Sep 1 18:01:16 localhost kernel: [ 3012.503440] [<ffffffff8100dda3>] do_IRQ+0 x73/0xf0 Sep 1 18:01:16 localhost kernel: [ 3012.503440] [<ffffffff8100c893>] ret_from _intr+0x0/0xf Sep 1 18:01:16 localhost kernel: [ 3012.503440] IN-RECLAIM_FS-W at: Sep 1 18:01:16 localhost kernel: [ 3012.503440] [<ffffffff81079a2d>] __loc k_acquire+0x56d/0x1ee0 Sep 1 18:01:16 localhost kernel: [ 3012.503440] [<ffffffff8107b47e>] lock_ acquire+0xde/0x110 Sep 1 18:01:16 localhost kernel: [ 3012.503440] [<ffffffff813e69e8>] _spin _lock_irq+0x38/0x70 Sep 1 18:01:16 localhost kernel: [ 3012.503440] [<ffffffff811dce44>] __mak e_request+0x64/0x490 Sep 1 18:01:16 localhost kernel: [ 3012.503440] [<ffffffff811daf94>] gener ic_make_request+0x344/0x440 Sep 1 18:01:16 localhost kernel: [ 3012.503440] [<ffffffff811db0f0>] submi t_bio+0x60/0xe0 Sep 1 18:01:16 localhost kernel: [ 3012.503440] [<ffffffff810f900d>] swap_ writepage+0x8d/0xd0 Sep 1 18:01:16 localhost kernel: [ 3012.503440] [<ffffffff810da8c8>] shrin k_page_list+0x728/0x8c0 Sep 1 18:01:16 localhost kernel: [ 3012.503440] [<ffffffff810db557>] shrin k_zone+0x6f7/0xda0 Sep 1 18:01:16 localhost kernel: [ 3012.503440] [<ffffffff810dbcab>] mem_c group_shrink_node_zone+0xab/0xc0 Sep 1 18:01:16 localhost kernel: [ 3012.503440] [<ffffffff8111138e>] mem_c group_hierarchical_reclaim+0x27e/0x380 Sep 1 18:01:16 localhost kernel: [ 3012.503440] [<ffffffff81112a32>] mem_c group_soft_limit_reclaim+0x82/0x230 Sep 1 18:01:16 localhost kernel: [ 3012.503440] [<ffffffff810dc7b3>] kswap d+0x5a3/0x840 Sep 1 18:01:16 localhost kernel: [ 3012.503440] [<ffffffff81064fc6>] kthre ad+0x96/0xb0 Sep 1 18:01:16 localhost kernel: [ 3012.503440] [<ffffffff8100cf9a>] child _rip+0xa/0x20 Sep 1 18:01:16 localhost kernel: [ 3012.503440] INITIAL USE at: Sep 1 18:01:16 localhost kernel: [ 3012.503440] [<ffffffff810796c0>] __lock_ac quire+0x200/0x1ee0 Sep 1 18:01:16 localhost kernel: [ 3012.503440] [<ffffffff8107b47e>] lock_acqu ire+0xde/0x110 Sep 1 18:01:16 localhost kernel: [ 3012.503440] [<ffffffff813e6a64>] _spin_loc k_irqsave+0x44/0x90 Sep 1 18:01:16 localhost kernel: [ 3012.503440] [<ffffffffa0065838>] scsi_adju st_queue_depth+0x38/0x150 [scsi_mod] Sep 1 18:01:16 localhost kernel: [ 3012.503440] [<ffffffffa006f13f>] scsi_allo c_sdev+0x1cf/0x270 [scsi_mod] Sep 1 18:01:16 localhost kernel: [ 3012.503440] [<ffffffffa006fec3>] scsi_prob e_and_add_lun+0xa93/0xf10 [scsi_mod] Sep 1 18:01:16 localhost kernel: [ 3012.503440] [<ffffffffa00706b7>] __scsi_sc an_target+0xe7/0x750 [scsi_mod] Sep 1 18:01:16 localhost kernel: [ 3012.503440] [<ffffffffa0070d7e>] scsi_scan _channel+0x5e/0xa0 [scsi_mod] Sep 1 18:01:16 localhost kernel: [ 3012.503440] [<ffffffffa0070ea7>] scsi_scan _host_selected+0xe7/0x1a0 [scsi_mod] Sep 1 18:01:16 localhost kernel: [ 3012.503440] [<ffffffffa0070fde>] do_scsi_s can_host+0x7e/0x80 [scsi_mod] Sep 1 18:01:16 localhost kernel: [ 3012.503440] [<ffffffffa0071370>] scsi_scan _host+0x1e0/0x230 [scsi_mod] Sep 1 18:01:16 localhost kernel: [ 3012.503440] [<ffffffffa00ab563>] megasas_p robe_one+0xd93/0x12b6 [megaraid_sas] Sep 1 18:01:16 localhost kernel: [ 3012.503440] [<ffffffff81209b32>] local_pci _probe+0x12/0x20 Sep 1 18:01:16 localhost kernel: [ 3012.503440] [<ffffffff8120a611>] pci_devic e_probe+0x121/0x130 Sep 1 18:01:16 localhost kernel: [ 3012.503440] [<ffffffff8129dc85>] driver_pr obe_device+0x95/0x1a0 Sep 1 18:01:16 localhost kernel: [ 3012.503440] [<ffffffff8129de23>] __driver_ attach+0x93/0xa0 Sep 1 18:01:16 localhost kernel: [ 3012.503440] [<ffffffff8129d36b>] bus_for_e ach_dev+0x6b/0xa0 Sep 1 18:01:16 localhost kernel: [ 3012.503440] [<ffffffff8129dadc>] driver_at tach+0x1c/0x20 Sep 1 18:01:16 localhost kernel: [ 3012.503440] [<ffffffff8129cc08>] bus_add_d river+0x248/0x2b0 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff8129e12c>] driver_re gister+0x7c/0x170 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff8120aaaa>] __pci_reg ister_driver+0x6a/0xf0 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffffa00b407e>] 0xfffffff fa00b407e Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff81009048>] do_one_in itcall+0x38/0x190 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff81089c34>] sys_init_ module+0xe4/0x240 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff8100be6b>] system_ca ll_fastpath+0x16/0x1b Sep 1 18:01:17 localhost kernel: [ 3012.503440] } Sep 1 18:01:17 localhost kernel: [ 3012.503440] ... key at: [<ffffffff827b4ad8>] __key.35246+0x0/0x8 Sep 1 18:01:17 localhost kernel: [ 3012.503440] ... acquired at: Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff81079424>] check_irq_usage+0x64/0x100 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff8107a6f9>] __lock_acquire+0x1239/0x1ee0 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff8107b47e>] lock_acquire+0xde/0x110 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff813e6901>] _spin_lock+0x31/0x70 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff811458c7>] nr_blockdev_pages+0x17/0x80 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff810d2202>] show_free_areas+0x92/0x7d0 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff811f43c4>] show_mem+0x24/0x210 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff810d4631>] __alloc_pages_nodemask+0x301/0x710 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff81103ae7>] alloc_pages_current+0x87/0xd0 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff81108ffe>] new_slab+0x2fe/0x310 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff811091d0>] __slab_alloc+0x1c0/0x500 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff81109896>] kmem_cache_alloc+0x156/0x160 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffffa006636c>] scsi_pool_alloc_command+0x2c/0x80 [scsi_mod] Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffffa006674c>] __scsi_get_command+0x1c/0xb0 [scsi_mod] Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffffa0066821>] scsi_get_command+0x41/0xc0 [scsi_mod] Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffffa006d4cd>] scsi_setup_fs_cmnd+0x9d/0x100 [scsi_mod] Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffffa009d258>] sd_prep_fn+0x88/0xa40 [sd_mod] Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff811db7eb>] blk_peek_request+0x10b/0x200 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffffa006c86a>] scsi_request_fn+0x6a/0x5b0 [scsi_mod] Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff811dc180>] __blk_run_queue+0x70/0x150 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff811ea004>] cfq_kick_queue+0x34/0x50 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff8105ff33>] worker_thread+0x243/0x390 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff81064fc6>] kthread+0x96/0xb0 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff8100cf9a>] child_rip+0xa/0x20 Sep 1 18:01:17 localhost kernel: [ 3012.503440] Sep 1 18:01:17 localhost kernel: [ 3012.503440] Sep 1 18:01:17 localhost kernel: [ 3012.503440] the dependencies between the lock to be acquired and SOFTIRQ-irq-uns afe lock: Sep 1 18:01:17 localhost kernel: [ 3012.503440] -> (bdev_lock){+.+...} ops: 1248 { Sep 1 18:01:17 localhost kernel: [ 3012.503440] HARDIRQ-ON-W at: Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff81079d92>] __lock_a cquire+0x8d2/0x1ee0 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff8107b47e>] lock_acq uire+0xde/0x110 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff813e6901>] _spin_lo ck+0x31/0x70 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff811458c7>] nr_block dev_pages+0x17/0x80 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff810d2148>] si_memin fo+0x38/0x60 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff81a26185>] eventpol l_init+0x11/0xfb Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff81009048>] do_one_i nitcall+0x38/0x190 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff81a05fcd>] kernel_i nit+0x18a/0x1e2 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff8100cf9a>] child_ri p+0xa/0x20 Sep 1 18:01:17 localhost kernel: [ 3012.503440] SOFTIRQ-ON-W at: Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff81079dc4>] __lock_a cquire+0x904/0x1ee0 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff8107b47e>] lock_acq uire+0xde/0x110 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff813e6901>] _spin_lo ck+0x31/0x70 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff811458c7>] nr_block dev_pages+0x17/0x80 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff810d2148>] si_memin fo+0x38/0x60 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff81a26185>] eventpol l_init+0x11/0xfb Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff81009048>] do_one_i nitcall+0x38/0x190 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff81a05fcd>] kernel_i nit+0x18a/0x1e2 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff8100cf9a>] child_ri p+0xa/0x20 Sep 1 18:01:17 localhost kernel: [ 3012.503440] INITIAL USE at: Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff810796c0>] __lock_ac quire+0x200/0x1ee0 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff8107b47e>] lock_acqu ire+0xde/0x110 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff813e6901>] _spin_loc k+0x31/0x70 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff811458c7>] nr_blockd ev_pages+0x17/0x80 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff810d2148>] si_meminf o+0x38/0x60 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff81a26185>] eventpoll _init+0x11/0xfb Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff81009048>] do_one_in itcall+0x38/0x190 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff81a05fcd>] kernel_in it+0x18a/0x1e2 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff8100cf9a>] child_rip +0xa/0x20 Sep 1 18:01:17 localhost kernel: [ 3012.503440] } Sep 1 18:01:17 localhost kernel: [ 3012.503440] ... key at: [<ffffffff81754058>] bdev_lock+0x18/0x40 Sep 1 18:01:17 localhost kernel: [ 3012.503440] ... acquired at: Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff81079424>] check_irq_usage+0x64/0x100 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff8107a6f9>] __lock_acquire+0x1239/0x1ee0 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff8107b47e>] lock_acquire+0xde/0x110 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff813e6901>] _spin_lock+0x31/0x70 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff811458c7>] nr_blockdev_pages+0x17/0x80 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff810d2202>] show_free_areas+0x92/0x7d0 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff811f43c4>] show_mem+0x24/0x210 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff810d4631>] __alloc_pages_nodemask+0x301/0x710 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff81103ae7>] alloc_pages_current+0x87/0xd0 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff81108ffe>] new_slab+0x2fe/0x310 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff811091d0>] __slab_alloc+0x1c0/0x500 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff81109896>] kmem_cache_alloc+0x156/0x160 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffffa006636c>] scsi_pool_alloc_command+0x2c/0x80 [scsi_mod] Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffffa00663e2>] scsi_host_alloc_command+0x22/0x80 [scsi_mod] Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffffa006674c>] __scsi_get_command+0x1c/0xb0 [scsi_mod] Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffffa0066821>] scsi_get_command+0x41/0xc0 [scsi_mod] Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffffa006d4cd>] scsi_setup_fs_cmnd+0x9d/0x100 [scsi_mod] Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffffa009d258>] sd_prep_fn+0x88/0xa40 [sd_mod] Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff811db7eb>] blk_peek_request+0x10b/0x200 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffffa006c86a>] scsi_request_fn+0x6a/0x5b0 [scsi_mod] Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff811dc180>] __blk_run_queue+0x70/0x150 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff811ea004>] cfq_kick_queue+0x34/0x50 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff8105ff33>] worker_thread+0x243/0x390 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff81064fc6>] kthread+0x96/0xb0 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff8100cf9a>] child_rip+0xa/0x20 Sep 1 18:01:17 localhost kernel: [ 3012.503440] Sep 1 18:01:17 localhost kernel: [ 3012.503440] Sep 1 18:01:17 localhost kernel: [ 3012.503440] stack backtrace: Sep 1 18:01:17 localhost kernel: [ 3012.503440] Pid: 350, comm: kblockd/7 Not tainted 2.6.31-rc7-mm1 #3 Sep 1 18:01:17 localhost kernel: [ 3012.503440] Call Trace: Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff810792f4>] check_usage+0x4c4/0x590 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff811f5321>] ? put_dec+0x101/0x110 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff81079424>] check_irq_usage+0x64/0x100 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff8107a6f9>] __lock_acquire+0x1239/0x1ee0 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff81069c29>] ? up+0x19/0x50 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff8107622d>] ? trace_hardirqs_off+0xd/0x10 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff8107b47e>] lock_acquire+0xde/0x110 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff811458c7>] ? nr_blockdev_pages+0x17/0x80 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff813e6901>] _spin_lock+0x31/0x70 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff811458c7>] ? nr_blockdev_pages+0x17/0x80 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff811458c7>] nr_blockdev_pages+0x17/0x80 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff810d2202>] show_free_areas+0x92/0x7d0 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff81069c29>] ? up+0x19/0x50 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff8107622d>] ? trace_hardirqs_off+0xd/0x10 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff813e6728>] ? _spin_unlock_irqrestore+0x58/0x60 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff8104ac45>] ? release_console_sem+0x1f5/0x240 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff8100f016>] ? dump_trace+0x116/0x2d0 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff813e2e0f>] ? printk+0x3c/0x45 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff811f43c4>] show_mem+0x24/0x210 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff8100fea0>] ? show_trace+0x10/0x20 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff813e2c85>] ? dump_stack+0x72/0x7b Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff810d4631>] __alloc_pages_nodemask+0x301/0x710 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff81108eed>] ? new_slab+0x1ed/0x310 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff810798f1>] ? __lock_acquire+0x431/0x1ee0 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff81103ae7>] alloc_pages_current+0x87/0xd0 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff81108ffe>] new_slab+0x2fe/0x310 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff811091d0>] __slab_alloc+0x1c0/0x500 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffffa006636c>] ? scsi_pool_alloc_command+0x2c/0x80 [scsi_mod] Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffffa006636c>] ? scsi_pool_alloc_command+0x2c/0x80 [scsi_mod] Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff81109896>] kmem_cache_alloc+0x156/0x160 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffffa006636c>] scsi_pool_alloc_command+0x2c/0x80 [scsi_mod] Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffffa00663e2>] scsi_host_alloc_command+0x22/0x80 [scsi_mod] Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffffa006674c>] __scsi_get_command+0x1c/0xb0 [scsi_mod] Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffffa0066821>] scsi_get_command+0x41/0xc0 [scsi_mod] Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffffa006d4cd>] scsi_setup_fs_cmnd+0x9d/0x100 [scsi_mod] Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffffa009d258>] sd_prep_fn+0x88/0xa40 [sd_mod] Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff811eb31c>] ? cfq_dispatch_insert+0x4c/0x70 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff811eb90b>] ? cfq_dispatch_requests+0x16b/0x470 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff811db7eb>] blk_peek_request+0x10b/0x200 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffffa006c86a>] scsi_request_fn+0x6a/0x5b0 [scsi_mod] Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff811e9fd0>] ? cfq_kick_queue+0x0/0x50 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff811dc180>] __blk_run_queue+0x70/0x150 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff811ea004>] cfq_kick_queue+0x34/0x50 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff8105ff33>] worker_thread+0x243/0x390 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff8105fedd>] ? worker_thread+0x1ed/0x390 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff813e37bc>] ? thread_return+0x3e/0x7a2 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff810653f0>] ? autoremove_wake_function+0x0/0x40 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff8105fcf0>] ? worker_thread+0x0/0x390 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff81064fc6>] kthread+0x96/0xb0 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff8100cf9a>] child_rip+0xa/0x20 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff8100c93c>] ? restore_args+0x0/0x30 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff81064f30>] ? kthread+0x0/0xb0 Sep 1 18:01:17 localhost kernel: [ 3012.503440] [<ffffffff8100cf90>] ? child_rip+0x0/0x20 ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [mmotm][BUG] lockdep warning block I/O (Was Re: mmotm 2009-08-27-16-51 uploaded 2009-09-01 9:07 ` [mmotm][BUG] lockdep warning block I/O (Was " KAMEZAWA Hiroyuki @ 2009-09-03 21:28 ` Andrew Morton 2009-09-04 4:21 ` KAMEZAWA Hiroyuki 0 siblings, 1 reply; 13+ messages in thread From: Andrew Morton @ 2009-09-03 21:28 UTC (permalink / raw) To: KAMEZAWA Hiroyuki; +Cc: linux-kernel, jens.axboe, linux-mm, Mel Gorman On Tue, 1 Sep 2009 18:07:17 +0900 KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> wrote: > > Here is mmont-Aug27's lockdep wanring. This was printed out when oom-kill happens. > I'm sorry if already fixed. My life's project is to hunt down the guy who invented mail client wordwrapping, set him on fire then dance on his ashes. > = > Sep 1 18:01:16 localhost kernel: [ 3012.503035] ====================================================== > Sep 1 18:01:16 localhost kernel: [ 3012.503039] [ INFO: SOFTIRQ-safe -> SOFTIRQ-unsafe lock order detected ] > Sep 1 18:01:16 localhost kernel: [ 3012.503042] 2.6.31-rc7-mm1 #3 > Sep 1 18:01:16 localhost kernel: [ 3012.503049] ------------------------------------------------------ > Sep 1 18:01:16 localhost kernel: [ 3012.503052] kblockd/7/350 [HC0[0]:SC0[0]:HE0:SE1] is trying to acquire: > Sep 1 18:01:16 localhost kernel: [ 3012.503058] (bdev_lock){+.+...}, at: [<ffffffff811458c7>] nr_blockdev_pages+0x1 > 7/0x80 > Sep 1 18:01:16 localhost kernel: [ 3012.503069] > Sep 1 18:01:16 localhost kernel: [ 3012.503070] and this task is already holding: > Sep 1 18:01:16 localhost kernel: [ 3012.503075] (&q->__queue_lock){..-.-.}, at: [<ffffffff811e9ff8>] cfq_kick_queue > +0x28/0x50 > Sep 1 18:01:16 localhost kernel: [ 3012.503083] which would create a new lock dependency: > Sep 1 18:01:16 localhost kernel: [ 3012.503087] (&q->__queue_lock){..-.-.} -> (bdev_lock){+.+...} > Sep 1 18:01:16 localhost kernel: [ 3012.503100] I'd say the core problem here is that __alloc_pages_slowpath() is calling show_mem(). Because show_mem() is a "high level" function which takes "high level" locks. ie: bdev_lock. It's inappropriate that alloc_pages() is assuming that it is safe to call show_mem() from all contexts in which alloc_pages() might be called. That show_mem() call has been there since 2005, so I don't know what caused this to be revealed now. It's not at all a serious bug and the chances of us deadlocking the kernel here are close to zero. An appropriate fix would be to replace that show_mem() call with something which can be safely called from all contexts in which the page allocator can be called. ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [mmotm][BUG] lockdep warning block I/O (Was Re: mmotm 2009-08-27-16-51 uploaded 2009-09-03 21:28 ` Andrew Morton @ 2009-09-04 4:21 ` KAMEZAWA Hiroyuki 0 siblings, 0 replies; 13+ messages in thread From: KAMEZAWA Hiroyuki @ 2009-09-04 4:21 UTC (permalink / raw) To: Andrew Morton; +Cc: linux-kernel, jens.axboe, linux-mm, Mel Gorman On Thu, 3 Sep 2009 14:28:36 -0700 Andrew Morton <akpm@linux-foundation.org> wrote: > On Tue, 1 Sep 2009 18:07:17 +0900 > KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> wrote: > > > > > Here is mmont-Aug27's lockdep wanring. This was printed out when oom-kill happens. > > I'm sorry if already fixed. > > My life's project is to hunt down the guy who invented mail client > wordwrapping, set him on fire then dance on his ashes. > Hmm, I should write a script to cut "Sep 1 ,,,,, : [.....]"... > > = > > Sep 1 18:01:16 localhost kernel: [ 3012.503035] ====================================================== > > Sep 1 18:01:16 localhost kernel: [ 3012.503039] [ INFO: SOFTIRQ-safe -> SOFTIRQ-unsafe lock order detected ] > > Sep 1 18:01:16 localhost kernel: [ 3012.503042] 2.6.31-rc7-mm1 #3 > > Sep 1 18:01:16 localhost kernel: [ 3012.503049] ------------------------------------------------------ > > Sep 1 18:01:16 localhost kernel: [ 3012.503052] kblockd/7/350 [HC0[0]:SC0[0]:HE0:SE1] is trying to acquire: > > Sep 1 18:01:16 localhost kernel: [ 3012.503058] (bdev_lock){+.+...}, at: [<ffffffff811458c7>] nr_blockdev_pages+0x1 > > 7/0x80 > > Sep 1 18:01:16 localhost kernel: [ 3012.503069] > > Sep 1 18:01:16 localhost kernel: [ 3012.503070] and this task is already holding: > > Sep 1 18:01:16 localhost kernel: [ 3012.503075] (&q->__queue_lock){..-.-.}, at: [<ffffffff811e9ff8>] cfq_kick_queue > > +0x28/0x50 > > Sep 1 18:01:16 localhost kernel: [ 3012.503083] which would create a new lock dependency: > > Sep 1 18:01:16 localhost kernel: [ 3012.503087] (&q->__queue_lock){..-.-.} -> (bdev_lock){+.+...} > > Sep 1 18:01:16 localhost kernel: [ 3012.503100] > > I'd say the core problem here is that __alloc_pages_slowpath() is > calling show_mem(). Because show_mem() is a "high level" function which > takes "high level" locks. ie: bdev_lock. > > It's inappropriate that alloc_pages() is assuming that it is safe to > call show_mem() from all contexts in which alloc_pages() might be > called. > > That show_mem() call has been there since 2005, so I don't know what > caused this to be revealed now. > > It's not at all a serious bug and the chances of us deadlocking the > kernel here are close to zero. An appropriate fix would be to replace > that show_mem() call with something which can be safely called from all > contexts in which the page allocator can be called. > ok, I'll study this path. Thanks, -Kame ^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2009-09-04 4:23 UTC | newest] Thread overview: 13+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2009-08-27 23:55 mmotm 2009-08-27-16-51 uploaded akpm 2009-09-01 9:00 ` [mmotm][BUG] free is bigger than presnet " KAMEZAWA Hiroyuki 2009-09-01 9:33 ` Hugh Dickins 2009-09-01 9:50 ` KAMEZAWA Hiroyuki 2009-09-01 10:10 ` KAMEZAWA Hiroyuki 2009-09-01 11:00 ` Hugh Dickins 2009-09-01 11:23 ` Hugh Dickins 2009-09-01 11:46 ` KAMEZAWA Hiroyuki 2009-09-02 0:08 ` KAMEZAWA Hiroyuki 2009-09-01 9:39 ` Johannes Weiner 2009-09-01 9:07 ` [mmotm][BUG] lockdep warning block I/O (Was " KAMEZAWA Hiroyuki 2009-09-03 21:28 ` Andrew Morton 2009-09-04 4:21 ` KAMEZAWA Hiroyuki
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox