* mmotm 2009-08-04-14-22 uploaded
@ 2009-08-04 21:25 akpm
2009-08-04 22:50 ` mmotm 2009-08-04-14-22 uploaded (ummunotify) Randy Dunlap
` (3 more replies)
0 siblings, 4 replies; 12+ messages in thread
From: akpm @ 2009-08-04 21:25 UTC (permalink / raw)
To: mm-commits, linux-kernel
The mm-of-the-moment snapshot 2009-08-04-14-22 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-rc5:
origin.patch
drivers-w1-masters-omap_hdqc-fix-missing-mutex-unlock.patch
generic-ipi-fix-hotplug_cfd.patch
repeatable-slab-corruption-with-ltp-msgctl08.patch
linux-next.patch
next-remove-localversion.patch
i-need-old-gcc.patch
arch-x86-kernel-cpu-amdc-fix-x86_64-allnoconfig-build.patch
acpi-battery-work-around-negative-s16-battery-current-on-acer.patch
kernel-core-add-smp_call_function_any.patch
kernel-core-add-smp_call_function_any-update.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.patch
acpi-reintroduce-acpi_device_ops-shutdown-method.patch
arch-x86-kernel-tscc-smi-workaround-for-pit_expect_msb.patch
arch-x86-kernel-tscc-smi-workaround-for-pit_expect_msb-checkpatch-fixes.patch
x86-add-reboot-fixup-for-compulab-sbc-fitpc2-board.patch
x86-add-reboot-fixup-for-compulab-sbc-fitpc2-board-cleanup.patch
fix-printk-enable-the-use-of-more-than-one-con_boot-early-console.patch
ia32-use-generic-sys_pipe.patch
x86-fix-buffer-overflow-in-efi_init.patch
i386-fix-double-accounting-in-reserve_top_address.patch
kgdb-remove-redundant-test.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
dm-strncpy-does-not-null-terminate-string.patch
pcmcia-yenta-add-missing-__devexit-marking.patch
pcmcia-pccard-deadlock-fix.patch
powerpc-sky-cpu-redundant-or-incorrect-tests-on-unsigned.patch
powerpc-fsl-booke-read-buffer-overflow.patch
platform_device_add_data-use-kmemdup.patch
drm-radeon-kms-fix-memory-leak-in-radeon_driver_load_kms.patch
drm-radeon-kms-fix-caching-mode-selection-for-gtt-object.patch
video-initial-support-for-adv7180.patch
drivers-media-video-cx88-cx88-add-support-for-winfast-dtv2000h-rev-j.patch
media-strncpy-does-not-null-terminate-string.patch
siano-read-buffer-overflow.patch
drivers-media-video-bw-qcamc-fix-read-buffer-overflow.patch
drivers-media-dvb-use-dst_type-field-instead-of-type_flags.patch
stk-webcam-read-buffer-overflow.patch
media-zr364xx-fix-build-errors.patch
drivers-media-video-gspca-introduce-missing-kfree.patch
ecryptfs-another-lockdep-issue.patch
i2c-add-support-for-new-amd-smbus-devices.patch
drivers-pci-intel-iommuc-return-early-if-all-dmar-hw-unit-ignored.patch
drivers-pci-intel-iommuc-return-early-if-all-dmar-hw-unit-ignored-checkpatch-fixes.patch
preempt_active-add-default-defines.patch
hid-fix-read-buffer-overflow.patch
drivers-hid-introduce-missing-kfree.patch
hid-core-ignore-philips-ieee802154-rf-dongle.patch
posix_cpu_timers_exit_group-do-not-use-thread_group_cputimer.patch
timer-stats-fix-del_timer_sync-and-try_to_del_timer_sync.patch
ipath-strncpy-does-not-null-terminate-string.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-more-i8042-reset-quirks-for-msi-wind-clone-netbooks.patch
input-touchpad-not-detected-on-asus-g1s.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
kbuild-remove-extraneous-blank-line-after-declaration-of-usage.patch
ctags-usability-fix.patch
kvm-fix-read-buffer-overflow.patch
leds-gpio-leds-fix-typographics-fault.patch
leds-gpio-leds-fix-typographics-fault-checkpatch-fixes.patch
leds-fix-coding-style-in-worker-thread-code-for-ledtrig-gpio.patch
leds-fix-coding-style-in-worker-thread-code-for-ledtrig-gpio-checkpatch-fixes.patch
drivers-ata-use-resource_size.patch
drivers-ata-introduce-missing-kfree.patch
mips-decrease-size-of-au1xxx_dbdma_pm_regs.patch
mips-read-buffer-overflow.patch
jffs2-move-jffs2_gcd_mtd-threads-to-the-new-kthread-api.patch
mtd-sst25l-non-jedec-spi-flash-driver.patch
mtd-sst25l-non-jedec-spi-flash-driver-update.patch
mtd-sst25l-non-jedec-spi-flash-driver-fix.patch
drivers-mtd-mtdcorec-make-symbols-static.patch
mtd-sst25l-fix-lock-imbalance.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-register-orion_nand-using-platform_driver_probe.patch
slram-read-buffer-overflow.patch
slram-read-buffer-overflow-cleanup.patch
mtd-fix-read-buffer-overflow.patch
proc-connector-add-event-for-process-becoming-session-leader.patch
irda-fix-read-buffer-overflow.patch
isdn-hisax-fix-lock-imbalance.patch
hfc_usb-fix-read-buffer-overflow.patch
atlx-strncpy-does-not-null-terminate-string.patch
3x59x-fix-pci-resource-management.patch
3x59x-fix-pci-resource-management-checkpatch-fixes.patch
backlight-spi-driver-for-lms283gf05-lcd.patch
bluetooth-fix-for-acer-bluetooth-optical-rechargeable-mouse.patch
bluetooth-fix-for-acer-bluetooth-optical-rechargeable-mouse-fix.patch
ext4-remove-redundant-test-on-unsigned.patch
sunrpc-use-formatting-of-module-name-in-sunrpc.patch
ocfs2-keep-index-within-status_map.patch
drivers-parisc-lba_pcic-fix-faulty-check.patch
drivers-parisc-pdc_stablec-fix-read-buffer-overflow.patch
serial_txx9-use-container_of-instead-of-direct-cast.patch
icom-converting-space-to-tabs.patch
cyclades-read-buffer-overflow.patch
serial-add-parameter-to-force-skipping-the-test-for-the-txen-bug.patch
drivers-md-introduce-missing-kfree.patch
perf-fix-read-buffer-overflow.patch
pcap-regulator-register-earlier.patch
hypfs-remove-useless-variable-qname.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
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
scsi-make-scsi-sg-v4-driver-enabled-by-default-and-remove-experimental-dependency-since-udev-depends-on-bsg.patch
scsi-make-scsi-sg-v4-driver-enabled-by-default-and-remove-experimental-dependency-since-udev-depends-on-bsg-checkpatch-fixes.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-iprh-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
vt6655-s-void-void.patch
staging-rt2860-remove-dependency-on-wireless_ext-version.patch
drivers-usb-gadget-s3c2410_udcc-fix.patch
optionc-support-qualcomm-icon-210.patch
usb-gadget-read-buffer-overflow.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
fs-fix-overflow-in-sys_mount-for-in-kernel-calls-fix.patch
sendfile-several-fixes.patch
vfs-optimization-for-touch_atime.patch
vfs-optimize-touch_time-too.patch
vfs-optimize-touch_time-too-fix.patch
vfs-allow-file-truncations-when-both-suid-and-write-permissions-set.patch
watchdog-add-sbc-fitpc2-watchdog-driver.patch
watchdog-add-sbc-fitpc2-watchdog-driver-fix.patch
xtensa-variant-specific-code.patch
xtensa-use-generic-sys_pipe.patch
mm.patch
fbcon-fix-rotate-upside-down-crash.patch
mm-make-set_mempolicympol_interleav-n_high_memory-aware.patch
mm-make-set_mempolicympol_interleav-n_high_memory-aware-fix.patch
viafb-fix-rmmod-bug.patch
fbcon-dont-use-vc_resize-on-initialization.patch
compat_ioctl-hook-up-compat-handler-for-fiemap-ioctl.patch
vfs-mnt_want_write_file-fix-special-file-handling.patch
imx31-eventually-fix-framebuffer-locking-regressions.patch
drivers-mmc-correct-error-handling-code.patch
execve-must-clear-current-clear_child_tid-v2.patch
flat-fix-uninitialized-ptr-with-shared-libs.patch
revert-mm-prevent-balance_dirty_pages-from-doing-too-much-work.patch
genirq-do-not-disable-irq_wakeup-marked-irqs-on-suspend.patch
thermal_sys-check-get_temp-return-value.patch
cciss-remove-logical-drive-sysfs-entries-during-driver-cleanup.patch
cciss-use-mutex-instead-of-flag-to-indicate-busy-initializing.patch
cciss-use-only-one-scan-thread.patch
cciss-kick-off-logical-drive-topology-rescan-through-sysfs.patch
i915-fix-read-outside-array-bounds.patch
leds-fix-multiple-requests-and-releases-of-irq-for-gpio-led-trigger.patch
leds-after-setting-inverted-attribute-we-must-update-the-led.patch
mtd-m25p80-fix-null-pointer-dereference-bug.patch
maintainers-update-atlx-contact-info.patch
gigaset-really-fix-chars_in_buffer.patch
serial-bfin_5xx-fix-building-as-module-when-early-printk-is-enabled.patch
posix-timers-fix-oops-in-clock_nanosleep-with-clock_monotonic_raw.patch
usb-storage-include-prolific-technology-usb-drive-in-unusual_devs-list.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
mm-improve-help-text-for-mm-debug-config-options.patch
mm-warn-once-when-a-page-is-freed-with-pg_mlocked-set.patch
ummunotify-userspace-support-for-mmu-notifications.patch
ummunotify-userspace-support-for-mmu-notifications-v3.patch
ummunotify-userspace-support-for-mmu-notifications-v3-fix.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
mm-introduce-proc-pid-oom_adj_child.patch
page-allocator-change-migratetype-for-all-pageblocks-within-a-high-order-page-during-__rmqueue_fallback.patch
include-linux-credh-work-around-gcc-424-warning-in-get_cred.patch
frv-duplicate-output_buffer-of-e03.patch
frv-duplicate-output_buffer-of-e03-checkpatch-fixes.patch
blackfin-convert-to-use-arch_gettimeoffset.patch
blackfin-fix-read-buffer-overflow.patch
alpha-convert-to-use-arch_gettimeoffset.patch
arch-alpha-boot-tools-objstripc-wrong-variable-tested-after-open.patch
m32r-remove-redundant-tests-on-unsigned.patch
m32r-convert-to-use-arch_gettimeoffset.patch
m68k-count-can-reach-51-not-50.patch
m68k-cnt-reaches-1-not-0.patch
arch-m68k-include-asm-motorola_pgalloch-fix-kunmap-arg.patch
m68k-convert-to-use-arch_gettimeoffset.patch
cris-convert-to-use-arch_gettimeoffset.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
add-a-driver-for-the-winbond-wpcd376i-ir-functionality.patch
add-a-driver-for-the-winbond-wpcd376i-ir-functionality-select-bitreverse.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
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-optional-git-blame-checking.patch
getrusage-fill-ru_maxrss-value.patch
getrusage-fill-ru_maxrss-value-update.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-set-a-large-data-timeout-for-commands-with-busy-signal.patch
arm-omap-rx51-set-mmc-capabilities-and-power-saving-flag.patch
sdio-add-cd-disable-support.patch
sdio-add-cd-disable-support-cleanup.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
hpfall-reduce-risk-that-hpfall-can-do-harm.patch
hpfall-accept-disk-device-to-unload-as-argument.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
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
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
drivers-rtc-correct-error-handling-code.patch
drivers-rtc-introduce-missing-kfree.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
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
drivers-video-imxfbc-fix-resource-size-off-by-1-error.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
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
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
hfsplus-identify-journal-info-block-in-volume-header.patch
hfsplus-fix-journal-detection.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
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
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
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
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
schedule_work-documentation-improvements.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
cyclades-allow-overriding-isa-defaults-also-when-the-driver-is-built-in.patch
fork-disable-clone_parent-for-init.patch
pidns-deny-clone_parentclone_newpid-combination.patch
linux-futexh-place-kernel-types-behind-__kernel__.patch
futex-futex_wait_requeue_pi-commentary-corrections.patch
edac-mpc85xx-add-p2020ds-support.patch
edac-mpc85xx-add-mpc83xx-support.patch
edac-fix-resource-size-calculation.patch
asm-generic-remove-calling-flush_write_buffers-in-dma_sync__for_cpu.patch
adfs-remove-redundant-test-on-unsigned.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
bzip2-lzma-gzip-fix-comments-describing-decompressor-api.patch
bzip2-lzma-remove-nasty-uncompressed-size-hack-in-pre-boot-environment.patch
lzma-gzip-fix-potential-oops-when-input-data-is-truncated.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-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] 12+ messages in thread* Re: mmotm 2009-08-04-14-22 uploaded (ummunotify) 2009-08-04 21:25 mmotm 2009-08-04-14-22 uploaded akpm @ 2009-08-04 22:50 ` Randy Dunlap 2009-08-04 23:16 ` Andrew Morton ` (2 more replies) 2009-08-05 1:48 ` [PATCH -mmotm] staging/udlfb: fix printk format warning Randy Dunlap ` (2 subsequent siblings) 3 siblings, 3 replies; 12+ messages in thread From: Randy Dunlap @ 2009-08-04 22:50 UTC (permalink / raw) To: linux-kernel, Roland Dreier; +Cc: akpm On Tue, 04 Aug 2009 14:25:09 -0700 akpm@linux-foundation.org wrote: > The mm-of-the-moment snapshot 2009-08-04-14-22 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-rc5: Seems odd to me, but I'm seeing: ummunotify.c:(.text+0x8f217): undefined reference to `__get_user_X' when building for i386. The get_user() and put_user() in ummunotify_exchange_features() are correctly converted to __get_user_4() and __put_user_4(), but the get_user() in ummunotify_unregister_region() becomes __get_user_X() [as seen in objdump output]. toolchain issue or something else?? --- ~Randy LPC 2009, Sept. 23-25, Portland, Oregon http://linuxplumbersconf.org/2009/ ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: mmotm 2009-08-04-14-22 uploaded (ummunotify) 2009-08-04 22:50 ` mmotm 2009-08-04-14-22 uploaded (ummunotify) Randy Dunlap @ 2009-08-04 23:16 ` Andrew Morton 2009-08-05 0:38 ` Roland Dreier 2009-08-05 4:47 ` Roland Dreier 2 siblings, 0 replies; 12+ messages in thread From: Andrew Morton @ 2009-08-04 23:16 UTC (permalink / raw) To: Randy Dunlap; +Cc: linux-kernel, rolandd On Tue, 4 Aug 2009 15:50:14 -0700 Randy Dunlap <randy.dunlap@oracle.com> wrote: > On Tue, 04 Aug 2009 14:25:09 -0700 akpm@linux-foundation.org wrote: > > > The mm-of-the-moment snapshot 2009-08-04-14-22 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-rc5: > > > Seems odd to me, but I'm seeing: > > ummunotify.c:(.text+0x8f217): undefined reference to `__get_user_X' > > when building for i386. > > The get_user() and put_user() in ummunotify_exchange_features() > are correctly converted to __get_user_4() and __put_user_4(), > but the get_user() in ummunotify_unregister_region() becomes > __get_user_X() [as seen in objdump output]. > > toolchain issue or something else?? > yes, strange. .config please? Try `make drivers/char/ummunotify.i' then have a poke around in ummunotify.i? ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: mmotm 2009-08-04-14-22 uploaded (ummunotify) 2009-08-04 22:50 ` mmotm 2009-08-04-14-22 uploaded (ummunotify) Randy Dunlap 2009-08-04 23:16 ` Andrew Morton @ 2009-08-05 0:38 ` Roland Dreier 2009-08-05 4:47 ` Roland Dreier 2 siblings, 0 replies; 12+ messages in thread From: Roland Dreier @ 2009-08-05 0:38 UTC (permalink / raw) To: Randy Dunlap; +Cc: linux-kernel, Roland Dreier, akpm > ummunotify.c:(.text+0x8f217): undefined reference to `__get_user_X' > > when building for i386. > > The get_user() and put_user() in ummunotify_exchange_features() > are correctly converted to __get_user_4() and __put_user_4(), > but the get_user() in ummunotify_unregister_region() becomes > __get_user_X() [as seen in objdump output]. Is 64-bit get_user() supposed to work portably? Because it seems that arch/x86/include/asm/uaccess.h intentionally makes get_user((__u64)) expand to __get_user_X() and then never defines __get_user_X(). And arm, say, expands it to __get_user_bad(). But on the other hand, powerpc and sparc seem to go to the trouble of defining a 64-bit get_user() for 32-bit builds... My fault for insufficient 32-bit compile testing. Andrew, I'll send a patch to change to copy_from_user() instead. - R. ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: mmotm 2009-08-04-14-22 uploaded (ummunotify) 2009-08-04 22:50 ` mmotm 2009-08-04-14-22 uploaded (ummunotify) Randy Dunlap 2009-08-04 23:16 ` Andrew Morton 2009-08-05 0:38 ` Roland Dreier @ 2009-08-05 4:47 ` Roland Dreier 2009-08-05 15:19 ` Randy Dunlap 2 siblings, 1 reply; 12+ messages in thread From: Roland Dreier @ 2009-08-05 4:47 UTC (permalink / raw) To: Randy Dunlap, akpm; +Cc: linux-kernel Andrew, can you add this into the ummunotify patch, or add it on top or whatever? Fix ummunotify.c:(.text+0x8f217): undefined reference to `__get_user_X' when building for i386 -- get_user() can't handle u64 on all architectures, so just use copy_from_user(). Reported-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Roland Dreier <rolandd@cisco.com> --- drivers/char/ummunotify.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/char/ummunotify.c b/drivers/char/ummunotify.c index 725fbb0..29de6ab 100644 --- a/drivers/char/ummunotify.c +++ b/drivers/char/ummunotify.c @@ -453,7 +453,7 @@ static long ummunotify_unregister_region(struct ummunotify_file *priv, struct ummunotify_reg *reg; int ret = -EINVAL; - if (get_user(user_cookie, arg)) + if (copy_from_user(&user_cookie, arg, sizeof user_cookie)) return -EFAULT; spin_lock_irq(&priv->lock); ^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: mmotm 2009-08-04-14-22 uploaded (ummunotify) 2009-08-05 4:47 ` Roland Dreier @ 2009-08-05 15:19 ` Randy Dunlap 0 siblings, 0 replies; 12+ messages in thread From: Randy Dunlap @ 2009-08-05 15:19 UTC (permalink / raw) To: Roland Dreier; +Cc: akpm, linux-kernel On Tue, 04 Aug 2009 21:47:30 -0700 Roland Dreier wrote: > Andrew, can you add this into the ummunotify patch, or add it on top or whatever? > > Fix > > ummunotify.c:(.text+0x8f217): undefined reference to `__get_user_X' > > when building for i386 -- get_user() can't handle u64 on all > architectures, so just use copy_from_user(). > > Reported-by: Randy Dunlap <randy.dunlap@oracle.com> > Signed-off-by: Roland Dreier <rolandd@cisco.com> Ack & thanks. > --- > drivers/char/ummunotify.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/char/ummunotify.c b/drivers/char/ummunotify.c > index 725fbb0..29de6ab 100644 > --- a/drivers/char/ummunotify.c > +++ b/drivers/char/ummunotify.c > @@ -453,7 +453,7 @@ static long ummunotify_unregister_region(struct ummunotify_file *priv, > struct ummunotify_reg *reg; > int ret = -EINVAL; > > - if (get_user(user_cookie, arg)) > + if (copy_from_user(&user_cookie, arg, sizeof user_cookie)) > return -EFAULT; > > spin_lock_irq(&priv->lock); > -- --- ~Randy LPC 2009, Sept. 23-25, Portland, Oregon http://linuxplumbersconf.org/2009/ ^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH -mmotm] staging/udlfb: fix printk format warning 2009-08-04 21:25 mmotm 2009-08-04-14-22 uploaded akpm 2009-08-04 22:50 ` mmotm 2009-08-04-14-22 uploaded (ummunotify) Randy Dunlap @ 2009-08-05 1:48 ` Randy Dunlap 2009-08-05 1:54 ` [PATCH -mmotm] xfrm4: fix build when SYSCTLs are disabled Randy Dunlap 2009-08-05 6:39 ` mmotm 2009-08-04-14-22 uploaded Dave Young 3 siblings, 0 replies; 12+ messages in thread From: Randy Dunlap @ 2009-08-05 1:48 UTC (permalink / raw) To: akpm; +Cc: linux-kernel, gregkh From: Randy Dunlap <randy.dunlap@oracle.com> Fix printk format warning: use %td for ptrdiff: drivers/staging/udlfb/udlfb.h:209: warning: format '%d' expects type 'int', but argument 3 has type 'long int' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> --- drivers/staging/udlfb/udlfb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- mmotm-2009-0804-1422.orig/drivers/staging/udlfb/udlfb.h +++ mmotm-2009-0804-1422/drivers/staging/udlfb/udlfb.h @@ -205,7 +205,7 @@ static int dlfb_set_video_mode(struct dl /* send */ ret = dlfb_bulk_msg(dev_info, bufptr - dev_info->buf); - printk("ret bulk 2: %d %d\n", ret, + printk("ret bulk 2: %d %td\n", ret, bufptr - dev_info->buf); /* flush */ --- ~Randy LPC 2009, Sept. 23-25, Portland, Oregon http://linuxplumbersconf.org/2009/ ^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH -mmotm] xfrm4: fix build when SYSCTLs are disabled 2009-08-04 21:25 mmotm 2009-08-04-14-22 uploaded akpm 2009-08-04 22:50 ` mmotm 2009-08-04-14-22 uploaded (ummunotify) Randy Dunlap 2009-08-05 1:48 ` [PATCH -mmotm] staging/udlfb: fix printk format warning Randy Dunlap @ 2009-08-05 1:54 ` Randy Dunlap 2009-08-05 3:20 ` David Miller 2009-08-05 6:39 ` mmotm 2009-08-04-14-22 uploaded Dave Young 3 siblings, 1 reply; 12+ messages in thread From: Randy Dunlap @ 2009-08-05 1:54 UTC (permalink / raw) To: linux-kernel; +Cc: akpm, netdev, davem From: Randy Dunlap <randy.dunlap@oracle.com> Fix build errors when SYSCTLs are not enabled: (.init.text+0x5154): undefined reference to `net_ipv4_ctl_path' (.init.text+0x5176): undefined reference to `register_net_sysctl_table' xfrm4_policy.c:(.exit.text+0x573): undefined reference to `unregister_net_sysctl_table Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> --- net/ipv4/xfrm4_policy.c | 6 ++++++ 1 file changed, 6 insertions(+) --- mmotm-2009-0804-1422.orig/net/ipv4/xfrm4_policy.c +++ mmotm-2009-0804-1422/net/ipv4/xfrm4_policy.c @@ -264,6 +264,7 @@ static struct xfrm_policy_afinfo xfrm4_p .fill_dst = xfrm4_fill_dst, }; +#ifdef CONFIG_SYSCTL static struct ctl_table xfrm4_policy_table[] = { { .ctl_name = CTL_UNNUMBERED, @@ -277,6 +278,7 @@ static struct ctl_table xfrm4_policy_tab }; static struct ctl_table_header *sysctl_hdr; +#endif static void __init xfrm4_policy_init(void) { @@ -285,8 +287,10 @@ static void __init xfrm4_policy_init(voi static void __exit xfrm4_policy_fini(void) { +#ifdef CONFIG_SYSCTL if (sysctl_hdr) unregister_net_sysctl_table(sysctl_hdr); +#endif xfrm_policy_unregister_afinfo(&xfrm4_policy_afinfo); } @@ -305,7 +309,9 @@ void __init xfrm4_init(int rt_max_size) * and start cleaning when were 1/2 full */ xfrm4_dst_ops.gc_thresh = rt_max_size/2; +#ifdef CONFIG_SYSCTL sysctl_hdr = register_net_sysctl_table(&init_net, net_ipv4_ctl_path, xfrm4_policy_table); +#endif } --- ~Randy LPC 2009, Sept. 23-25, Portland, Oregon http://linuxplumbersconf.org/2009/ ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH -mmotm] xfrm4: fix build when SYSCTLs are disabled 2009-08-05 1:54 ` [PATCH -mmotm] xfrm4: fix build when SYSCTLs are disabled Randy Dunlap @ 2009-08-05 3:20 ` David Miller 0 siblings, 0 replies; 12+ messages in thread From: David Miller @ 2009-08-05 3:20 UTC (permalink / raw) To: randy.dunlap; +Cc: linux-kernel, akpm, netdev From: Randy Dunlap <randy.dunlap@oracle.com> Date: Tue, 4 Aug 2009 18:54:30 -0700 > From: Randy Dunlap <randy.dunlap@oracle.com> > > Fix build errors when SYSCTLs are not enabled: > (.init.text+0x5154): undefined reference to `net_ipv4_ctl_path' > (.init.text+0x5176): undefined reference to `register_net_sysctl_table' > xfrm4_policy.c:(.exit.text+0x573): undefined reference to `unregister_net_sysctl_table > > Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Applied, thanks Randy. The ipv6 side has the same issue, I'll fix that part up myself. ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: mmotm 2009-08-04-14-22 uploaded 2009-08-04 21:25 mmotm 2009-08-04-14-22 uploaded akpm ` (2 preceding siblings ...) 2009-08-05 1:54 ` [PATCH -mmotm] xfrm4: fix build when SYSCTLs are disabled Randy Dunlap @ 2009-08-05 6:39 ` Dave Young 2009-08-05 7:06 ` Andrew Morton 2009-08-05 7:14 ` Eric Dumazet 3 siblings, 2 replies; 12+ messages in thread From: Dave Young @ 2009-08-05 6:39 UTC (permalink / raw) To: akpm; +Cc: mm-commits, linux-kernel Hi andrew, I see following lockdep warning with this release: [ 0.474144] INFO: trying to register non-static key. [ 0.474144] the code is fine but needs lockdep annotation. [ 0.474144] turning off the locking correctness validator. [ 0.474144] Pid: 1, comm: swapper Not tainted 2.6.31-rc5-mm1 #7 [ 0.474144] Call Trace: [ 0.474144] [<c1047f1e>] register_lock_class+0x58/0x241 [ 0.474144] [<c1049ab1>] __lock_acquire+0xac/0xb73 [ 0.474144] [<c1076eb5>] ? __alloc_pages_nodemask+0xe2/0x483 [ 0.474144] [<c1048b64>] ? mark_lock+0x1e/0x1c7 [ 0.474144] [<c1048b64>] ? mark_lock+0x1e/0x1c7 [ 0.474144] [<c1048d50>] ? mark_held_locks+0x43/0x5b [ 0.474144] [<c10940a6>] ? kmem_cache_alloc+0xac/0x11b [ 0.474144] [<c104a615>] lock_acquire+0x9d/0xc0 [ 0.474144] [<c12b8b96>] ? netif_addr_lock_bh+0xd/0xf [ 0.474144] [<c1330feb>] _spin_lock_bh+0x20/0x2f [ 0.474144] [<c12b8b96>] ? netif_addr_lock_bh+0xd/0xf [ 0.474144] [<c12b8b96>] netif_addr_lock_bh+0xd/0xf [ 0.474144] [<c12bc3c3>] alloc_netdev_mq+0xf9/0x1a5 [ 0.474144] [<c121f016>] ? loopback_setup+0x0/0x74 [ 0.474144] [<c1578d49>] loopback_net_init+0x20/0x5d [ 0.474144] [<c12b7907>] register_pernet_operations+0x13/0x15 [ 0.474144] [<c12b7970>] register_pernet_device+0x1f/0x47 [ 0.474144] [<c157ee8d>] net_dev_init+0xfe/0x14d [ 0.474144] [<c1001137>] do_one_initcall+0x4a/0x11a [ 0.474144] [<c157ed8f>] ? net_dev_init+0x0/0x14d [ 0.474144] [<c1067e00>] ? register_irq_proc+0x64/0xa8 [ 0.474144] [<c1067e97>] ? init_irq_proc+0x53/0x60 [ 0.474144] [<c1557535>] kernel_init+0x129/0x17a [ 0.474144] [<c155740c>] ? kernel_init+0x0/0x17a [ 0.474144] [<c1003d47>] kernel_thread_helper+0x7/0x10 -- Regards dave ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: mmotm 2009-08-04-14-22 uploaded 2009-08-05 6:39 ` mmotm 2009-08-04-14-22 uploaded Dave Young @ 2009-08-05 7:06 ` Andrew Morton 2009-08-05 7:14 ` Eric Dumazet 1 sibling, 0 replies; 12+ messages in thread From: Andrew Morton @ 2009-08-05 7:06 UTC (permalink / raw) To: Dave Young; +Cc: linux-kernel, netdev, Peter Zijlstra, Jiri Pirko On Wed, 5 Aug 2009 14:39:46 +0800 Dave Young <hidave.darkstar@gmail.com> wrote: > Hi andrew, > > I see following lockdep warning with this release: > > [ 0.474144] INFO: trying to register non-static key. > [ 0.474144] the code is fine but needs lockdep annotation. > [ 0.474144] turning off the locking correctness validator. > [ 0.474144] Pid: 1, comm: swapper Not tainted 2.6.31-rc5-mm1 #7 > [ 0.474144] Call Trace: > [ 0.474144] [<c1047f1e>] register_lock_class+0x58/0x241 > [ 0.474144] [<c1049ab1>] __lock_acquire+0xac/0xb73 > [ 0.474144] [<c1076eb5>] ? __alloc_pages_nodemask+0xe2/0x483 > [ 0.474144] [<c1048b64>] ? mark_lock+0x1e/0x1c7 > [ 0.474144] [<c1048b64>] ? mark_lock+0x1e/0x1c7 > [ 0.474144] [<c1048d50>] ? mark_held_locks+0x43/0x5b > [ 0.474144] [<c10940a6>] ? kmem_cache_alloc+0xac/0x11b > [ 0.474144] [<c104a615>] lock_acquire+0x9d/0xc0 > [ 0.474144] [<c12b8b96>] ? netif_addr_lock_bh+0xd/0xf > [ 0.474144] [<c1330feb>] _spin_lock_bh+0x20/0x2f > [ 0.474144] [<c12b8b96>] ? netif_addr_lock_bh+0xd/0xf > [ 0.474144] [<c12b8b96>] netif_addr_lock_bh+0xd/0xf > [ 0.474144] [<c12bc3c3>] alloc_netdev_mq+0xf9/0x1a5 > [ 0.474144] [<c121f016>] ? loopback_setup+0x0/0x74 > [ 0.474144] [<c1578d49>] loopback_net_init+0x20/0x5d > [ 0.474144] [<c12b7907>] register_pernet_operations+0x13/0x15 > [ 0.474144] [<c12b7970>] register_pernet_device+0x1f/0x47 > [ 0.474144] [<c157ee8d>] net_dev_init+0xfe/0x14d > [ 0.474144] [<c1001137>] do_one_initcall+0x4a/0x11a > [ 0.474144] [<c157ed8f>] ? net_dev_init+0x0/0x14d > [ 0.474144] [<c1067e00>] ? register_irq_proc+0x64/0xa8 > [ 0.474144] [<c1067e97>] ? init_irq_proc+0x53/0x60 > [ 0.474144] [<c1557535>] kernel_init+0x129/0x17a > [ 0.474144] [<c155740c>] ? kernel_init+0x0/0x17a > [ 0.474144] [<c1003d47>] kernel_thread_helper+0x7/0x10 At a guess I'd say that alloc_netdev_mq()->dev_unicast_init() is doing netif_addr_lock_bh()->spin_lock_bh(&dev->addr_list_lock) prior to initialising add_list_lock. Something like this might shut it up: --- a/net/core/dev.c~a +++ a/net/core/dev.c @@ -5111,7 +5111,7 @@ struct net_device *alloc_netdev_mq(int s if (dev_addr_init(dev)) goto free_tx; - dev_unicast_init(dev); + __hw_addr_init(&dev->uc); dev_net_set(dev, &init_net); but it'd be better to intialise this thing earlier like: --- a/net/core/dev.c~a +++ a/net/core/dev.c @@ -4730,8 +4730,6 @@ int register_netdevice(struct net_device BUG_ON(dev->reg_state != NETREG_UNINITIALIZED); BUG_ON(!net); - spin_lock_init(&dev->addr_list_lock); - netdev_set_addr_lockdep_class(dev); netdev_init_queue_locks(dev); dev->iflink = -1; @@ -5107,6 +5105,8 @@ struct net_device *alloc_netdev_mq(int s dev = PTR_ALIGN(p, NETDEV_ALIGN); dev->padded = (char *)dev - (char *)p; + spin_lock_init(&dev->addr_list_lock); + netdev_set_addr_lockdep_class(dev); if (dev_addr_init(dev)) goto free_tx; _ but that might break register_netdevice() for netdevs which were allocated via other means, dunno. I would be pointing fingers at : commit 31278e71471399beaff9280737e52b47db4dc345 : Author: Jiri Pirko <jpirko@redhat.com> : AuthorDate: Wed Jun 17 01:12:19 2009 +0000 : Commit: David S. Miller <davem@davemloft.net> : CommitDate: Thu Jun 18 00:29:08 2009 -0700 : : net: group address list and its count and politely suggesting that net developers enable lockdep when testing :) ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: mmotm 2009-08-04-14-22 uploaded 2009-08-05 6:39 ` mmotm 2009-08-04-14-22 uploaded Dave Young 2009-08-05 7:06 ` Andrew Morton @ 2009-08-05 7:14 ` Eric Dumazet 1 sibling, 0 replies; 12+ messages in thread From: Eric Dumazet @ 2009-08-05 7:14 UTC (permalink / raw) To: Dave Young Cc: akpm, mm-commits, linux-kernel, Linux Netdev List, David S. Miller, Jiri Pirko, Ingo Molnar Dave Young a écrit : > Hi andrew, > > I see following lockdep warning with this release: > > [ 0.474144] INFO: trying to register non-static key. > [ 0.474144] the code is fine but needs lockdep annotation. > [ 0.474144] turning off the locking correctness validator. > [ 0.474144] Pid: 1, comm: swapper Not tainted 2.6.31-rc5-mm1 #7 > [ 0.474144] Call Trace: > [ 0.474144] [<c1047f1e>] register_lock_class+0x58/0x241 > [ 0.474144] [<c1049ab1>] __lock_acquire+0xac/0xb73 > [ 0.474144] [<c1076eb5>] ? __alloc_pages_nodemask+0xe2/0x483 > [ 0.474144] [<c1048b64>] ? mark_lock+0x1e/0x1c7 > [ 0.474144] [<c1048b64>] ? mark_lock+0x1e/0x1c7 > [ 0.474144] [<c1048d50>] ? mark_held_locks+0x43/0x5b > [ 0.474144] [<c10940a6>] ? kmem_cache_alloc+0xac/0x11b > [ 0.474144] [<c104a615>] lock_acquire+0x9d/0xc0 > [ 0.474144] [<c12b8b96>] ? netif_addr_lock_bh+0xd/0xf > [ 0.474144] [<c1330feb>] _spin_lock_bh+0x20/0x2f > [ 0.474144] [<c12b8b96>] ? netif_addr_lock_bh+0xd/0xf > [ 0.474144] [<c12b8b96>] netif_addr_lock_bh+0xd/0xf > [ 0.474144] [<c12bc3c3>] alloc_netdev_mq+0xf9/0x1a5 > [ 0.474144] [<c121f016>] ? loopback_setup+0x0/0x74 > [ 0.474144] [<c1578d49>] loopback_net_init+0x20/0x5d > [ 0.474144] [<c12b7907>] register_pernet_operations+0x13/0x15 > [ 0.474144] [<c12b7970>] register_pernet_device+0x1f/0x47 > [ 0.474144] [<c157ee8d>] net_dev_init+0xfe/0x14d > [ 0.474144] [<c1001137>] do_one_initcall+0x4a/0x11a > [ 0.474144] [<c157ed8f>] ? net_dev_init+0x0/0x14d > [ 0.474144] [<c1067e00>] ? register_irq_proc+0x64/0xa8 > [ 0.474144] [<c1067e97>] ? init_irq_proc+0x53/0x60 > [ 0.474144] [<c1557535>] kernel_init+0x129/0x17a > [ 0.474144] [<c155740c>] ? kernel_init+0x0/0x17a > [ 0.474144] [<c1003d47>] kernel_thread_helper+0x7/0x10 > > -- Hmm, it seems addr_list_lock is not initialized at the right place... commit a6ac65db addded a netif_addr_lock_bh() in dev_unicast_init() We initialize dev->addr_list_lock in register_netdevice(), we should init it earlier, right after allocation and before dev_unicast_init() But dev->type being 0, we probably cannot call netdev_set_addr_lockdep_class() at this point... David, what do you think ? Is it safe to call netdev_set_addr_lockdep_class() in register_netdevice(), after lock being used one time in dev_unicast_init() ? Thank you [PATCH] net: Init dev->addr_list_lock in alloc_netdev_mq() We initialize dev->addr_list_lock in register_netdevice(), we should init it earlier, right after allocation and before dev_unicast_init() Reported-by: Dave Young <hidave.darkstar@gmail.com> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> --- diff --git a/net/core/dev.c b/net/core/dev.c index 43e61ba..e50356b 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -4728,7 +4728,6 @@ int register_netdevice(struct net_device *dev) BUG_ON(dev->reg_state != NETREG_UNINITIALIZED); BUG_ON(!net); - spin_lock_init(&dev->addr_list_lock); netdev_set_addr_lockdep_class(dev); netdev_init_queue_locks(dev); @@ -5106,6 +5105,7 @@ struct net_device *alloc_netdev_mq(int sizeof_priv, const char *name, dev = PTR_ALIGN(p, NETDEV_ALIGN); dev->padded = (char *)dev - (char *)p; + spin_lock_init(&dev->addr_list_lock); if (dev_addr_init(dev)) goto free_tx; ^ permalink raw reply related [flat|nested] 12+ messages in thread
end of thread, other threads:[~2009-08-05 15:19 UTC | newest] Thread overview: 12+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2009-08-04 21:25 mmotm 2009-08-04-14-22 uploaded akpm 2009-08-04 22:50 ` mmotm 2009-08-04-14-22 uploaded (ummunotify) Randy Dunlap 2009-08-04 23:16 ` Andrew Morton 2009-08-05 0:38 ` Roland Dreier 2009-08-05 4:47 ` Roland Dreier 2009-08-05 15:19 ` Randy Dunlap 2009-08-05 1:48 ` [PATCH -mmotm] staging/udlfb: fix printk format warning Randy Dunlap 2009-08-05 1:54 ` [PATCH -mmotm] xfrm4: fix build when SYSCTLs are disabled Randy Dunlap 2009-08-05 3:20 ` David Miller 2009-08-05 6:39 ` mmotm 2009-08-04-14-22 uploaded Dave Young 2009-08-05 7:06 ` Andrew Morton 2009-08-05 7:14 ` Eric Dumazet
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox