* mmotm 2010-12-16-14-56 uploaded @ 2010-12-16 22:56 akpm 2010-12-17 22:33 ` mmotm 2010-12-16-14-56 uploaded (hugetlb) Randy Dunlap ` (2 more replies) 0 siblings, 3 replies; 14+ messages in thread From: akpm @ 2010-12-16 22:56 UTC (permalink / raw) To: mm-commits, linux-kernel, linux-mm, linux-fsdevel The mm-of-the-moment snapshot 2010-12-16-14-56 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.37-rc6: origin.patch linux-next.patch next-remove-localversion.patch i-need-old-gcc.patch fix-lockup-detector-compile-fixes-from-removing-the-old-x86-nmi-watchdog.patch arch-alpha-kernel-systblss-remove-debug-check.patch mm-compactionc-avoid-double-mem_cgroup_del_lru.patch mm-vmscan-tracepoint-account-for-scanned-pages-similarly-for-both-ftrace-and-vmstat.patch logfs-fix-deadlock-in-logfs_get_wblocks-hold-and-wait-on-super-s_write_mutex.patch logfs-fix-kernel-bug-at-readwritec-1193.patch writeback-do-uninterruptible-sleep-in-balance_dirty_pages.patch gpiolib-gpio_request_one-add-missing-gpio_free.patch maintainers-update-geode-entry.patch rtc-rs5c372-fix-buffer-size.patch mm-migratec-fix-compilation-error.patch backlight-cr_bllcdc-fix-a-memory-leak.patch delayacct-fix-iotop-on-x86_64.patch delayacct-fix-iotop-on-x86_64-fix.patch memblock-fix-memblock_is_region_memory.patch mm-vmap-area-cache.patch arch-arm-plat-omap-iovmmc-fix-end-address-of-vm-area-comparation-in-alloc_iovm_area.patch backlight-fix-88pm860x_bl-macro-collision.patch cciss-fix-botched-tag-masking-for-scsi-tape-commands.patch acerhdf-add-support-for-aspire-1410-bios-v13314.patch arch-x86-kernel-apic-io_apicc-fix-warning.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 debugfs-remove-module_exit.patch drivers-gpu-drm-radeon-atomc-fix-warning.patch irq-use-per_cpu-kstat_irqs.patch timers-use-this_cpu_read.patch drivers-leds-leds-lp5521c-fix-potential-buffer-overflow.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 isdn-capi-unregister-capictr-notifier-after-init-failure.patch isdn-capi-make-kcapi-use-a-separate-workqueue.patch drivers-video-backlight-l4f00242t03c-make-1-bit-signed-field-unsigned.patch drivers-video-backlight-l4f00242t03c-full-implement-fb-power-states-for-this-lcd.patch drivers-video-backlight-l4f00242t03c-prevent-unbalanced-calls-to-regulator-enable-disable.patch btusb-patch-add_apple_macbookpro62.patch atmel_serial-fix-rts-high-after-initialization-in-rs485-mode.patch atmel_serial-fix-rts-high-after-initialization-in-rs485-mode-fix.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 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 n_hdlc-fix-read-and-write-locking-update.patch mm.patch mm-page-allocator-adjust-the-per-cpu-counter-threshold-when-memory-is-low.patch mm-vmstat-use-a-single-setter-function-and-callback-for-adjusting-percpu-thresholds.patch mm-vmstat-use-a-single-setter-function-and-callback-for-adjusting-percpu-thresholds-fix.patch mm-vmstat-use-a-single-setter-function-and-callback-for-adjusting-percpu-thresholds-update.patch mm-vmstat-use-a-single-setter-function-and-callback-for-adjusting-percpu-thresholds-fix-set_pgdat_percpu_threshold-dont-use-for_each_online_cpu.patch writeback-integrated-background-writeback-work.patch writeback-trace-wakeup-event-for-background-writeback.patch writeback-stop-background-kupdate-works-from-livelocking-other-works.patch writeback-stop-background-kupdate-works-from-livelocking-other-works-update.patch writeback-avoid-livelocking-wb_sync_all-writeback.patch writeback-avoid-livelocking-wb_sync_all-writeback-update.patch writeback-check-skipped-pages-on-wb_sync_all.patch writeback-check-skipped-pages-on-wb_sync_all-update.patch writeback-check-skipped-pages-on-wb_sync_all-update-fix.patch writeback-io-less-balance_dirty_pages.patch writeback-consolidate-variable-names-in-balance_dirty_pages.patch writeback-per-task-rate-limit-on-balance_dirty_pages.patch writeback-per-task-rate-limit-on-balance_dirty_pages-fix.patch writeback-prevent-duplicate-balance_dirty_pages_ratelimited-calls.patch writeback-account-per-bdi-accumulated-written-pages.patch writeback-bdi-write-bandwidth-estimation.patch writeback-bdi-write-bandwidth-estimation-fix.patch writeback-show-bdi-write-bandwidth-in-debugfs.patch writeback-quit-throttling-when-bdi-dirty-pages-dropped-low.patch writeback-reduce-per-bdi-dirty-threshold-ramp-up-time.patch writeback-make-reasonable-gap-between-the-dirty-background-thresholds.patch writeback-scale-down-max-throttle-bandwidth-on-concurrent-dirtiers.patch writeback-add-trace-event-for-balance_dirty_pages.patch writeback-make-nr_to_write-a-per-file-limit.patch writeback-make-nr_to_write-a-per-file-limit-fix.patch sync_inode_metadata-fix-comment.patch mm-page-writebackc-fix-__set_page_dirty_no_writeback-return-value.patch vmscan-factor-out-kswapd-sleeping-logic-from-kswapd.patch mm-find_get_pages_contig-fixlet.patch fs-mpagec-consolidate-code.patch fs-mpagec-consolidate-code-checkpatch-fixes.patch mm-convert-sprintf_symbol-to-%ps.patch mm-smaps-export-mlock-information.patch mm-compaction-add-trace-events-for-memory-compaction-activity.patch mm-vmscan-convert-lumpy_mode-into-a-bitmask.patch mm-vmscan-reclaim-order-0-and-use-compaction-instead-of-lumpy-reclaim.patch mm-vmscan-reclaim-order-0-and-use-compaction-instead-of-lumpy-reclaim-fix.patch mm-migration-allow-migration-to-operate-asynchronously-and-avoid-synchronous-compaction-in-the-faster-path.patch mm-migration-allow-migration-to-operate-asynchronously-and-avoid-synchronous-compaction-in-the-faster-path-fix.patch mm-migration-cleanup-migrate_pages-api-by-matching-types-for-offlining-and-sync.patch mm-compaction-perform-a-faster-migration-scan-when-migrating-asynchronously.patch mm-vmscan-rename-lumpy_mode-to-reclaim_mode.patch mm-vmscan-rename-lumpy_mode-to-reclaim_mode-fix.patch mm-deactivate-invalidated-pages.patch mm-deactivate-invalidated-pages-fix.patch mm-remove-unused-get_vm_area_node.patch mm-remove-gfp-mask-from-pcpu_get_vm_areas.patch mm-unify-module_alloc-code-for-vmalloc.patch oom-allow-a-non-cap_sys_resource-proces-to-oom_score_adj-down.patch mm-clear-pageerror-bit-in-msync-fsync.patch do_wp_page-remove-the-reuse-flag.patch do_wp_page-clarify-dirty_page-handling.patch mlock-avoid-dirtying-pages-and-triggering-writeback.patch mlock-only-hold-mmap_sem-in-shared-mode-when-faulting-in-pages.patch mm-add-foll_mlock-follow_page-flag.patch mm-move-vm_locked-check-to-__mlock_vma_pages_range.patch mlock-do-not-hold-mmap_sem-for-extended-periods-of-time.patch mlock-do-not-hold-mmap_sem-for-extended-periods-of-time-fix.patch mlock-do-not-hold-mmap_sem-for-extended-periods-of-time-fix2.patch mempolicy-remove-tasklist_lock-from-migrate_pages.patch vmalloc-remove-redundant-unlikely.patch mm-remove-likely-from-mapping_unevictable.patch mm-remove-unlikely-from-page_mapping.patch mm-remove-likely-from-grab_cache_page_write_begin.patch mm-kswapd-stop-high-order-balancing-when-any-suitable-zone-is-balanced.patch mm-kswapd-keep-kswapd-awake-for-high-order-allocations-until-a-percentage-of-the-node-is-balanced.patch mm-kswapd-use-the-order-that-kswapd-was-reclaiming-at-for-sleeping_prematurely.patch mm-kswapd-reset-kswapd_max_order-and-classzone_idx-after-reading.patch mm-kswapd-treat-zone-all_unreclaimable-in-sleeping_prematurely-similar-to-balance_pgdat.patch mm-kswapd-use-the-classzone-idx-that-kswapd-was-using-for-sleeping_prematurely.patch mm-set-correct-numa_zonelist_order-string-when-configured-on-the-kernel-command-line.patch thp-ksm-free-swap-when-swapcache-page-is-replaced.patch thp-fix-bad_page-to-show-the-real-reason-the-page-is-bad.patch thp-transparent-hugepage-support-documentation.patch thp-mm-define-madv_hugepage.patch thp-compound_lock.patch thp-alter-compound-get_page-put_page.patch thp-put_page-recheck-pagehead-after-releasing-the-compound_lock.patch thp-update-futex-compound-knowledge.patch thp-clear-compound-mapping.patch thp-add-native_set_pmd_at.patch thp-add-pmd-paravirt-ops.patch thp-no-paravirt-version-of-pmd-ops.patch thp-export-maybe_mkwrite.patch thp-comment-reminder-in-destroy_compound_page.patch thp-config_transparent_hugepage.patch thp-special-pmd_trans_-functions.patch thp-add-pmd-mangling-generic-functions.patch thp-add-pmd-mangling-functions-to-x86.patch thp-bail-out-gup_fast-on-splitting-pmd.patch thp-pte-alloc-trans-splitting.patch thp-add-pmd-mmu_notifier-helpers.patch thp-clear-page-compound.patch thp-add-pmd_huge_pte-to-mm_struct.patch thp-split_huge_page_mm-vma.patch thp-split_huge_page-paging.patch thp-clear_copy_huge_page.patch thp-kvm-mmu-transparent-hugepage-support.patch thp-_gfp_no_kswapd.patch thp-dont-alloc-harder-for-gfp-nomemalloc-even-if-nowait.patch thp-transparent-hugepage-core.patch thp-split_huge_page-anon_vma-ordering-dependency.patch thp-verify-pmd_trans_huge-isnt-leaking.patch thp-madvisemadv_hugepage.patch thp-add-pagetranscompound.patch thp-pmd_trans_huge-migrate-bugcheck.patch thp-memcg-compound.patch thp-transhuge-memcg-commit-tail-pages-at-charge.patch thp-memcg-huge-memory.patch thp-transparent-hugepage-vmstat.patch thp-khugepaged.patch thp-khugepaged-vma-merge.patch thp-skip-transhuge-pages-in-ksm-for-now.patch thp-remove-pg_buddy.patch thp-add-x86-32bit-support.patch thp-mincore-transparent-hugepage-support.patch thp-add-pmd_modify.patch thp-mprotect-pass-vma-down-to-page-table-walkers.patch thp-mprotect-transparent-huge-page-support.patch thp-set-recommended-min-free-kbytes.patch thp-enable-direct-defrag.patch thp-add-numa-awareness-to-hugepage-allocations.patch thp-allocate-memory-in-khugepaged-outside-of-mmap_sem-write-mode.patch thp-allocate-memory-in-khugepaged-outside-of-mmap_sem-write-mode-fix.patch thp-transparent-hugepage-config-choice.patch thp-select-config_compaction-if-transparent_hugepage-enabled.patch thp-transhuge-isolate_migratepages.patch thp-avoid-breaking-huge-pmd-invariants-in-case-of-vma_adjust-failures.patch thp-dont-allow-transparent-hugepage-support-without-pse.patch thp-mmu_notifier_test_young.patch thp-freeze-khugepaged-and-ksmd.patch thp-use-compaction-in-kswapd-for-gfp_atomic-order-0.patch thp-use-compaction-for-all-allocation-orders.patch thp-disable-transparent-hugepages-by-default-on-small-systems.patch thp-fix-anon-memory-statistics-with-transparent-hugepages.patch thp-scale-nr_rotated-to-balance-memory-pressure.patch thp-transparent-hugepage-sysfs-meminfo.patch thp-add-debug-checks-for-mapcount-related-invariants.patch thp-fix-memory-failure-hugetlbfs-vs-thp-collision.patch thp-compound_trans_order.patch thp-mm-define-madv_nohugepage.patch thp-madvisemadv_nohugepage.patch frv-duplicate-output_buffer-of-e03.patch frv-duplicate-output_buffer-of-e03-checkpatch-fixes.patch hpet-factor-timer-allocate-from-open.patch um-mark-config_highmem-as-broken.patch arch-um-drivers-linec-safely-iterate-over-list-of-winch-handlers.patch uml-mmapper_kern-needs-module_license.patch kmsg_dump-constrain-mtdoops-and-ramoops-to-perform-their-actions-only-for-kmsg_dump_panic.patch kmsg_dump-add-kmsg_dump-calls-to-the-reboot-halt-poweroff-and-emergency_restart-paths.patch set_rtc_mmss-show-warning-message-only-once.patch include-linux-kernelh-abs-fix-handling-of-32-bit-unsigneds-on-64-bit.patch include-linux-kernelh-abs-fix-handling-of-32-bit-unsigneds-on-64-bit-fix.patch add-the-common-dma_addr_t-typedef-to-include-linux-typesh.patch toshibah-hide-a-function-prototypes-behind-__kernel__-macro.patch kernel-clean-up-use_generic_smp_helpers.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 dca-remove-unneeded-null-check.patch include-asm-generic-vmlinuxldsh-make-readmostly-section-correctly-align.patch percpu-add-new-macros-to-make-percpu-readmostly-section-correctly-align.patch printk-use-rcu-to-prevent-potential-lock-contention-in-kmsg_dump.patch include-linux-printkh-move-console-functions-and-variables-together.patch include-linux-printkh-use-space-after-define.patch include-linux-printkh-use-and-neaten-no_printk.patch include-linux-printkh-add-pr_level_once-macros.patch include-linux-printkh-lib-hexdumpc-neatening-and-add-config_printk-guard.patch include-linux-printkh-organize-printk_ratelimited-macros.patch include-linux-printkh-use-tab-not-spaces-for-indent.patch vfs-remove-unlikely-from-fput_light.patch vfs-remove-unlikely-from-fget_light.patch scripts-get_maintainerpl-make-rolestats-the-default.patch scripts-get_maintainerpl-use-git-fallback-more-often.patch maintainers-openwrt-devel-is-subscribers-only.patch flex_array-export-symbols-to-modules.patch drivers-mmc-host-omapc-use-resource_size.patch drivers-mmc-host-omap_hsmmcc-use-resource_size.patch scripts-checkpatchpl-add-check-for-multiple-terminating-semicolons-and-casts-of-vmalloc.patch checkpatchpl-fix-cast-detection.patch checkpatch-check-for-world-writeable-sysfs-debugfs-files.patch fs-select-fix-information-leak-to-userspace.patch fs-select-fix-information-leak-to-userspace-fix.patch epoll-convert-max_user_watches-to-long.patch binfmt_elf-cleanups.patch drivers-rtc-rtc-omapc-fix-a-memory-leak.patch rtc-add-real-time-clock-driver-for-nvidia-tegra.patch drivers-gpio-cs5535-gpioc-add-some-additional-cs5535-specific-gpio-functionality.patch drivers-staging-olpc_dcon-convert-to-new-cs5535-gpio-api.patch cs5535-deprecate-older-cs5535_gpio-driver.patch gpio-adp5588-gpio-irq_data-conversion.patch gpio-langwell_gpio-irq_data-conversion.patch gpio-max732x-irq_data-conversion.patch gpio-pca953x-irq_data-conversion.patch gpio-pl061-irq_data-conversion.patch gpio-stmpe-gpio-irq_data-conversion.patch gpio-sx150x-irq_data-conversion.patch gpio-tc35892-gpio-irq_data-conversion.patch gpio-timbgpio-irq_data-conversion.patch gpio-vr41xx_giu-irq_data-conversion.patch gpio_rdc321x-select-mfd_support-to-squelch-kconfig-warning.patch gpio_vx855-eliminate-kconfig-dependency-warning.patch cyber2000fb-avoid-palette-corruption-at-higher-clocks.patch drivers-telephony-ixjc-fix-warning.patch ext2-speed-up-file-creates-by-optimizing-rec_len-functions.patch ext3-speed-up-file-creates-by-optimizing-rec_len-functions.patch ext3-remove-redundant-unlikely.patch jbd-remove-dependency-on-__gfp_nofail.patch cgroups-remove-deprecated-subsystem-from-examples.patch memcg-add-page_cgroup-flags-for-dirty-page-tracking.patch memcg-document-cgroup-dirty-memory-interfaces.patch memcg-document-cgroup-dirty-memory-interfaces-fix.patch memcg-create-extensible-page-stat-update-routines.patch memcg-add-lock-to-synchronize-page-accounting-and-migration.patch memcg-fix-unit-mismatch-in-memcg-oom-limit-calculation.patch memcg-remove-unnecessary-return-from-void-returning-mem_cgroup_del_lru_list.patch memcg-use-zalloc-rather-than-mallocmemset.patch fs-proc-basec-kernel-latencytopc-convert-sprintf_symbol-to-%ps.patch fs-proc-basec-kernel-latencytopc-convert-sprintf_symbol-to-%ps-checkpatch-fixes.patch proc-use-unsigned-long-inside-proc-statm.patch proc-use-seq_puts-seq_putc-where-possible.patch proc-low_ino-cleanup.patch proc-use-single_open-correctly.patch exec_domain-establish-a-linux32-domain-on-config_compat-systems.patch rapidio-use-common-destid-storage-for-endpoints-and-switches.patch rapidio-integrate-rio_switch-into-rio_dev.patch rapidio-add-definitions-of-component-tag-fields.patch rapidio-add-device-object-linking-into-discovery.patch rapidio-use-component-tag-for-unified-switch-identification.patch rapidio-add-new-idt-srio-switches.patch rapidio-add-new-sysfs-attributes.patch sysctl-fix-ifdef-guard-comment.patch sysctl-remove-obsolete-comments.patch sysctl-remove-obsolete-comments-fix.patch user_ns-improve-the-user_ns-on-the-slab-packaging.patch user_ns-improve-the-user_ns-on-the-slab-packaging-fix.patch fs-execc-provide-the-correct-process-pid-to-the-pipe-helper.patch nfc-driver-for-nxp-semiconductors-pn544-nfc-chip.patch nfc-driver-for-nxp-semiconductors-pn544-nfc-chip-update.patch remove-dma64_addr_t.patch pps-trivial-fixes.patch pps-declare-variables-where-they-are-used-in-switch.patch pps-fix-race-in-pps_fetch-handler.patch pps-unify-timestamp-gathering.patch pps-access-pps-device-by-direct-pointer.patch pps-convert-printk-pr_-to-dev_.patch pps-move-idr-stuff-to-ppsc.patch pps-add-async-pps-event-handler.patch pps-add-async-pps-event-handler-fix.patch pps-dont-disable-interrupts-when-using-spin-locks.patch pps-use-bug_on-for-kernel-api-safety-checks.patch pps-simplify-conditions-a-bit.patch ntp-add-hardpps-implementation.patch pps-capture-monotonic_raw-timestamps-as-well.patch pps-add-kernel-consumer-support.patch pps-add-parallel-port-pps-client.patch pps-add-parallel-port-pps-signal-generator.patch memstick-core-fix-device_register-error-handling.patch memstick-fix-setup-for-jmicron-38x-controllers.patch memstick-set-pmos-values-propery-for-jmicron-38x-controllers.patch memstick-add-support-for-jmicron-jmb-385-and-390-controllers.patch memstick-avert-possible-race-condition-between-idr_pre_get-and-idr_get_new.patch memstick-remove-mspro_block_mutex.patch memstick-factor-out-transfer-initiating-functionality-in-mspro_blockc.patch memstick-add-support-for-mspro-specific-data-transfer-method.patch w1-ds2423-counter-driver-and-documentation.patch w1-ds2423-counter-driver-and-documentation-fix.patch vmware-balloon-stop-locking-pages-when-hypervisor-tells-us-enough.patch cramfs-hide-function-prototypes-behind-__kernel__-macro.patch romfs-have-romfs_fsh-pull-in-necessary-headers.patch decompressors-add-missing-init-ie-__init.patch decompressors-get-rid-of-set_error_fn-macro.patch decompressors-include-linux-slabh-in-linux-decompress-mmh.patch decompressors-remove-unused-function-from-lib-decompress_unlzmac.patch decompressors-fix-header-validation-in-decompress_unlzmac.patch decompressors-check-for-read-errors-in-decompress_unlzmac.patch decompressors-check-for-write-errors-in-decompress_unlzmac.patch decompressors-validate-match-distance-in-decompress_unlzmac.patch decompressors-check-for-write-errors-in-decompress_unlzoc.patch decompressors-check-input-size-in-decompress_unlzoc.patch decompressors-fix-callback-to-callback-mode-in-decompress_unlzoc.patch decompressors-add-xz-decompressor-module.patch decompressors-add-boot-time-xz-support.patch decompressors-add-boot-time-xz-support-update.patch x86-support-xz-compressed-kernel.patch bitops-merge-little-and-big-endian-definisions-in-asm-generic-bitops-leh.patch bitops-rename-generic-little-endian-bitops-functions.patch s390-introduce-little-endian-bitops.patch arm-introduce-little-endian-bitops.patch m68k-introduce-little-endian-bitops.patch bitops-introduce-config_generic_find_le_bit.patch m68knommu-introduce-little-endian-bitops.patch m68knommu-introduce-little-endian-bitops-build-fix.patch bitops-introduce-little-endian-bitops-for-most-architectures.patch rds-stop-including-asm-generic-bitops-leh.patch kvm-stop-including-asm-generic-bitops-leh.patch asm-generic-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-bit-operations.patch dm-use-little-endian-bit-operations.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 bitops-use-find_first_zero_bit-instead-of-find_next_zero_bitaddr-size-0.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 ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: mmotm 2010-12-16-14-56 uploaded (hugetlb) 2010-12-16 22:56 mmotm 2010-12-16-14-56 uploaded akpm @ 2010-12-17 22:33 ` Randy Dunlap 2010-12-17 22:53 ` Andrew Morton 2010-12-18 10:10 ` mmotm 2010-12-16 - breaks mlockall() call Valdis.Kletnieks 2010-12-20 9:49 ` i915 modeset defunct [was: mmotm 2010-12-16-14-56 uploaded] Jiri Slaby 2 siblings, 1 reply; 14+ messages in thread From: Randy Dunlap @ 2010-12-17 22:33 UTC (permalink / raw) To: akpm; +Cc: linux-kernel, linux-mm, linux-fsdevel On Thu, 16 Dec 2010 14:56:39 -0800 akpm@linux-foundation.org wrote: > The mm-of-the-moment snapshot 2010-12-16-14-56 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.37-rc6: # CONFIG_HUGETLBFS is not set CONFIG_HUGETLB_PAGE=y In file included from mmotm-2010-1216-1456/kernel/fork.c:36: mmotm-2010-1216-1456/include/linux/hugetlb.h: In function 'hstate_inode': mmotm-2010-1216-1456/include/linux/hugetlb.h:255: error: implicit declaration of function 'HUGETLBFS_SB' --- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code *** ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: mmotm 2010-12-16-14-56 uploaded (hugetlb) 2010-12-17 22:33 ` mmotm 2010-12-16-14-56 uploaded (hugetlb) Randy Dunlap @ 2010-12-17 22:53 ` Andrew Morton 2010-12-17 23:37 ` Andrea Arcangeli 0 siblings, 1 reply; 14+ messages in thread From: Andrew Morton @ 2010-12-17 22:53 UTC (permalink / raw) To: Randy Dunlap; +Cc: linux-kernel, linux-mm, linux-fsdevel, Andrea Arcangeli On Fri, 17 Dec 2010 14:33:16 -0800 Randy Dunlap <randy.dunlap@oracle.com> wrote: > On Thu, 16 Dec 2010 14:56:39 -0800 akpm@linux-foundation.org wrote: > > > The mm-of-the-moment snapshot 2010-12-16-14-56 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.37-rc6: > > > # CONFIG_HUGETLBFS is not set > CONFIG_HUGETLB_PAGE=y > > > In file included from mmotm-2010-1216-1456/kernel/fork.c:36: > mmotm-2010-1216-1456/include/linux/hugetlb.h: In function 'hstate_inode': > mmotm-2010-1216-1456/include/linux/hugetlb.h:255: error: implicit declaration of function 'HUGETLBFS_SB' > afacit, CONFIG_HUGETLBFS must be enabled if CONFIG_HUGETLB_PAGE=y, and thp-config_transparent_hugepage.patch broke that, by permitting CONFIG_HUGETLBFS=n, CONFIG_HUGETLB_PAGE=y, CONFIG_TRANSPARENT_HUGEPAGE=y. I suppose CONFIG_TRANSPARENT_HUGEPAGE could select CONFIG_HUGETLBFS, but is there a nicer way? There's lots of stuff in hugetlb.h which is clearly related to hugetlbfs, but is enabled by CONFIG_HUGETLB_PAGE, so those things seem to be pretty joined at the hip nowadays. ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: mmotm 2010-12-16-14-56 uploaded (hugetlb) 2010-12-17 22:53 ` Andrew Morton @ 2010-12-17 23:37 ` Andrea Arcangeli 2010-12-18 0:28 ` Randy Dunlap 2010-12-18 7:44 ` Andrea Arcangeli 0 siblings, 2 replies; 14+ messages in thread From: Andrea Arcangeli @ 2010-12-17 23:37 UTC (permalink / raw) To: Andrew Morton; +Cc: Randy Dunlap, linux-kernel, linux-mm, linux-fsdevel Hello, On Fri, Dec 17, 2010 at 02:53:34PM -0800, Andrew Morton wrote: > afacit, CONFIG_HUGETLBFS must be enabled if CONFIG_HUGETLB_PAGE=y, and > thp-config_transparent_hugepage.patch broke that, by permitting > CONFIG_HUGETLBFS=n, CONFIG_HUGETLB_PAGE=y, > CONFIG_TRANSPARENT_HUGEPAGE=y. CONFIG_HUGETLBFS and CONFIG_HUGETLB_PAGE existed before, and HUGETLBFS=n && HUGETLB_PAGE=y used to build just fine, I clearly didn't try a build with HUGETLBFS=n recently. > There's lots of stuff in hugetlb.h which is clearly related to > hugetlbfs, but is enabled by CONFIG_HUGETLB_PAGE, so those things seem > to be pretty joined at the hip nowadays. Yes, it used to build just fine but I guess after the last hugetlbfs updates I'm getting flood of errors no matter how I adjust things. hugetlbfs code who needs some fixup here. ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: mmotm 2010-12-16-14-56 uploaded (hugetlb) 2010-12-17 23:37 ` Andrea Arcangeli @ 2010-12-18 0:28 ` Randy Dunlap 2010-12-18 0:58 ` Andrew Morton 2010-12-18 7:44 ` Andrea Arcangeli 1 sibling, 1 reply; 14+ messages in thread From: Randy Dunlap @ 2010-12-18 0:28 UTC (permalink / raw) To: Andrea Arcangeli; +Cc: Andrew Morton, linux-kernel, linux-mm, linux-fsdevel On 12/17/10 15:37, Andrea Arcangeli wrote: > Hello, > > On Fri, Dec 17, 2010 at 02:53:34PM -0800, Andrew Morton wrote: >> afacit, CONFIG_HUGETLBFS must be enabled if CONFIG_HUGETLB_PAGE=y, and >> thp-config_transparent_hugepage.patch broke that, by permitting >> CONFIG_HUGETLBFS=n, CONFIG_HUGETLB_PAGE=y, >> CONFIG_TRANSPARENT_HUGEPAGE=y. > > CONFIG_HUGETLBFS and CONFIG_HUGETLB_PAGE existed before, and > HUGETLBFS=n && HUGETLB_PAGE=y used to build just fine, I clearly > didn't try a build with HUGETLBFS=n recently. > >> There's lots of stuff in hugetlb.h which is clearly related to >> hugetlbfs, but is enabled by CONFIG_HUGETLB_PAGE, so those things seem >> to be pretty joined at the hip nowadays. > > Yes, it used to build just fine but I guess after the last hugetlbfs > updates I'm getting flood of errors no matter how I adjust things. > hugetlbfs code who needs some fixup here. I see a real *flood* of errors when I try building ARCH=um SUBARCH={i386|x86_64}: > grep -c error: UM*/build* UM32/build-defcfg.out:454539 UM64/build-defcfg.out:453707 -- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code *** ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: mmotm 2010-12-16-14-56 uploaded (hugetlb) 2010-12-18 0:28 ` Randy Dunlap @ 2010-12-18 0:58 ` Andrew Morton 2010-12-18 8:17 ` Andrea Arcangeli 0 siblings, 1 reply; 14+ messages in thread From: Andrew Morton @ 2010-12-18 0:58 UTC (permalink / raw) To: Randy Dunlap; +Cc: Andrea Arcangeli, linux-kernel, linux-mm, linux-fsdevel On Fri, 17 Dec 2010 16:28:51 -0800 Randy Dunlap <randy.dunlap@oracle.com> wrote: > On 12/17/10 15:37, Andrea Arcangeli wrote: > > Hello, > > > > On Fri, Dec 17, 2010 at 02:53:34PM -0800, Andrew Morton wrote: > >> afacit, CONFIG_HUGETLBFS must be enabled if CONFIG_HUGETLB_PAGE=y, and > >> thp-config_transparent_hugepage.patch broke that, by permitting > >> CONFIG_HUGETLBFS=n, CONFIG_HUGETLB_PAGE=y, > >> CONFIG_TRANSPARENT_HUGEPAGE=y. > > > > CONFIG_HUGETLBFS and CONFIG_HUGETLB_PAGE existed before, and > > HUGETLBFS=n && HUGETLB_PAGE=y used to build just fine, I clearly > > didn't try a build with HUGETLBFS=n recently. > > > >> There's lots of stuff in hugetlb.h which is clearly related to > >> hugetlbfs, but is enabled by CONFIG_HUGETLB_PAGE, so those things seem > >> to be pretty joined at the hip nowadays. > > > > Yes, it used to build just fine but I guess after the last hugetlbfs > > updates I'm getting flood of errors no matter how I adjust things. > > hugetlbfs code who needs some fixup here. > > I see a real *flood* of errors when I try building ARCH=um SUBARCH={i386|x86_64}: > > > grep -c error: UM*/build* > UM32/build-defcfg.out:454539 > UM64/build-defcfg.out:453707 erk, yeah, that's totally horked. The first one millionth: include/asm-generic/pgtable.h: In function 'ptep_get_and_clear': include/asm-generic/pgtable.h:77: error: expected statement before ')' token include/asm-generic/pgtable.h:94: error: invalid storage class for function 'pmdp_get_and_clear' Due to thp-add-pmd-mangling-generic-functions.patch ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: mmotm 2010-12-16-14-56 uploaded (hugetlb) 2010-12-18 0:58 ` Andrew Morton @ 2010-12-18 8:17 ` Andrea Arcangeli 0 siblings, 0 replies; 14+ messages in thread From: Andrea Arcangeli @ 2010-12-18 8:17 UTC (permalink / raw) To: Andrew Morton; +Cc: Randy Dunlap, linux-kernel, linux-mm, linux-fsdevel Hi everyone, On Fri, Dec 17, 2010 at 04:58:34PM -0800, Andrew Morton wrote: > The first one millionth: > > include/asm-generic/pgtable.h: In function 'ptep_get_and_clear': > include/asm-generic/pgtable.h:77: error: expected statement before ')' token > include/asm-generic/pgtable.h:94: error: invalid storage class for function 'pmdp_get_and_clear' > > Due to thp-add-pmd-mangling-generic-functions.patch Here two fixes for the um build. This is thp-add-pmd-mangling-generic-functions-fix.patch. I hope I'm not asking for more build troubles down the road insisting on inline and returning (pmd_t) { 0 } instead of converting it back to a preprocessor macro. ======== Subject: thp: fix pgtable.h build for um From: Andrea Arcangeli <aarcange@redhat.com> make ARCH=um failed because of some typo error in newly written code to cleanup asm-generic/pgtable.h but that was never compiled in on x86/x64 without um. Signed-off-by: Andrea Arcangeli <aarcange@redhat.com> --- diff --git a/include/asm-generic/pgtable.h b/include/asm-generic/pgtable.h --- a/include/asm-generic/pgtable.h +++ b/include/asm-generic/pgtable.h @@ -74,7 +74,7 @@ static inline pte_t ptep_get_and_clear(s pte_t pte = *ptep; pte_clear(mm, address, ptep); return pte; -) +} #endif #ifndef __HAVE_ARCH_PMDP_GET_AND_CLEAR @@ -93,7 +93,7 @@ static inline pmd_t pmdp_get_and_clear(s pmd_t *pmdp) { BUG(); - return 0; + return (pmd_t){ 0 }; } #endif /* CONFIG_TRANSPARENT_HUGEPAGE */ #endif diff --git a/mm/pgtable-generic.c b/mm/pgtable-generic.c --- a/mm/pgtable-generic.c +++ b/mm/pgtable-generic.c @@ -29,7 +29,7 @@ int ptep_set_access_flags(struct vm_area flush_tlb_page(vma, address); } return changed; -}) +} #endif #ifndef __HAVE_ARCH_PMDP_SET_ACCESS_FLAGS This one is thp-pte-alloc-trans-splitting-fix.patch ====== Subject: thp: fix pte_alloc_map From: Andrea Arcangeli <aarcange@redhat.com> vma can be NULL safely for archs not implementing THP. Signed-off-by: Andrea Arcangeli <aarcange@redhat.com> --- diff --git a/arch/arm/mm/pgd.c b/arch/arm/mm/pgd.c --- a/arch/arm/mm/pgd.c +++ b/arch/arm/mm/pgd.c @@ -52,7 +52,7 @@ pgd_t *get_pgd_slow(struct mm_struct *mm if (!new_pmd) goto no_pmd; - new_pte = pte_alloc_map(mm, new_pmd, 0); + new_pte = pte_alloc_map(mm, NULL, new_pmd, 0); if (!new_pte) goto no_pte; diff --git a/arch/ia64/mm/hugetlbpage.c b/arch/ia64/mm/hugetlbpage.c --- a/arch/ia64/mm/hugetlbpage.c +++ b/arch/ia64/mm/hugetlbpage.c @@ -38,7 +38,7 @@ huge_pte_alloc(struct mm_struct *mm, uns if (pud) { pmd = pmd_alloc(mm, pud, taddr); if (pmd) - pte = pte_alloc_map(mm, pmd, taddr); + pte = pte_alloc_map(mm, NULL, pmd, taddr); } return pte; } diff --git a/arch/sh/mm/hugetlbpage.c b/arch/sh/mm/hugetlbpage.c --- a/arch/sh/mm/hugetlbpage.c +++ b/arch/sh/mm/hugetlbpage.c @@ -35,7 +35,7 @@ pte_t *huge_pte_alloc(struct mm_struct * if (pud) { pmd = pmd_alloc(mm, pud, addr); if (pmd) - pte = pte_alloc_map(mm, pmd, addr); + pte = pte_alloc_map(mm, NULL, pmd, addr); } } diff --git a/arch/sparc/mm/generic_32.c b/arch/sparc/mm/generic_32.c --- a/arch/sparc/mm/generic_32.c +++ b/arch/sparc/mm/generic_32.c @@ -50,7 +50,7 @@ static inline int io_remap_pmd_range(str end = PGDIR_SIZE; offset -= address; do { - pte_t * pte = pte_alloc_map(mm, pmd, address); + pte_t * pte = pte_alloc_map(mm, NULL, pmd, address); if (!pte) return -ENOMEM; io_remap_pte_range(mm, pte, address, end - address, address + offset, prot, space); diff --git a/arch/sparc/mm/generic_64.c b/arch/sparc/mm/generic_64.c --- a/arch/sparc/mm/generic_64.c +++ b/arch/sparc/mm/generic_64.c @@ -92,7 +92,7 @@ static inline int io_remap_pmd_range(str end = PGDIR_SIZE; offset -= address; do { - pte_t * pte = pte_alloc_map(mm, pmd, address); + pte_t * pte = pte_alloc_map(mm, NULL, pmd, address); if (!pte) return -ENOMEM; io_remap_pte_range(mm, pte, address, end - address, address + offset, prot, space); diff --git a/arch/sparc/mm/hugetlbpage.c b/arch/sparc/mm/hugetlbpage.c --- a/arch/sparc/mm/hugetlbpage.c +++ b/arch/sparc/mm/hugetlbpage.c @@ -214,7 +214,7 @@ pte_t *huge_pte_alloc(struct mm_struct * if (pud) { pmd = pmd_alloc(mm, pud, addr); if (pmd) - pte = pte_alloc_map(mm, pmd, addr); + pte = pte_alloc_map(mm, NULL, pmd, addr); } return pte; } diff --git a/arch/um/kernel/skas/mmu.c b/arch/um/kernel/skas/mmu.c --- a/arch/um/kernel/skas/mmu.c +++ b/arch/um/kernel/skas/mmu.c @@ -31,7 +31,7 @@ static int init_stub_pte(struct mm_struc if (!pmd) goto out_pmd; - pte = pte_alloc_map(mm, pmd, proc); + pte = pte_alloc_map(mm, NULL, pmd, proc); if (!pte) goto out_pte; Let me know if there are further build troubles, thanks! Andrea ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: mmotm 2010-12-16-14-56 uploaded (hugetlb) 2010-12-17 23:37 ` Andrea Arcangeli 2010-12-18 0:28 ` Randy Dunlap @ 2010-12-18 7:44 ` Andrea Arcangeli 1 sibling, 0 replies; 14+ messages in thread From: Andrea Arcangeli @ 2010-12-18 7:44 UTC (permalink / raw) To: Andrew Morton; +Cc: Randy Dunlap, linux-kernel, linux-mm, linux-fsdevel On Sat, Dec 18, 2010 at 12:37:40AM +0100, Andrea Arcangeli wrote: > Yes, it used to build just fine but I guess after the last hugetlbfs > updates I'm getting flood of errors no matter how I adjust things. > hugetlbfs code who needs some fixup here. here's the fix (luckily I didn't need to touch a bit of hugetlbfs). I think initially the only thing I was reusing sometime was pmd_huge that made me want HUGETLBFS_PAGE (these days there's pmd_trans_huge and pmd_huge must only be used in hugetlbfs paths, 99% of the time they're separated). At the time it happened to build with HUGETLBFS_PAGE=y and HUGETLBFS=n, now it's a total mixture and letting HUGETLBFS_PAGE live seems bad idea. ==== Subject: thp: remove dependency on HUGETLB_PAGE From: Andrea Arcangeli <aarcange@redhat.com> THP code is already 100% standalone and not depending on a bit of hugetlbfs. HUGETLBFS_PAGE would be better removed and unified with HUGETLBFS considering the kernel won't build if they're not equal. Signed-off-by: Andrea Arcangeli <aarcange@redhat.com> --- diff --git a/fs/Kconfig b/fs/Kconfig --- a/fs/Kconfig +++ b/fs/Kconfig @@ -147,7 +147,7 @@ config HUGETLBFS If unsure, say N. config HUGETLB_PAGE - def_bool HUGETLBFS || TRANSPARENT_HUGEPAGE + def_bool HUGETLBFS source "fs/configfs/Kconfig" ^ permalink raw reply [flat|nested] 14+ messages in thread
* mmotm 2010-12-16 - breaks mlockall() call 2010-12-16 22:56 mmotm 2010-12-16-14-56 uploaded akpm 2010-12-17 22:33 ` mmotm 2010-12-16-14-56 uploaded (hugetlb) Randy Dunlap @ 2010-12-18 10:10 ` Valdis.Kletnieks 2010-12-20 1:48 ` Michel Lespinasse 2010-12-21 6:26 ` Michel Lespinasse 2010-12-20 9:49 ` i915 modeset defunct [was: mmotm 2010-12-16-14-56 uploaded] Jiri Slaby 2 siblings, 2 replies; 14+ messages in thread From: Valdis.Kletnieks @ 2010-12-18 10:10 UTC (permalink / raw) To: Andrew Morton, Michel Lespinasse; +Cc: linux-kernel, mm-commits, linux-mm [-- Attachment #1: Type: text/plain, Size: 839 bytes --] On Thu, 16 Dec 2010 14:56:39 PST, akpm@linux-foundation.org said: > The mm-of-the-moment snapshot 2010-12-16-14-56 has been uploaded to > > http://userweb.kernel.org/~akpm/mmotm/ The patch mlock-only-hold-mmap_sem-in-shared-mode-when-faulting-in-pages.patch causes this chunk of code from cryptsetup-luks to fail during the initramfs: if (mlockall(MCL_CURRENT | MCL_FUTURE)) { log_err(ctx, _("WARNING!!! Possibly insecure memory. Are you root?\n")); _memlock_count--; return 0; } Bisection fingered this patch, which was added after -rc4-mmotm1202, which boots without tripping this log_err() call. I haven't tried building a -rc6-mmotm1216 with this patch reverted, because reverting it causes apply errors for subsequent patches. Ideas? [-- Attachment #2: Type: application/pgp-signature, Size: 227 bytes --] ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: mmotm 2010-12-16 - breaks mlockall() call 2010-12-18 10:10 ` mmotm 2010-12-16 - breaks mlockall() call Valdis.Kletnieks @ 2010-12-20 1:48 ` Michel Lespinasse 2010-12-21 6:26 ` Michel Lespinasse 1 sibling, 0 replies; 14+ messages in thread From: Michel Lespinasse @ 2010-12-20 1:48 UTC (permalink / raw) To: Valdis.Kletnieks; +Cc: Andrew Morton, linux-kernel, mm-commits, linux-mm On Sat, Dec 18, 2010 at 2:10 AM, <Valdis.Kletnieks@vt.edu> wrote: > On Thu, 16 Dec 2010 14:56:39 PST, akpm@linux-foundation.org said: >> The mm-of-the-moment snapshot 2010-12-16-14-56 has been uploaded to >> >> http://userweb.kernel.org/~akpm/mmotm/ > > The patch mlock-only-hold-mmap_sem-in-shared-mode-when-faulting-in-pages.patch > causes this chunk of code from cryptsetup-luks to fail during the initramfs: > > if (mlockall(MCL_CURRENT | MCL_FUTURE)) { > log_err(ctx, _("WARNING!!! Possibly insecure memory. Are you root?\n")); > _memlock_count--; > return 0; > } > > Bisection fingered this patch, which was added after -rc4-mmotm1202, which > boots without tripping this log_err() call. I haven't tried building a > -rc6-mmotm1216 with this patch reverted, because reverting it causes apply > errors for subsequent patches. > > Ideas? I had a quick look, but didn't figure out much so far. Could you send me your initramfs image and .config file so I can reproduce the issue locally ? Thanks, -- Michel "Walken" Lespinasse A program is never fully debugged until the last user dies. ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: mmotm 2010-12-16 - breaks mlockall() call 2010-12-18 10:10 ` mmotm 2010-12-16 - breaks mlockall() call Valdis.Kletnieks 2010-12-20 1:48 ` Michel Lespinasse @ 2010-12-21 6:26 ` Michel Lespinasse 2010-12-22 1:07 ` Valdis.Kletnieks 1 sibling, 1 reply; 14+ messages in thread From: Michel Lespinasse @ 2010-12-21 6:26 UTC (permalink / raw) To: Valdis.Kletnieks; +Cc: Andrew Morton, linux-kernel, mm-commits, linux-mm On Sat, Dec 18, 2010 at 05:10:59AM -0500, Valdis.Kletnieks@vt.edu wrote: > On Thu, 16 Dec 2010 14:56:39 PST, akpm@linux-foundation.org said: > > The mm-of-the-moment snapshot 2010-12-16-14-56 has been uploaded to > > > > http://userweb.kernel.org/~akpm/mmotm/ > > The patch mlock-only-hold-mmap_sem-in-shared-mode-when-faulting-in-pages.patch > causes this chunk of code from cryptsetup-luks to fail during the initramfs: > > if (mlockall(MCL_CURRENT | MCL_FUTURE)) { > log_err(ctx, _("WARNING!!! Possibly insecure memory. Are you root?\n")); > _memlock_count--; > return 0; > } > > Bisection fingered this patch, which was added after -rc4-mmotm1202, which > boots without tripping this log_err() call. I haven't tried building a > -rc6-mmotm1216 with this patch reverted, because reverting it causes apply > errors for subsequent patches. > > Ideas? So I traced this down using valdis's initramfs image. This is actually an interesting corner case: Some VMA has the VM_MAY_(READ/WRITE/EXEC) flags, but is currently protected with PROT_NONE permissions (VM_READ/WRITE_EXEC flags are all cleared). When mlockall() is called, the old code would see mlock_fixup() return an error for that VMA, which would be ignored by do_mlockall(). The new code did not ignore errors from do_mlock_pages(), which broke backwards compatibility. So the trivial fix to make mlockall behave identically as before could be as follows: Signed-off-by: Michel Lespinasse <walken@google.com> diff --git a/mm/mlock.c b/mm/mlock.c index db0ed84..168b750 100644 --- a/mm/mlock.c +++ b/mm/mlock.c @@ -424,7 +424,7 @@ static int do_mlock(unsigned long start, size_t len, int on) return error; } -static int do_mlock_pages(unsigned long start, size_t len) +static int do_mlock_pages(unsigned long start, size_t len, int ignore_errors) { struct mm_struct *mm = current->mm; unsigned long end, nstart, nend; @@ -465,6 +465,10 @@ static int do_mlock_pages(unsigned long start, size_t len) */ ret = __mlock_vma_pages_range(vma, nstart, nend, &locked); if (ret < 0) { + if (ignore_errors) { + ret = 0; + continue; /* continue at next VMA */ + } ret = __mlock_posix_error_return(ret); break; } @@ -502,7 +506,7 @@ SYSCALL_DEFINE2(mlock, unsigned long, start, size_t, len) error = do_mlock(start, len, 1); up_write(¤t->mm->mmap_sem); if (!error) - error = do_mlock_pages(start, len); + error = do_mlock_pages(start, len, 0); return error; } @@ -567,8 +571,10 @@ SYSCALL_DEFINE1(mlockall, int, flags) capable(CAP_IPC_LOCK)) ret = do_mlockall(flags); up_write(¤t->mm->mmap_sem); - if (!ret && (flags & MCL_CURRENT)) - ret = do_mlock_pages(0, TASK_SIZE); + if (!ret && (flags & MCL_CURRENT)) { + /* Ignore errors */ + do_mlock_pages(0, TASK_SIZE, 1); + } out: return ret; } -- Michel "Walken" Lespinasse A program is never fully debugged until the last user dies. ^ permalink raw reply related [flat|nested] 14+ messages in thread
* Re: mmotm 2010-12-16 - breaks mlockall() call 2010-12-21 6:26 ` Michel Lespinasse @ 2010-12-22 1:07 ` Valdis.Kletnieks 0 siblings, 0 replies; 14+ messages in thread From: Valdis.Kletnieks @ 2010-12-22 1:07 UTC (permalink / raw) To: Michel Lespinasse; +Cc: Andrew Morton, linux-kernel, mm-commits, linux-mm [-- Attachment #1: Type: text/plain, Size: 440 bytes --] On Mon, 20 Dec 2010 22:26:29 PST, Michel Lespinasse said: > So the trivial fix to make mlockall behave identically as before could be > as follows: > > Signed-off-by: Michel Lespinasse <walken@google.com> > > diff --git a/mm/mlock.c b/mm/mlock.c > index db0ed84..168b750 100644 Confirming this makes the mlockall() call in my initramfs behave as before... Feel free to stick in a: Tested-by: Valdis Kletnieks <valdis.kletnieks@vt.edu> [-- Attachment #2: Type: application/pgp-signature, Size: 227 bytes --] ^ permalink raw reply [flat|nested] 14+ messages in thread
* i915 modeset defunct [was: mmotm 2010-12-16-14-56 uploaded] 2010-12-16 22:56 mmotm 2010-12-16-14-56 uploaded akpm 2010-12-17 22:33 ` mmotm 2010-12-16-14-56 uploaded (hugetlb) Randy Dunlap 2010-12-18 10:10 ` mmotm 2010-12-16 - breaks mlockall() call Valdis.Kletnieks @ 2010-12-20 9:49 ` Jiri Slaby 2010-12-20 9:52 ` Jiri Slaby 2 siblings, 1 reply; 14+ messages in thread From: Jiri Slaby @ 2010-12-20 9:49 UTC (permalink / raw) To: linux-kernel; +Cc: akpm, mm-commits, Chris Wilson, dri-devel On 12/16/2010 11:56 PM, akpm@linux-foundation.org wrote: > The mm-of-the-moment snapshot 2010-12-16-14-56 has been uploaded to Hi, there is a regression against 2010-12-02-16-34 in i915. When modeset is used, my G33 produces no signal to the monitor (black screen, power led blinks). 00:00.0 Host bridge [0600]: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller [8086:29c0] (rev 02) Subsystem: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller [8086:29c0] Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx- Latency: 0 Capabilities: [e0] Vendor Specific Information: Len=0b <?> Kernel driver in use: agpgart-intel 00: 86 80 c0 29 06 00 90 20 02 00 00 06 00 00 00 00 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 86 80 c0 29 30: 00 00 00 00 e0 00 00 00 00 00 00 00 00 00 00 00 40: 01 90 d1 fe 01 00 00 00 01 40 d1 fe 00 00 00 00 50: 00 00 30 02 c9 03 00 00 00 00 00 00 00 00 00 00 60: 01 00 00 e0 00 00 00 00 01 80 d1 fe 00 00 00 00 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90: 10 11 11 00 00 33 33 00 5f 00 72 00 00 0a 38 00 a0: 60 00 c0 1c 00 00 80 af 00 00 60 af 00 00 60 af b0: 00 b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d0: 00 00 00 00 00 00 00 00 49 00 00 00 00 00 00 5b e0: 09 00 0b 01 00 00 00 00 01 00 00 00 00 00 00 00 f0: 00 00 00 00 00 00 00 00 90 0f 03 00 00 00 00 00 00:02.0 VGA compatible controller [0300]: Intel Corporation 82G33/G31 Express Integrated Graphics Controller [8086:29c2] (rev 02) (prog-if 00 [VGA controller]) Subsystem: Intel Corporation 82G33/G31 Express Integrated Graphics Controller [8086:29c2] Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin A routed to IRQ 42 Region 0: Memory at feb80000 (32-bit, non-prefetchable) [size=512K] Region 1: I/O ports at ec00 [size=8] Region 2: Memory at d0000000 (32-bit, prefetchable) [size=256M] Region 3: Memory at fea00000 (32-bit, non-prefetchable) [size=1M] Expansion ROM at <unassigned> [disabled] Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit- Address: fee0300c Data: 4161 Capabilities: [d0] Power Management version 2 Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME- Kernel driver in use: i915 00: 86 80 c2 29 07 04 90 00 02 00 00 03 00 00 00 00 10: 00 00 b8 fe 01 ec 00 00 08 00 00 d0 00 00 a0 fe 20: 00 00 00 00 00 00 00 00 00 00 00 00 86 80 c2 29 30: 00 00 00 00 90 00 00 00 00 00 00 00 05 01 00 00 40: 09 00 0b 01 00 00 00 00 01 00 00 00 00 00 00 00 50: 00 00 30 02 c9 03 00 00 00 00 00 00 00 00 80 af 60: 00 00 02 02 00 00 00 00 00 00 00 00 00 00 00 00 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90: 05 d0 01 00 0c 30 e0 fe 61 41 00 00 00 00 00 00 a0: 11 11 00 00 00 00 06 03 00 00 00 00 00 00 00 00 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d0: 01 00 22 00 00 00 00 00 00 00 00 00 00 01 02 00 e0: 00 00 00 00 00 00 00 00 00 80 00 00 00 00 00 00 f0: 12 00 03 00 00 00 00 00 90 0f 03 00 e4 e0 5b af any ideas? thanks, -- js ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: i915 modeset defunct [was: mmotm 2010-12-16-14-56 uploaded] 2010-12-20 9:49 ` i915 modeset defunct [was: mmotm 2010-12-16-14-56 uploaded] Jiri Slaby @ 2010-12-20 9:52 ` Jiri Slaby 0 siblings, 0 replies; 14+ messages in thread From: Jiri Slaby @ 2010-12-20 9:52 UTC (permalink / raw) To: linux-kernel; +Cc: akpm, mm-commits, Chris Wilson, dri-devel On 12/20/2010 10:49 AM, Jiri Slaby wrote: > On 12/16/2010 11:56 PM, akpm@linux-foundation.org wrote: >> The mm-of-the-moment snapshot 2010-12-16-14-56 has been uploaded to > > Hi, there is a regression against 2010-12-02-16-34 in i915. When modeset > is used, my G33 produces no signal to the monitor (black screen, power > led blinks). ... > any ideas? Oh, looks like: https://bugzilla.kernel.org/show_bug.cgi?id=25242 regards, -- js ^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2010-12-22 1:07 UTC | newest] Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2010-12-16 22:56 mmotm 2010-12-16-14-56 uploaded akpm 2010-12-17 22:33 ` mmotm 2010-12-16-14-56 uploaded (hugetlb) Randy Dunlap 2010-12-17 22:53 ` Andrew Morton 2010-12-17 23:37 ` Andrea Arcangeli 2010-12-18 0:28 ` Randy Dunlap 2010-12-18 0:58 ` Andrew Morton 2010-12-18 8:17 ` Andrea Arcangeli 2010-12-18 7:44 ` Andrea Arcangeli 2010-12-18 10:10 ` mmotm 2010-12-16 - breaks mlockall() call Valdis.Kletnieks 2010-12-20 1:48 ` Michel Lespinasse 2010-12-21 6:26 ` Michel Lespinasse 2010-12-22 1:07 ` Valdis.Kletnieks 2010-12-20 9:49 ` i915 modeset defunct [was: mmotm 2010-12-16-14-56 uploaded] Jiri Slaby 2010-12-20 9:52 ` Jiri Slaby
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).