2.6.11-mm2
Subsystems (6)
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.11/2.6.11-mm2/
- UML updates
- fbdev updates
- nfs4 server updates
- new megaraid driver, new iscsi driver, fatfs update, fbdev updates, kitchen sink.
- The below description of what has been added and what has been merged is probably a bit more inaccurate than usual due to my having shuffled things around and confusing myself.
- I dropped the list-of-all-patches from this email due to it being rather long. The unexpurgated version is at ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.11/2.6.11-mm2/announce.txt
Changes since 2.6.11-mm1:
linus.patch
bk-acpi.patch
bk-alsa.patch
bk-audit.patch
bk-cifs.patch
bk-cpufreq.patch
bk-driver-core.patch
bk-drm.patch
bk-drm-via.patch
bk-ide-dev.patch
bk-ieee1394.patch
bk-input.patch
bk-kbuild.patch
bk-kconfig.patch
bk-netdev.patch
bk-ntfs.patch
bk-scsi.patch
bk-usb.patch
bk-watchdog.patch
Latest versions of subsystem trees
-dv1394-ioctl-retval-fix.patch -nfsd--sgi-921857-find-broken-with-nohide-on-nfsv3.patch -nfsd--exportfs-reduce-stack-usage.patch -nfsd--svcrpc-add-a-per-flavor-set_client-method.patch -nfsd--svcrpc-rename-pg_authenticate.patch -nfsd--svcrpc-move-export-table-checks-to-a-per-program-pg_add_client-method.patch -nfsd--nfs4-use-new-pg_set_client-method-to-simplify-nfs4-callback-authentication.patch -nfsd--lockd-dont-try-to-match-callback-requests-against-export-table.patch -aoe-fix-printk-warning-sparc64.patch
-audit-mips-fix.patch
-ib-simplify-mad-code.patch
-ib-fix-vendor-mad-deregistration.patch
-ib-sparse-fixes.patch
-ib-mthca-add-missing-break.patch -ib-mthca-fix-reset-value-endianness.patch -ib-ipoib-fix-rx-memory-leak.patch -ib-ipoib-use-list_for_each_entry_safe-when-required.patch -ib-ipoib-rename-global-symbols.patch
-ib-ipoib-small-fixes.patch -ib-ipoib-dont-call-ipoib_put_ah-with-lock-held.patch -ib-ipoib-fix-locking-on-path-deletion.patch -ib-fix-ib_find_cached_gid-port-numbering.patch -ib-mthca-cq-minor-tweaks.patch
-ib-mthca-improve-cq-locking-part-1.patch -ib-mthca-improve-cq-locking-part-2.patch
-ib-mthca-cq-cleanups.patch
-ib-remove-unsignaled-receives.patch -ib-mthca-map-registers-for-mem-free-mode.patch -ib-mthca-add-uar-allocation.patch -ib-mthca-dynamic-context-memory-mapping-for-mem-free-mode.patch -ib-mthca-mem-free-memory-region-support.patch -ib-mthca-mem-free-eq-initialization.patch -ib-mthca-mem-free-interrupt-handling.patch -ib-mthca-tweak-firmware-command-debug-messages.patch -ib-mthca-tweak-map_icm_page-firmware-command.patch -ib-mthca-mem-free-doorbell-record-allocation.patch -ib-mthca-mem-free-doorbell-record-writing.patch -ib-mthca-refactor-cq-buffer-allocate-free.patch -ib-mthca-mem-free-cq-initialization.patch -ib-mthca-mem-free-cq-operations.patch -ib-mthca-mem-free-qp-initialization.patch -ib-mthca-mem-free-address-vectors.patch -ib-mthca-mem-free-work-request-posting.patch -ib-mthca-mem-free-multicast-table.patch -ib-mthca-qp-locking-optimization.patch -ib-mthca-implement-query-of-device-caps.patch -ib-mad-cancel-callbacks-from-thread.patch
-initialize-spin-locks.patch -nfsd--nfsd-remove-pg_authenticate-field.patch -nfsd--global-static-cleanups-for-nfsd.patch -nfsd--change-nfsd-reply-cache-to-use-listh-lists.patch -nfsd-discard-cache_hashed-flag-keeping-information-in-refcount-instead.patch -preliminary-w83627ehf-hardware-monitoring-driver.patch -i2c-chips-add-adt7461-support-to-lm90-driver.patch -i2c-chips-ds1337-rtc-driver.patch -snd_trident_gameport_trigger-warning-fix.patch -6300esb-watchdog-driver.patch
-randomisation-global-sysctl.patch
-randomisation-global-sysctl-fix.patch -randomisation-infrastructure.patch -fix-compilation-of-uml-after-the-stack-randomization-patches.patch -randomisation-add-pf_randomize.patch -randomisation-stack-randomisation.patch -randomisation-mmap-randomisation.patch -randomisation-enable-by-default.patch -randomisation-addr_no_randomize-personality.patch -randomisation-top-of-stack-randomization.patch -move-accounting-function-calls-out-of-critical-vm-code-pathspatch.patch -invalidate-range-of-pages-after-direct-io-write.patch -write-and-wait-on-range-before-direct-io-read.patch -only-unmap-what-intersects-a-direct_io-op.patch -make-tree_lock-an-rwlock.patch -ppc-ppc64-abstract-cpu_feature-checks.patch -ppc32-dont-create-tmp_gas_check.patch -ppc32-fix-mv64x60-register-relocation-bug-in-bootwrapper.patch -ppc32-update-arch-ppc-configs-pmac_defconfig.patch -ppc32-artesyn-katana-platform-update.patch -ppc32-artesyn-katana-enet-update.patch -ppc32-move-irq_descstatus-irq_level-bit-setup-to-xilinx_picc.patch -ppc32-lindentify-ppc4xx-pic-driver.patch -ppc32-ppc4xx-pic-ack-parent-uic-in-disable_irq.patch -ppc32-incorrect-define-in-include-asm-ppc-cpm2h.patch -ppc32-bogus-definition-of-__cmpxchg_u32.patch -ppc32-fix-whitespace-for-85xx-cds-common-platform.patch -ppc32-move-from-using-define-svr_-to-cur_ppc_sys_spec-name.patch -ppc32-mv64360_pic-non-zero-irq-base.patch -ppc32-add-gpio-irq-definitions-for-mv64x60-parts.patch -ppc32-support-openbios-u-boot-for-ebony.patch -ppc32-add-support-for-the-dallas-1553-rtc-nvram.patch -ppc32-add-support-to-use-the-ds1553-rtc-nvram-on-mpc8555.patch -ppc32-trivial-bug-fix-in-critical_exception-macro.patch -ppc64-remove-unneeded-includes-from-pseries_nvramc.patch -ppc64-collect-and-export-low-level-cpu-usage-statistics.patch -ppc64-move-systemcfg-out-of-heads.patch
-ppc64-defconfig-updates.patch
-ppc64-distribute-export_symbols.patch -ppc64-implement-a-vdso-and-use-it-for-signal-trampoline.patch -ppc64-implement-a-vdso-and-use-it-for-signal-trampoline-gas-workaround.patch -ppc64-generic-hotplug-cpu-support.patch -ppc64-generic-hotplug-cpu-support-fix.patch -ppc64-disable-hmt-for-rs64-cpus.patch -use-vmlinux-during-make-install-on-ppc64.patch -ppc64-functions-to-reserve-performance-monitor-hardware.patch -ppc64-fix-thinko-in-prom_initc.patch -ppc64-fix-zimage-wrapper-incorrect-size-to-flush_cache.patch -ppc64-offb-remapped-address.patch -mips-add-tanbac-tb0219-base-board-driver.patch -mips-calculate-clock-at-any-time.patch
-mips-update-cmu.patch
-remove-dead-cyrix-centaur-mtrr-init-code.patch -uml-trivial-removal-of-makefile-var.patch -cancel_rearming_delayed_work.patch
-ipvs-deadlock-fix.patch
Merged
+md-fix-typo-in-super_1_sync.patch
RAID fix
+ppc32-trivial-fix-for-e500-oprofile-build.patch
ppc32 build fix
+ppc-raid6-build-fix.patch
ppc32 RAID build fix
+x86_64-pte-warning-fix.patch
x86_64 warning fix
+remove-drivers-char-tpqic02c.patch
Kill dead code
+ppc64-revert-implement-a-vdso-and-use-it-for-signal-trampoline-gas-workaround.patch
Fix ppc64 VDSO code
+sh64-initial-checkstack-port.patch +sh64-update-richard-curnows-maintainers-info.patch +sh64-align-slab-caches-on-an-8-byte-boundary.patch +sh64-defconfig-updates.patch +sh64-iomap-interface.patch +sh64-module-support.patch +sh64-generic-hardirqs.patch +sh64-ide-updates.patch +sh64-tmu-init-bugfix.patch +sh64-send-cli-sti-back-from-whence-it-came.patch +sh64-beat-dcache-disabling-back-into-submission.patch +sh64-merge-updates.patch +sh-defconfig-updates.patch +sh-generic-hardirqs.patch +sh-hp620-updates.patch +sh-framebuffer-updates.patch +sh-update-cpufreq-driver-for-cpumask.patch +sh-merge-updates.patch
sh/sh64 updates
+support-hpet-with-a-single-timer-for-system-time.patch
HPET fix
+remove-dead-cyrix-centaur-mtrr-init-code.patch
Cleanup
+swsusp-do-not-use-higher-order-memory-allocations-on-suspend.patch
swsusp memory management fix
+update-suspend-to-ram-vs-video-documentation.patch
swsusp docs
+swsusp-fails-to-suspend-if-config_debug_pagealloc-is-also-enabled.patch
swsusp runtime warning
+kconfig-debug_pagealloc-and-software_suspend-are-incompatible-on-i386.patch
swsusp Kconfig fix
+arm-rtc-build-fix.patch
ARM build fix
+xscale-8250-patches-cause-malfunction-on-amd-8111.patch
8250 fix
+acpi-toshiba-failure-handling.patch
ACPI fix
+include-linux-soundcardh-endianness-fix.patch
Fix oss drivers on big-endian hardware
+ide-serverworks-fix-section-references.patch
IDE sectioning fix
+implement-compat_ioctl-for-joydev.patch
input driver compat support
+psmouse-warning-fix.patch +sound-pci-cs4281c-fix-typos-in-the-support_joystick=n-case.patch
input driver fixlets
+uml-make-deb-pkg-build-target-build-a-debian-style-user-mode-linux-package.patch
UML deb packaging fix
+arch-i386-pci-i386c-use-new-for_each_pci_dev-macro.patch
cleanup
+megaraid_sas-announcing-new-module-for.patch
New megaraid SAS driver
+open-iscsi-scsi.patch
+open-iscsi-headers.patch
+open-iscsi-kconfig.patch
+open-iscsi-makefile.patch
+open-iscsi-netlink.patch
+open-iscsi-doc.patch
iSCSI driver
+hw-watchdog-vs-softdog-fix.patch
Don't allow the software watchdog driver to override hardware ones.
+vmalloc-introduce-__vmalloc_area-function.patch +vmalloc-use-__vmalloc_area-in-arch-arm.patch +vmalloc-use-__vmalloc_area-in-arch-sparc64.patch +vmalloc-use-__vmalloc_area-in-arch-x86_64.patch +vmalloc-use-list-of-pages-instead-of-array-in-vm_struct.patch
vmalloc cleanups
+no-arch-specific-mem_map-init.patch
mem_map initialisation consolidation
-must-fix.patch
Dropped.
-fix-buggy-ieee80211_crypt_-selects.patch
Was wrong.
-x25_create-initializing-socket-data-twice.patch
Was also wrong
+drivers-net-myri_codeh-cleanup.patch
Kill huge all-nulls array
+e100-napi-fixes.patch
Fix e100 NAPI handling
+remove-last_rx-update-from-loopback-device.patch
Speed up the net loop device
+selinux-enhanced-mls-support.patch +selinux-pass-requested-protection-to-security_file_mmap-mprotect-hooks.patch
SELinux feature work
+ppc64-invert-dma-mapping-routines.patch
ppc64 update
+x86-abstract-discontigmem-setup-fix.patch
Fix x86-abstract-discontigmem-setup.patch
+x86-disable-msi-for-amd-8131.patch
MSI quirk
+x86-64-kconfig-typo-trivial.patch
+x86_64-remove-old-decl-trivial.patch
+x86_64-avoid-panic-lockup.patch
x86_64 updates
-xen-vmm-4-add-ptep_establish_new-to-make-va-available.patch -xen-vmm-4-return-code-for-arch_free_page.patch -xen-vmm-4-return-code-for-arch_free_page-fix.patch -xen-vmm-4-runtime-disable-of-vt-console.patch -xen-vmm-4-has_arch_dev_mem.patch -xen-vmm-4-split-free_irq-into-teardown_irq.patch
These hit a lot of rejects, so drop them for now.
+uml-2611-updates.patch
+uml-update-defconfig.patch +uml-slirp-driver-tells-the-network-its-not-ethernet.patch +uml-get-rid-of-uneccessary-hostfs-build-trick.patch +uml-fix-some-usercopy-confusion.patch +uml-make-the-ubd-driver-recognize-letters-in-device-names.patch +uml-fix-a-shutdown-hang-caused-by-a-failed-ifconfig.patch +uml-code-cleanup.patch +uml-clean-up-the-syscall-path.patch +uml-make-syscall-debugging-code-configurable.patch +uml-add-a-comment-explaining-pread-availability.patch +uml-remove-useless-sys_mount-wrapper.patch +uml-remove-mm_indirect-reference-in-modify_ldt.patch +uml-fix-a-compile-failure.patch +uml-improve-error-reporting.patch +uml-make-a-bunch-of-driver-functions-static.patch
UML update
-poll-mini-optimisations.patch
Dropped - the poll code is tricky and this optimisation is small and the patch made subtle user-visible changes.
+blockdev-fixes-race-between-mount-umount.patch +blockdev-fixes-race-between-mount-umount-tidy.patch
umount race fix
+invalidate_inode_pages2_range-livelock-fix.patch
Avoid a livelock in direct-io pagecache invalidation
+add-and-use-compat_sigev_pad_size.patch +consolidate-the-last-compat-sigvals.patch +consolidate-the-last-of-the-compat-sigevent-structs.patch
compat layer updates
+cx24110-conexant-frontend-update.patch
+cx24110-conexant-frontend-update-tidy.patch
linuxtv driver fixes
+direct-io-async-short-read-fix.patch
+direct-io-async-short-read-fix-fix.patch
Fix strange AIO-DIO read() behaviour
+nice-and-rt-prio-rlimits.patch
rlimits for niceness and rt-policy.
+del_timer_sync-scalability-patch.patch
+del_timer_sync-scalability-patch-tidy.patch
Speed up del_timer_sync()
inotify.patch
+inotify-fix.patch
New inotify code drop
+ext3-jbd-race-releasing-in-use-journal_heads.patch
JBD race fix
+ext3-writepages-support-for-writeback-mode.patch
Use writepages() for ext3 data=writeback mode
+nfsd4-remove-utf8-checking.patch +nfsd4-create-a-slab-cache-for-stateowners.patch +nfsd4-remove-stateowner-debug-counters.patch +nfsd4-fix-oops-on-nfsd4-shutdown.patch +nfsd4-cbnull-refcount-leak.patch +nfsd4-reclaim-cleanup.patch +nfsd4-move-special-stateid-processing.patch +nfsd4-allow-some-reads-and-writes-during-the-grace-period.patch +nfsd4-use-existing-open-instead-of-reopening-on-read-and-write.patch +nfsd4-miscellaneous-open-cleanup.patch +nfsd4-miscellaneous-open-cleanup-2.patch +nfsd4-miscellaneous-open-cleanup-3.patch +nfsd4-dont-release-nfs4_file-with-associated-delegations.patch +nfsd4-do-callback-replays-by-hand.patch +nfsd4-simplify-open_delegation.patch +nfsd4-simplify-open_delegation-2.patch +nfsd4-miscellaneous-delegation-fixes.patch +nfsd4-remove-unnecessary-check-in-find_delegation_stateid.patch +nfsd4-fix-nfs4_check_delegmode.patch +nfsd4-simplify-clientid-hash-table-searches.patch +nfsd4-simplify-verify_clientid.patch +nfsd4-dont-allow-unconfirmed-renew.patch +nfsd4-provide-no_cb_path-error-on-renew.patch +nfsd4-simplify-find_openstateowner_str.patch +nfsd4-simplify-find-functions.patch +nfsd4-return-callback_ident-in-callbacks.patch +nfsd4-remove-incorrect-kfree-from-callback.patch +nfsd4-make-nfsd4_cb_recall-return-void.patch +nfsd4-fix-callback-cred-refcnt-leak.patch +nfsd4-use-sync-rpc-for-delegation-recall.patch +nfsd4-trivial-callback-cleanup.patch +nfsd4-nfs4_cb_recall-cleanup.patch +nfsd4-remove-dl_recall_cnt.patch +nfsd4-rename-release_stateid_lockowner.patch +nfsd4-keep-lockowners-off-perclient-list.patch +nfsd4-fix-laundromat-delegation-reaping.patch +nfsd4-remove-st_vfs_set.patch +nfsd4-remove-st_vfs_file-checks.patch +nfsd4-fix-cb-race.patch +nfsd4-fix-delegation-refcounting.patch +nfsd4-reorganize-release_deleg.patch +nfsd4-store-file-with-deleg.patch +nfsd4-fix-delegation-filp-sharing.patch +nfsd4-fix-sleep-under-spinlock.patch +nfsd4-allow-io-to-use-deleg-stateid-file.patch +nfsd4-remove-dl_state.patch +nfsd4-fix-delegation-refcount-leak.patch +nfsd4-fix_release_state_owner-prototype.patch +locks-remove-unnecessary-bug.patch +nfsd4-move-delegation-decisions-to-lock_manager-callbacks.patch +nfsd4-eliminate-unnecessary-remove_lease.patch +replace-schedule_timeout-with-msleep.patch
kernel nfs4 server update
+fat-fix-writev-add-aio-support.patch +fat-updated-fat-attributes-patch.patch +fat-fat_readdirx-with-dotok=yes-fix.patch +let-fat-handle-ms_synchronous-flag.patch +fat-rewrite-the-fat-file-allocation-table-access.patch +fat-add-debugging-code-to-fatentc.patch +fat-use-unsigned-int-for-free_clusters-and.patch +fat-struct-vfat_slot_info-cleanup.patch +fat-use-struct-fat_slot_info-for-fat_search_long.patch +fat-add-fat_remove_entries.patch +fat-fat_build_inode-cleanup.patch +fat-use-struct-fat_slot_info-for-fat_scan.patch +fat-use-struct-fat_slot_info-for-msdos_find.patch +fat-vfat_build_slots-cleanup.patch +fat-use-a-same-timestamp-on-some-operations-path.patch +fat-msdos_rename-cleanup.patch +fat-msdos_add_entry-cleanup.patch +fat-allocate-the-cluster-before-adding-the-directory.patch +fat-rewrite-fat_add_entries.patch +fat-use-fat_remove_entries-for-msdos.patch +fat-make-the-fat_get_entry-fat__get_entry-the.patch +fat-i_pos-cleanup.patch +fat-remove-the-multiple-msdos_sb-call.patch +fat-remove-unneed-mark_inode_dirty.patch +fat-fix-fat_truncate.patch +fat-fix-fat_write_inode.patch +fat-use-synchronous-update-for.patch +fat-update-rename-path.patch
+fat-fix-typo.patch
fatfs update: `mount -o sync' support.
+fscache-menuconfig-help-fix-documentation-path.patch
Kconfig hlpe fix
+geodefb-add-geode-framebuffer-driver-sparc-fix.patch
Fix geodefb-add-geode-framebuffer-driver.patch on sparc
+fbdev-add-mode-changing-via-sysfs.patch +fbdev-capture-modelist-change-event.patch +fbcon-cursor-fixes.patch +rivafb-fix-i2c-error-handling.patch +nvidiafb-fix-i2c-error-handling.patch +nvidiafb-some-chipsets-need-a-buffer-pitch-divisible-by-64.patch +fbdev-generic-drawing-function-cleanups-2.patch +fbdev-allow-core-fb-to-be-built-as-a-module.patch +fbdev-allow-core-fb-to-be-built-as-a-module-fix.patch +fbdev-allow-core-fb-to-be-built-as-a-module-fix-fix.patch +savagefb-make-savagefb-one-module.patch +fbdev-cleanups-in-driver-video.patch +radeonfb-pll-access-workaround.patch
framebuffer driver updates
+md-erroneous-sizeof-use-in-raid1.patch +md-raid1-support-for-bitmap-intent-logging-fix.patch +md-fix-deadlock-due-to-md-thread-processing-delayed-requests.patch
Fixes to md patches in -mm.
+verify_area-cleanup-sound-fix.patch
Fix verify_area-cleanup-sound.patch
+verify_area-cleanup-deprecate-fix.patch
Fix verify_area-cleanup-deprecate.patch
+arch_alpha_kernel_osf_sys-tiny-cleanup-retvalpatch.patch +arch_alpha_kernel_osf_sys-tiny-cleanup-retvalpatch-fix.patch +fs_compat-tiny-cleanup-retvalpatch.patch +arch_mips_kernel_irixsig-slight-rework-of-irix_sigsendsetpatch.patch +arch_sparc_kernel_ptrace-pointless-assignment-and-shadowed-varpatch.patch +verify_area-cleanup-feature-removal-schedulepatch.patch
Various little cleanups
+fuse-device-functions-use-after-free-fix.patch +fuse-file-operations-use-generic_file_llseek.patch +fuse-nfs-export-inode-leak-fix.patch
FUSE fixes
+list_for_each_entry-arch-i386-mm-pageattrc.patch +gus_wavec-vfree-checking-cleanups.patch +i386-traps-replace-schedule_timeout-with-ssleep.patch +radio-sf16fmi-cleanup.patch +unified-spinlock-initialization-include-linux-waith.patch +scripts-mod-sumversionc-replace-strtok-with-strsep.patch +char-snsc-reorder-set_current_state-and-add_wait_queue.patch +char-hvsi-use-wait_event_timeout.patch +char-sx-replace-schedule_timeout-with-msleep_interruptible.patch +serial-crisv10-replace-schedule_timeout-with-msleep.patch +ftape-fdc-io-insert-set_current_state-before-schedule_timeout.patch +tc-zs-replace-schedule_timeout-with-msleep_interruptible.patch +delete-unused-file-drivers_char_hp600_keybc.patch +drivers-isdn-tpam-convert-to-pci_register_driver.patch +drivers-isdn-hardware-avm-convert-to-pci_register_driver.patch +message-mptbase-replace-schedule_timeout-with-ssleep.patch +drivers-message-fusion-convert-to-pci_register_driver.patch +drivers-eisa-convert-to-pci_register_driver.patch +char-lp-remove-interruptible_sleep_on_timeout-usage.patch +char-istallion-replace-interruptible_sleep_on-with-wait_event_interruptible.patch +list_for_each_entry-arch-um-drivers-chan_kernc.patch +mips-fix-section-type-conflict-about-mpc30x.patch +macintosh-mediabay-replace-schedule_timeout-with-msleep_interruptible.patch +drivers-macintoshisdn-convert-to-pci_register_driver.patch +fix-error-reported-by-nfsd-which-it-gets-etxtbsy.patch
Little code tweaks.
number of patches in -mm: 943
number of changesets in external trees: 738
number of patches in -mm only: 925
total patches: 1663
All 943 patches:
See ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.11/2.6.11-mm2/announce.txt
With the BUG_ON() use in linux/list.h I get this:
CC init/initramfs.o
In file included from include/linux/wait.h:23,
from include/linux/fs.h:205,
from init/initramfs.c:2:
include/linux/list.h: In function `list_del':
include/linux/list.h:164: warning: implicit declaration of function `printk'
In file included from include/linux/spinlock.h:13,
from include/linux/wait.h:25,
from include/linux/fs.h:205,
from init/initramfs.c:2:include/linux/kernel.h: At top level:include/linux/kernel.h:116: error: conflicting types for 'printk'include/linux/kernel.h:116: note: a parameter list with an ellipsis can't match an empty parameter name list declaration include/linux/list.h:164: error: previous implicit declaration of 'printk' was here
make[1]: *** [init/initramfs.o] Error 1
make: *** [init] Error 2
It looks like this is a result of having asm/bug.h included and not having linux/kernel.h included before it, as adding that makes this go away. This seems like it will be a problem for platforms that use printk() in their BUG() definitions (in the HAVE_ARCH_BUG case) without dragging in this header from somewhere else.
With this I can build on sh again. The other solution is to add the include to asm/bug.h directly, but it would be nice to avoid linux/ includes from asm/ context in general..
Thoughts? Or ideas for a more appropriate fix?
include/linux/list.h +1 -0
@@ -5,6 +5,7 @@#include <linux/stddef.h> #include <linux/prefetch.h> +#include <linux/kernel.h> #include <asm/system.h> #include <asm/bug.h>
Quoted 11 lines · Paul Mundt
With this I can build on sh again. The other solution is to add the
include toasm/bug.hdirectly, but it would be nice to avoid linux/ includes from asm/ context in general..Thoughts? Or ideas for a more appropriate fix?
---
linux-sh-2.6.11-mm2.orig/include/linux/list.h2005-03-08 15:46:50.601565604 +0200
+++linux-sh-2.6.11-mm2/include/linux/list.h2005-03-08 15:46:53.882114403 +0200
@@ -5,6 +5,7 @@
Quoted 5 lines
#include <
linux/stddef.h>
#include <linux/prefetch.h>
+#include <linux/kernel.h>
#include <asm/system.h>
#include <asm/bug.h>
It always feels bad doing something like the above, because you *know* it's going to slow the compile down.
Happily, this change is only needed in -mm, so I'll add it to list_del-debug.patch, thanks.
Re: 2.6.11-mm2 (compile stats)
In reply to Andrew MortonCompile Statistics
------------------
Build Tree: mm
Compiler: gcc 3.4.1
Detailed results: http://developer.osdl.org/cherry/compile/
Summary of changes from 2.6.11-mm1
----------------------------------
Defconfig (bzImage): no change Allnoconfig (bzImage): no change Allyesconfig (bzImage): +1 warnings Allyesconfig (modules): no change Allmodconfig (bzImage): no change Allmodconfig (modules: +4 warnings
Kernel bzImage bzImage bzImage modules bzImage modules
(defconfig) (allno) (allyes) (allyes) (allmod) (allmod)
--------------- ---------- -------- -------- -------- -------- --------
2.6.11-mm2 12w/0e 0w/0e 190w/0e 6w/0e 16w/0e 177w/0e 2.6.11-mm1 12w/0e 0w/0e 189w/0e 6w/0e 16w/0e 173w/0e 2.6.11-rc5-mm1 21w/0e 0w/0e 262w/0e 10w/0e 26w/0e 238w/0e 2.6.11-rc4-mm1 22w/0e 0w/0e 271w/0e 10w/0e 25w/0e 249w/0e 2.6.11-rc3-mm2 14w/0e 0w/0e 192w/0e 6w/0e 19w/0e 172w/0e 2.6.11-rc3-mm1 13w/10e 0w/7e 196w/12e 6w/0e 18w/12e 177w/0e 2.6.11-rc2-mm2 15w/0e 0w/0e 201w/0e 6w/0e 18w/0e 182w/0e 2.6.11-rc2-mm1 15w/0e 0w/0e 306w/14e 6w/0e 18w/0e 294w/0e 2.6.11-rc1-mm2 21w/0e 0w/0e 316w/9e 6w/0e 22w/0e 294w/0e 2.6.11-rc1-mm1 21w/0e 0w/0e 319w/0e 6w/0e 23w/0e 298w/0e 2.6.10-mm3 21w/0e 0w/0e 320w/0e 6w/0e 23w/0e 299w/0e 2.6.10-mm2 21w/0e 0w/0e 440w/0e 6w/0e 23w/0e 420w/0e 2.6.10-mm1 12w/0e 0w/0e 414w/0e 6w/0e 17w/0e 399w/0e 2.6.10-rc3-mm1 12w/0e 0w/0e 414w/0e 6w/0e 16w/0e 401w/0e 2.6.10-rc2-mm4 15w/0e 1w/7e 421w/0e 6w/0e 16w/0e 408w/0e 2.6.10-rc2-mm3 15w/0e 0w/0e 1255w/12e 66w/0e 16w/0e 1507w/0e 2.6.10-rc2-mm2 15w/0e 0w/0e 1362w/15e 65w/0e 16w/0e 1612w/2e 2.6.10-rc2-mm1 15w/0e 0w/0e 1405w/11e 65w/0e 16w/0e 1652w/0e 2.6.10-rc1-mm5 16w/0e 0w/0e 1587w/0e 65w/0e 20w/0e 1834w/0e 2.6.10-rc1-mm4 16w/0e 0w/0e 1485w/9e 65w/0e 20w/0e 1732w/0e (Compiles with gcc 3.2.2) 2.6.10-rc1-mm3 7w/31e 0w/9e 496w/141e 4w/0e 4w/50e 693w/83e 2.6.10-rc1-mm2 16w/1e 1w/1e 529w/1e 4w/0e 12w/1e 729w/0e 2.6.10-mm1 12w/0e 0w/0e 414w/0e 6w/0e 17w/0e 399w/0e 2.6.10-rc3-mm1 12w/0e 0w/0e 414w/0e 6w/0e 16w/0e 401w/0e 2.6.10-rc2-mm4 15w/0e 1w/7e 421w/0e 6w/0e 16w/0e 408w/0e 2.6.10-rc2-mm3 15w/0e 0w/0e 1255w/12e 66w/0e 16w/0e 1507w/0e 2.6.10-rc2-mm2 15w/0e 0w/0e 1362w/15e 65w/0e 16w/0e 1612w/2e 2.6.10-rc2-mm1 15w/0e 0w/0e 1405w/11e 65w/0e 16w/0e 1652w/0e 2.6.10-rc1-mm5 16w/0e 0w/0e 1587w/0e 65w/0e 20w/0e 1834w/0e 2.6.10-rc1-mm4 16w/0e 0w/0e 1485w/9e 65w/0e 20w/0e 1732w/0e (Compiles with gcc 3.2.2) 2.6.10-rc1-mm3 7w/31e 0w/9e 496w/141e 4w/0e 4w/50e 693w/83e 2.6.10-rc1-mm2 16w/1e 1w/1e 529w/1e 4w/0e 12w/1e 729w/0e 2.6.10-rc1-mm1 16w/1e 1w/1e 592w/1e 4w/0e 13w/1e 857w/0e 2.6.9-mm1 6w/1e 1w/1e 1761w/15e 65w/0e 9w/0e 2086w/0e 2.6.9-rc4-mm1 5w/0e 0w/0e 1766w/11e 43w/0e 6w/0e 1798w/0e 2.6.9-rc3-mm3 5w/0e 0w/0e 1756w/11e 43w/0e 4w/0e 1786w/0e 2.6.9-rc3-mm2 10w/0e 4w/9e 1754w/14e 43w/0e 4w/0e 1782w/1e 2.6.9-rc3-mm1 10w/0e 4w/10e 1768w/0e 43w/0e 4w/0e 1796w/0e 2.6.9-rc2-mm4 10w/0e 5w/0e 2573w/0e 41w/0e 4w/0e 2600w/0e 2.6.9-rc2-mm3 10w/0e 5w/0e 2400w/0e 41w/0e 4w/0e 2435w/0e 2.6.9-rc2-mm2 10w/0e 5w/0e 2919w/0e 41w/0e 4w/0e 2954w/0e 2.6.9-rc2-mm1 0w/0e 2w/0e 3541w/9e 41w/0e 3w/9e 3567w/0e 2.6.9-rc1-mm4 0w/0e 1w/0e 55w/0e 3w/0e 2w/0e 48w/0e 2.6.9-rc1-mm3 0w/0e 0w/0e 55w/13e 3w/0e 1w/0e 49w/1e 2.6.9-rc1-mm2 0w/0e 0w/0e 53w/11e 3w/0e 1w/0e 47w/0e 2.6.9-rc1-mm1 0w/0e 0w/0e 80w/0e 4w/0e 1w/0e 74w/0e 2.6.8.1-mm4 0w/0e 0w/0e 78w/0e 4w/0e 1w/0e 73w/0e 2.6.8.1-mm3 0w/96e 0w/0e 78w/97e 4w/0e 1w/0e 74w/89e 2.6.8.1-mm2 0w/96e 0w/0e 78w/97e 4w/0e 1w/0e 74w/89e 2.6.8.1-mm1 0w/0e 0w/0e 78w/0e 4w/0e 1w/0e 74w/0e 2.6.8-rc4-mm1 0w/0e 0w/5e 81w/0e 4w/0e 1w/0e 75w/0e 2.6.8-rc3-mm2 1w/7e 0w/5e 82w/8e 4w/0e 2w/8e 75w/0e 2.6.8-rc3-mm1 0w/0e 1w/5e 81w/9e 4w/0e 1w/0e 75w/0e 2.6.8-rc2-mm2 0w/0e 4w/5e 87w/9e 4w/0e 1w/0e 80w/0e 2.6.8-rc2-mm1 0w/0e 0w/0e 83w/9e 3w/0e 1w/0e 81w/0e 2.6.8-rc1-mm1 0w/0e 0w/0e 88w/9e 5w/0e 1w/0e 87w/0e 2.6.7-mm7 0w/0e 0w/0e 89w/9e 5w/0e 1w/0e 84w/0e 2.6.7-mm6 0w/0e 0w/0e 85w/9e 5w/0e 1w/0e 80w/0e 2.6.7-mm5 0w/0e 0w/0e 92w/0e 5w/0e 1w/0e 87w/0e 2.6.7-mm4 0w/0e 0w/0e 94w/0e 5w/0e 1w/0e 89w/0e 2.6.7-mm3 0w/0e 0w/0e 90w/6e 5w/0e 1w/0e 86w/0e 2.6.7-mm2 0w/0e 0w/0e 109w/0e 7w/0e 1w/0e 106w/0e 2.6.7-mm1 0w/0e 5w/0e 108w/0e 5w/0e 1w/0e 104w/0e 2.6.7-rc3-mm2 0w/0e 5w/0e 105w/10e 5w/0e 2w/0e 100w/2e 2.6.7-rc3-mm1 0w/0e 5w/0e 104w/10e 5w/0e 2w/0e 100w/2e 2.6.7-rc2-mm2 0w/0e 5w/0e 109w/10e 5w/0e 2w/0e 105w/2e 2.6.7-rc2-mm1 0w/0e 12w/0e 158w/13e 5w/0e 3w/0e 153w/4e 2.6.7-rc1-mm1 0w/0e 6w/0e 108w/0e 5w/0e 2w/0e 104w/0e 2.6.6-mm5 0w/0e 0w/0e 109w/5e 5w/0e 2w/0e 110w/0e 2.6.6-mm4 0w/0e 0w/0e 112w/9e 5w/0e 2w/5e 106w/1e 2.6.6-mm3 3w/9e 0w/0e 120w/26e 5w/0e 2w/0e 114w/10e 2.6.6-mm2 4w/11e 0w/0e 120w/24e 6w/0e 2w/0e 118w/9e 2.6.6-mm1 1w/0e 0w/0e 118w/25e 6w/0e 2w/0e 114w/10e 2.6.6-rc3-mm2 0w/0e 0w/0e 117w/ 0e 8w/0e 2w/0e 116w/0e 2.6.6-rc3-mm1 0w/0e 0w/0e 120w/10e 8w/0e 2w/0e 152w/2e 2.6.6-rc2-mm2 0w/0e 1w/5e 118w/ 0e 8w/0e 3w/0e 118w/0e 2.6.6-rc2-mm1 0w/0e 0w/0e 115w/ 0e 7w/0e 3w/0e 116w/0e 2.6.6-rc1-mm1 0w/0e 0w/7e 122w/ 0e 7w/0e 4w/0e 122w/0e 2.6.5-mm6 0w/0e 0w/0e 123w/ 0e 7w/0e 4w/0e 124w/0e 2.6.5-mm5 0w/0e 0w/0e 119w/ 0e 7w/0e 4w/0e 120w/0e 2.6.5-mm4 0w/0e 0w/0e 120w/ 0e 7w/0e 4w/0e 121w/0e 2.6.5-mm3 0w/0e 1w/0e 121w/12e 7w/0e 3w/0e 123w/0e 2.6.5-mm2 0w/0e 0w/0e 128w/12e 7w/0e 3w/0e 134w/0e 2.6.5-mm1 0w/0e 5w/0e 122w/ 0e 7w/0e 3w/0e 124w/0e 2.6.5-rc3-mm4 0w/0e 0w/0e 124w/ 0e 8w/0e 4w/0e 126w/0e 2.6.5-rc3-mm3 0w/0e 5w/0e 129w/14e 8w/0e 4w/0e 129w/6e 2.6.5-rc3-mm2 0w/0e 5w/0e 130w/14e 8w/0e 4w/0e 129w/6e 2.6.5-rc3-mm1 0w/0e 5w/0e 129w/ 0e 8w/0e 4w/0e 129w/0e 2.6.5-rc2-mm5 0w/0e 5w/0e 130w/ 0e 8w/0e 4w/0e 129w/0e 2.6.5-rc2-mm4 0w/0e 5w/0e 134w/ 0e 8w/0e 3w/0e 133w/0e 2.6.5-rc2-mm3 0w/0e 5w/0e 134w/ 0e 8w/0e 3w/0e 133w/0e 2.6.5-rc2-mm2 0w/0e 5w/0e 137w/ 0e 8w/0e 3w/0e 134w/0e 2.6.5-rc2-mm1 0w/0e 5w/0e 136w/ 0e 8w/0e 3w/0e 134w/0e 2.6.5-rc1-mm2 0w/0e 5w/0e 135w/ 5e 8w/0e 3w/0e 133w/0e 2.6.5-rc1-mm1 0w/0e 5w/0e 135w/ 5e 8w/0e 3w/0e 133w/0e 2.6.4-mm2 1w/2e 5w/2e 144w/10e 8w/0e 3w/2e 144w/0e 2.6.4-mm1 1w/0e 5w/0e 146w/ 5e 8w/0e 3w/0e 144w/0e 2.6.4-rc2-mm1 1w/0e 5w/0e 146w/12e 11w/0e 3w/0e 147w/2e 2.6.4-rc1-mm2 1w/0e 5w/0e 144w/ 0e 11w/0e 3w/0e 145w/0e 2.6.4-rc1-mm1 1w/0e 5w/0e 147w/ 5e 11w/0e 3w/0e 147w/0e 2.6.3-mm4 1w/0e 5w/0e 146w/ 0e 7w/0e 3w/0e 142w/0e 2.6.3-mm3 1w/2e 5w/2e 146w/15e 7w/0e 3w/2e 144w/5e 2.6.3-mm2 1w/8e 5w/0e 140w/ 0e 7w/0e 3w/0e 138w/0e 2.6.3-mm1 1w/0e 5w/0e 143w/ 5e 7w/0e 3w/0e 141w/0e 2.6.3-rc3-mm1 1w/0e 0w/0e 144w/13e 7w/0e 3w/0e 142w/3e 2.6.3-rc2-mm1 1w/0e 0w/265e 144w/ 5e 7w/0e 3w/0e 145w/0e 2.6.3-rc1-mm1 1w/0e 0w/265e 141w/ 5e 7w/0e 3w/0e 143w/0e 2.6.2-mm1 2w/0e 0w/264e 147w/ 5e 7w/0e 3w/0e 173w/0e 2.6.2-rc3-mm1 2w/0e 0w/265e 146w/ 5e 7w/0e 3w/0e 172w/0e 2.6.2-rc2-mm2 0w/0e 0w/264e 145w/ 5e 7w/0e 3w/0e 171w/0e 2.6.2-rc2-mm1 0w/0e 0w/264e 146w/ 5e 7w/0e 3w/0e 172w/0e 2.6.2-rc1-mm3 0w/0e 0w/265e 144w/ 8e 7w/0e 3w/0e 169w/0e 2.6.2-rc1-mm2 0w/0e 0w/264e 144w/ 5e 10w/0e 3w/0e 171w/0e 2.6.2-rc1-mm1 0w/0e 0w/264e 144w/ 5e 10w/0e 3w/0e 171w/0e 2.6.1-mm5 2w/5e 0w/264e 153w/11e 10w/0e 3w/0e 180w/0e 2.6.1-mm4 0w/821e 0w/264e 154w/ 5e 8w/1e 5w/0e 179w/0e 2.6.1-mm3 0w/0e 0w/0e 151w/ 5e 10w/0e 3w/0e 177w/0e 2.6.1-mm2 0w/0e 0w/0e 143w/ 5e 12w/0e 3w/0e 171w/0e 2.6.1-mm1 0w/0e 0w/0e 146w/ 9e 12w/0e 6w/0e 171w/0e 2.6.1-rc2-mm1 0w/0e 0w/0e 149w/ 0e 12w/0e 6w/0e 171w/4e 2.6.1-rc1-mm2 0w/0e 0w/0e 157w/15e 12w/0e 3w/0e 185w/4e 2.6.1-rc1-mm1 0w/0e 0w/0e 156w/10e 12w/0e 3w/0e 184w/2e 2.6.0-mm2 0w/0e 0w/0e 161w/ 0e 12w/0e 3w/0e 189w/0e 2.6.0-mm1 0w/0e 0w/0e 173w/ 0e 12w/0e 3w/0e 212w/0e
John
2.6.11-mm2 fremap.c compile error
In reply to Andrew Mortonmm/fremap.c:33:48: macro "flush_cache_page" passed 3 arguments, but takes just 2 mm/fremap.c: In function `zap_pte':mm/fremap.c:33: error: `flush_cache_page' undeclared (first use in this function) mm/fremap.c:33: error: (Each undeclared identifier is reported only once mm/fremap.c:33: error: for each function it appears in.) mm/fremap.c:34:55: macro "ptep_get_and_clear" passed 3 arguments, but takes just 1 mm/fremap.c:34: error: ptep_get_and_clear' undeclared (first use in this function) mm/fremap.c:48:41: macro "pte_clear" passed 3 arguments, but takes just 1 mm/fremap.c:48: error: pte_clear' undeclared (first use in this function) mm/fremap.c: In function `install_page':mm/fremap.c:97: warning: implicit declaration of function `set_pte_at' make[1]: *** [mm/fremap.o] Error 1
make: *** [mm] Error 2
The same config worked fine for 2.6.11-mm1:CONFIG_X86=yCONFIG_MMU=yCONFIG_UID16=yCONFIG_GENERIC_ISA_DMA=yCONFIG_GENERIC_IOMAP=yCONFIG_EXPERIMENTAL=yCONFIG_BROKEN=yCONFIG_BROKEN_ON_SMP=yCONFIG_LOCK_KERNEL=yCONFIG_LOCALVERSION=""CONFIG_SWAP=yCONFIG_SYSVIPC=yCONFIG_POSIX_MQUEUE=yCONFIG_SYSCTL=yCONFIG_AUDIT=yCONFIG_AUDITSYSCALL=yCONFIG_HOTPLUG=yCONFIG_KOBJECT_UEVENT=yCONFIG_IKCONFIG=yCONFIG_KALLSYMS=yCONFIG_BASE_FULL=yCONFIG_FUTEX=yCONFIG_EPOLL=yCONFIG_SHMEM=yCONFIG_CC_ALIGN_FUNCTIONS=0CONFIG_CC_ALIGN_LABELS=0CONFIG_CC_ALIGN_LOOPS=0CONFIG_CC_ALIGN_JUMPS=0CONFIG_BASE_SMALL=0CONFIG_MODULES=yCONFIG_MODULE_UNLOAD=yCONFIG_MODULE_FORCE_UNLOAD=yCONFIG_OBSOLETE_MODPARM=yCONFIG_KMOD=yCONFIG_STOP_MACHINE=yCONFIG_X86_PC=yCONFIG_MPENTIUM4=yCONFIG_X86_CMPXCHG=yCONFIG_X86_XADD=yCONFIG_X86_L1_CACHE_SHIFT=7CONFIG_RWSEM_XCHGADD_ALGORITHM=yCONFIG_GENERIC_CALIBRATE_DELAY=yCONFIG_X86_WP_WORKS_OK=yCONFIG_X86_INVLPG=yCONFIG_X86_BSWAP=yCONFIG_X86_POPAD_OK=yCONFIG_X86_GOOD_APIC=yCONFIG_X86_INTEL_USERCOPY=yCONFIG_X86_USE_PPRO_CHECKSUM=yCONFIG_HPET_TIMER=yCONFIG_HPET_EMULATE_RTC=yCONFIG_SMP=yCONFIG_NR_CPUS=2CONFIG_SCHED_SMT=yCONFIG_PREEMPT=yCONFIG_PREEMPT_BKL=yCONFIG_X86_LOCAL_APIC=yCONFIG_X86_IO_APIC=yCONFIG_X86_TSC=yCONFIG_X86_MCE=yCONFIG_X86_MCE_NONFATAL=yCONFIG_X86_MCE_P4THERMAL=yCONFIG_HIGHMEM4G=yCONFIG_HIGHMEM=yCONFIG_MTRR=yCONFIG_IRQBALANCE=yCONFIG_HAVE_DEC_LOCK=yCONFIG_SECCOMP=yCONFIG_PHYSICAL_START=0x100000CONFIG_PM=yCONFIG_ACPI=yCONFIG_ACPI_BOOT=yCONFIG_ACPI_INTERPRETER=yCONFIG_ACPI_SLEEP=yCONFIG_ACPI_SLEEP_PROC_FS=yCONFIG_ACPI_AC=yCONFIG_ACPI_BATTERY=yCONFIG_ACPI_BUTTON=yCONFIG_ACPI_VIDEO=mCONFIG_ACPI_FAN=yCONFIG_ACPI_PROCESSOR=yCONFIG_ACPI_THERMAL=yCONFIG_ACPI_IBM=mCONFIG_ACPI_BLACKLIST_YEAR=0CONFIG_ACPI_BUS=yCONFIG_ACPI_EC=yCONFIG_ACPI_POWER=yCONFIG_ACPI_PCI=yCONFIG_ACPI_SYSTEM=yCONFIG_X86_PM_TIMER=yCONFIG_PCI=yCONFIG_PCI_GOANY=yCONFIG_PCI_BIOS=yCONFIG_PCI_DIRECT=yCONFIG_PCI_MMCONFIG=yCONFIG_PCI_LEGACY_PROC=yCONFIG_PCI_NAMES=yCONFIG_ISA=yCONFIG_BINFMT_ELF=yCONFIG_BINFMT_MISC=yCONFIG_STANDALONE=yCONFIG_PREVENT_FIRMWARE_BUILD=yCONFIG_FW_LOADER=mCONFIG_PARPORT=yCONFIG_PARPORT_PC=yCONFIG_PNP=yCONFIG_PNPACPI=yCONFIG_BLK_DEV_FD=yCONFIG_BLK_DEV_LOOP=yCONFIG_BLK_DEV_RAM_COUNT=16CONFIG_INITRAMFS_SOURCE=""CONFIG_LBD=yCONFIG_IOSCHED_NOOP=yCONFIG_IOSCHED_AS=yCONFIG_IOSCHED_DEADLINE=yCONFIG_IOSCHED_CFQ=yCONFIG_IDE=yCONFIG_BLK_DEV_IDE=yCONFIG_BLK_DEV_IDEDISK=yCONFIG_IDEDISK_MULTI_MODE=yCONFIG_BLK_DEV_IDECD=yCONFIG_IDE_GENERIC=yCONFIG_BLK_DEV_IDEPCI=yCONFIG_IDEPCI_SHARE_IRQ=yCONFIG_BLK_DEV_GENERIC=yCONFIG_BLK_DEV_IDEDMA_PCI=yCONFIG_IDEDMA_PCI_AUTO=yCONFIG_BLK_DEV_HPT366=yCONFIG_BLK_DEV_PIIX=yCONFIG_BLK_DEV_PDC202XX_NEW=yCONFIG_BLK_DEV_IDEDMA=yCONFIG_IDEDMA_AUTO=yCONFIG_SCSI=yCONFIG_SCSI_PROC_FS=yCONFIG_BLK_DEV_SD=yCONFIG_BLK_DEV_SR=yCONFIG_CHR_DEV_SG=yCONFIG_SCSI_SPI_ATTRS=yCONFIG_SCSI_SYM53C8XX_2=yCONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=1CONFIG_SCSI_SYM53C8XX_DEFAULT_TAGS=16CONFIG_SCSI_SYM53C8XX_MAX_TAGS=64CONFIG_SCSI_QLA2XXX=yCONFIG_MD=yCONFIG_BLK_DEV_MD=yCONFIG_MD_LINEAR=yCONFIG_MD_RAID0=yCONFIG_MD_RAID1=yCONFIG_MD_RAID10=yCONFIG_MD_RAID5=yCONFIG_MD_RAID6=yCONFIG_IEEE1394=yCONFIG_IEEE1394_OHCI1394=yCONFIG_IEEE1394_RAWIO=yCONFIG_NET=yCONFIG_PACKET=yCONFIG_UNIX=yCONFIG_INET=yCONFIG_IP_MULTICAST=yCONFIG_IP_TCPDIAG=yCONFIG_IP_TCPDIAG_IPV6=yCONFIG_IPV6=yCONFIG_INET6_AH=yCONFIG_INET6_ESP=yCONFIG_INET6_IPCOMP=yCONFIG_INET6_TUNNEL=yCONFIG_IPV6_TUNNEL=yCONFIG_NETFILTER=yCONFIG_IP_NF_CONNTRACK=yCONFIG_IP_NF_QUEUE=yCONFIG_IP_NF_IPTABLES=yCONFIG_IP_NF_MATCH_LIMIT=yCONFIG_IP_NF_MATCH_IPRANGE=yCONFIG_IP_NF_MATCH_MAC=yCONFIG_IP_NF_MATCH_PKTTYPE=yCONFIG_IP_NF_MATCH_MARK=yCONFIG_IP_NF_MATCH_MULTIPORT=yCONFIG_IP_NF_MATCH_TOS=yCONFIG_IP_NF_MATCH_RECENT=yCONFIG_IP_NF_MATCH_ECN=yCONFIG_IP_NF_MATCH_DSCP=yCONFIG_IP_NF_MATCH_AH_ESP=yCONFIG_IP_NF_MATCH_LENGTH=yCONFIG_IP_NF_MATCH_TTL=yCONFIG_IP_NF_MATCH_TCPMSS=yCONFIG_IP_NF_MATCH_HELPER=yCONFIG_IP_NF_MATCH_STATE=yCONFIG_IP_NF_MATCH_CONNTRACK=yCONFIG_IP_NF_MATCH_OWNER=yCONFIG_IP_NF_FILTER=yCONFIG_IP_NF_TARGET_REJECT=yCONFIG_IP_NF_TARGET_LOG=yCONFIG_IP_NF_TARGET_ULOG=yCONFIG_IP_NF_TARGET_TCPMSS=yCONFIG_IP_NF_NAT=yCONFIG_IP_NF_NAT_NEEDED=yCONFIG_IP_NF_TARGET_MASQUERADE=yCONFIG_IP_NF_TARGET_REDIRECT=yCONFIG_IP_NF_TARGET_NETMAP=yCONFIG_IP_NF_TARGET_SAME=yCONFIG_IP_NF_MANGLE=yCONFIG_IP_NF_TARGET_TOS=yCONFIG_IP_NF_TARGET_ECN=yCONFIG_IP_NF_TARGET_DSCP=yCONFIG_IP_NF_TARGET_MARK=yCONFIG_IP_NF_TARGET_CLASSIFY=yCONFIG_IP_NF_RAW=mCONFIG_IP_NF_TARGET_NOTRACK=mCONFIG_IP_NF_ARPTABLES=yCONFIG_IP_NF_ARPFILTER=yCONFIG_IP_NF_ARP_MANGLE=yCONFIG_IP6_NF_QUEUE=yCONFIG_IP6_NF_IPTABLES=yCONFIG_IP6_NF_MATCH_LIMIT=yCONFIG_IP6_NF_MATCH_MAC=yCONFIG_IP6_NF_MATCH_RT=yCONFIG_IP6_NF_MATCH_OPTS=yCONFIG_IP6_NF_MATCH_FRAG=yCONFIG_IP6_NF_MATCH_HL=yCONFIG_IP6_NF_MATCH_MULTIPORT=yCONFIG_IP6_NF_MATCH_OWNER=yCONFIG_IP6_NF_MATCH_MARK=yCONFIG_IP6_NF_MATCH_IPV6HEADER=yCONFIG_IP6_NF_MATCH_AHESP=yCONFIG_IP6_NF_MATCH_LENGTH=yCONFIG_IP6_NF_MATCH_EUI64=yCONFIG_IP6_NF_FILTER=yCONFIG_IP6_NF_TARGET_LOG=yCONFIG_IP6_NF_MANGLE=yCONFIG_IP6_NF_TARGET_MARK=yCONFIG_IP6_NF_RAW=yCONFIG_XFRM=yCONFIG_NETDEVICES=yCONFIG_DUMMY=mCONFIG_NET_ETHERNET=yCONFIG_MII=yCONFIG_NET_PCI=yCONFIG_8139TOO=yCONFIG_E1000=yCONFIG_INPUT=yCONFIG_INPUT_MOUSEDEV=yCONFIG_INPUT_MOUSEDEV_PSAUX=yCONFIG_INPUT_MOUSEDEV_SCREEN_X=1600CONFIG_INPUT_MOUSEDEV_SCREEN_Y=1200CONFIG_INPUT_KEYBOARD=yCONFIG_KEYBOARD_ATKBD=yCONFIG_INPUT_MOUSE=yCONFIG_MOUSE_PS2=yCONFIG_INPUT_MISC=yCONFIG_INPUT_PCSPKR=yCONFIG_SERIO=yCONFIG_SERIO_I8042=yCONFIG_SERIO_LIBPS2=yCONFIG_SOUND_GAMEPORT=yCONFIG_VT=yCONFIG_VT_CONSOLE=yCONFIG_HW_CONSOLE=yCONFIG_SERIAL_8250=yCONFIG_SERIAL_8250_NR_UARTS=4CONFIG_SERIAL_CORE=yCONFIG_UNIX98_PTYS=yCONFIG_LEGACY_PTYS=yCONFIG_LEGACY_PTY_COUNT=256CONFIG_PRINTER=yCONFIG_HW_RANDOM=yCONFIG_RTC=yCONFIG_AGP=yCONFIG_AGP_INTEL=yCONFIG_DRM=yCONFIG_DRM_RADEON=yCONFIG_HPET=yCONFIG_HPET_MMAP=yCONFIG_HANGCHECK_TIMER=yCONFIG_I2C=yCONFIG_I2C_ALGOBIT=yCONFIG_FB=yCONFIG_FB_CFB_FILLRECT=yCONFIG_FB_CFB_COPYAREA=yCONFIG_FB_CFB_IMAGEBLIT=yCONFIG_FB_SOFT_CURSOR=yCONFIG_FB_MODE_HELPERS=yCONFIG_FB_TILEBLITTING=yCONFIG_FB_RADEON=yCONFIG_FB_RADEON_I2C=yCONFIG_VGA_CONSOLE=yCONFIG_DUMMY_CONSOLE=yCONFIG_FRAMEBUFFER_CONSOLE=yCONFIG_FONTS=y
CONFIG_FONT_SUN12x22=yCONFIG_LOGO=yCONFIG_LOGO_LINUX_MONO=yCONFIG_LOGO_LINUX_VGA16=yCONFIG_LOGO_LINUX_CLUT224=yCONFIG_SOUND=yCONFIG_SND=yCONFIG_SND_TIMER=yCONFIG_SND_PCM=yCONFIG_SND_HWDEP=yCONFIG_SND_RAWMIDI=yCONFIG_SND_SEQUENCER=yCONFIG_SND_OSSEMUL=yCONFIG_SND_MIXER_OSS=yCONFIG_SND_PCM_OSS=yCONFIG_SND_SEQUENCER_OSS=yCONFIG_SND_RTCTIMER=yCONFIG_SND_VERBOSE_PRINTK=yCONFIG_SND_AC97_CODEC=yCONFIG_SND_EMU10K1=yCONFIG_SND_INTEL8X0=yCONFIG_USB_ARCH_HAS_HCD=yCONFIG_USB_ARCH_HAS_OHCI=yCONFIG_USB=yCONFIG_USB_DEVICEFS=yCONFIG_USB_EHCI_HCD=yCONFIG_USB_UHCI_HCD=yCONFIG_USB_PRINTER=yCONFIG_USB_STORAGE=yCONFIG_USB_MON=yCONFIG_EXT2_FS=yCONFIG_EXT3_FS=yCONFIG_EXT3_FS_XATTR=yCONFIG_JBD=yCONFIG_FS_MBCACHE=yCONFIG_REISER4_FS=yCONFIG_REISERFS_FS=yCONFIG_XFS_FS=yCONFIG_INOTIFY=yCONFIG_DNOTIFY=yCONFIG_ISO9660_FS=yCONFIG_JOLIET=yCONFIG_UDF_FS=yCONFIG_UDF_NLS=yCONFIG_FAT_FS=yCONFIG_MSDOS_FS=yCONFIG_VFAT_FS=yCONFIG_FAT_DEFAULT_CODEPAGE=437CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"CONFIG_PROC_FS=yCONFIG_PROC_KCORE=yCONFIG_SYSFS=yCONFIG_TMPFS=yCONFIG_RAMFS=yCONFIG_UFS_FS=yCONFIG_NFS_FS=yCONFIG_NFS_V3=yCONFIG_LOCKD=yCONFIG_LOCKD_V4=yCONFIG_SUNRPC=yCONFIG_MSDOS_PARTITION=yCONFIG_NLS=yCONFIG_NLS_DEFAULT="iso8859-1"CONFIG_NLS_CODEPAGE_437=yCONFIG_NLS_CODEPAGE_850=yCONFIG_NLS_ISO8859_1=yCONFIG_NLS_ISO8859_15=yCONFIG_NLS_UTF8=yCONFIG_LOG_BUF_SHIFT=15CONFIG_DEBUG_BUGVERBOSE=yCONFIG_EARLY_PRINTK=yCONFIG_X86_FIND_SMP_CONFIG=yCONFIG_X86_MPPARSE=yCONFIG_CRYPTO=yCONFIG_CRYPTO_HMAC=yCONFIG_CRYPTO_MD5=yCONFIG_CRYPTO_SHA1=yCONFIG_CRYPTO_DES=yCONFIG_CRYPTO_DEFLATE=yCONFIG_CRC32=yCONFIG_LIBCRC32C=mCONFIG_ZLIB_INFLATE=yCONFIG_ZLIB_DEFLATE=yCONFIG_GENERIC_HARDIRQS=yCONFIG_GENERIC_IRQ_PROBE=yCONFIG_X86_SMP=yCONFIG_X86_HT=yCONFIG_X86_BIOS_REBOOT=yCONFIG_X86_TRAMPOLINE=yCONFIG_PC=y
Good luck,
Jurriaan
Signature · 3 lines
You stay here, Audrey -- this is between me and the vegetable! Seymour, from Little Shop Of Horrors Debian (Unstable) GNU/Linux 2.6.11-mm1 2x4734 bogomips load 0.38
Re: 2.6.11-mm2 fremap.c compile error
Quoted 14 lines · Jurriaan
mm/fremap.c:33:48: macro "flush_cache_page" passed 3 arguments, but takes just 2mm/fremap.c: In function `zap_pte':mm/fremap.c:33: error: `flush_cache_page' undeclared (first use in this function)mm/fremap.c:33: error: (Each undeclared identifier is reported only oncemm/fremap.c:33: error: for each function it appears in.)mm/fremap.c:34:55: macro "ptep_get_and_clear" passed 3 arguments, but takes just 1mm/fremap.c:34: error:ptep_get_and_clear' undeclared (first use in this function) mm/fremap.c:48:41: macro "pte_clear" passed 3 arguments, but takes just 1 mm/fremap.c:48: error:pte_clear' undeclared (first use in this function)mm/fremap.c: In function `install_page':mm/fremap.c:97: warning: implicit declaration of function `set_pte_at' make[1]: *** [mm/fremap.o] Error 1
make: *** [mm] Error 2
Quoted 2 lines
The same config worked fine for 2.6.11-mm1:
...
I wasn't able to reproduce this with your .config .
Are you using a completely otherwise unpatched 2.6.11-mm2? Please retry with a freshly unpacked 2.6.11 plus the -mm2 patch.
Quoted 2 lines
Good luck,
Jurriaan
cu
Adrian
Signature · 4 lines
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seedinconsistent kallsyms data [2.6.11-mm2]
In reply to Andrew Mortoncompiling -mm2 on my x86 box results in:
SYSMAP .tmp_System.map
Inconsistent kallsyms data
Try setting CONFIG_KALLSYMS_EXTRA_PASS
make: *** [vmlinux] Fehler 1
gcc-Version 3.4.3 20050110 (Gentoo Linux 3.4.3.20050110, ssp-3.4.3.20050110-0, pie-8.7.7)
Dominik
Re: inconsistent kallsyms data [2.6.11-mm2]
Quoted 10 lines · Dominik Brodowski
compiling -mm2 on my x86 box results in:
SYSMAP .tmp_System.map
Inconsistent kallsyms data
Try settingCONFIG_KALLSYMS_EXTRA_PASS
make: *** [vmlinux] Fehler 1gcc-Version 3.4.3 20050110 (Gentoo Linux 3.4.3.20050110, ssp-3.4.3.20050110-0, pie-8.7.7)
Did CONFIG_KALLSYMS_EXTRA_PASS fix it up?
Re: inconsistent kallsyms data [2.6.11-mm2]
Quoted 9 lines · Andrew Morton
Quoted 8 lines · Dominik Brodowski
compiling -mm2 on my x86 box results in:
SYSMAP .tmp_System.map
Inconsistent kallsyms data
Try settingCONFIG_KALLSYMS_EXTRA_PASS
make: *** [vmlinux] Fehler 1
Quoted 4 lines
Quoted 2 lines
gcc-Version 3.4.3 20050110 (Gentoo Linux 3.4.3.20050110, ssp-3.4.3.20050110-0, pie-8.7.7)
Did
CONFIG_KALLSYMS_EXTRA_PASSfix it up?
Yes.
Dominik
Re: inconsistent kallsyms data [2.6.11-mm2]
Quoted 11 lines · Dominik Brodowski
Quoted 9 lines · Andrew Morton
Quoted 7 lines · Dominik Brodowski
compiling -mm2 on my x86 box results in:
SYSMAP .tmp_System.map
Inconsistent kallsyms data
Try settingCONFIG_KALLSYMS_EXTRA_PASS
make: *** [vmlinux] Fehler 1
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines
gcc-Version 3.4.3 20050110 (Gentoo Linux 3.4.3.20050110, ssp-3.4.3.20050110-0, pie-8.7.7)
Did
CONFIG_KALLSYMS_EXTRA_PASSfix it up?Yes.
It doesn't happen to me here :(
Can you send me privately a tar.bz2 containing your .config, .tmp_kallsyms1.S and .tmp_kallsyms2.S so I can try to figure out what's going on?
TIA,
Signature · 4 lines
Paulo Marques - www.grupopie.com All that is necessary for the triumph of evil is that good men do nothing. Edmund Burke (1729 - 1797)
Re: inconsistent kallsyms data [2.6.11-mm2]
Quoted 2 lines · Paulo Marques
[...]
Can you send me privately a tar.bz2 containing your .config,.tmp_kallsyms1.Sand.tmp_kallsyms2.Sso I can try to figure out what's going on?
Ok, after some investigation into the files I was able to find out the problem.
scripts/kallsyms.c uses a subset of the symbol table to optimize the tokens to use to compress the symbols. It does this because using the complete set of symbols would be much slower without a significant gain in compression.
For some reason, in the files sent by Dominik, two aliased symbols change places from the first to the second step of the kallsyms build process (__sched_text_start, __down).
Because of this, the subset used for optimization is different and so are the tokens selected, producing a 2 byte difference in the total size of the compressed symbol names :P
So I must change the sampling algorithm in a way that is robust to symbol position changes.
A simple and robust way is to do the sampling on a list of symbols sorted by symbol name. This way, even if the symbol positions that are given to scripts/kallsyms change, the symbols sampled will be the same.
I'll do the patch to do this and send it ASAP.
Signature · 4 lines
Paulo Marques - www.grupopie.com All that is necessary for the triumph of evil is that good men do nothing. Edmund Burke (1729 - 1797)
Re: inconsistent kallsyms data [2.6.11-mm2]
Quoted 4 lines · Paulo Marques
[...]
A simple and robust way is to do the sampling on a list of symbols sorted by symbol name. This way, even if the symbol positions that are given toscripts/kallsymschange, the symbols sampled will be the same.I'll do the patch to do this and send it ASAP.
Ok, here it is.
Dominik can you try the attached patch and see if it solves the problem?
It it does, I'll do a correct [PATCH] post later with all the signed-off-by and subject and stuff.
Please make sure you test with the same configuration that produces the error, because this is a pretty hard to hit bug. The needed conditions are:
- 'nm' changes the order of 2 aliased symbols from the 1st to the 2nd pass
- one of those symbols get sampled for token optimization. With your
configuration the sampling was about 1 out of 12.
- the difference in the name of those symbols makes the algorithm
select different tokens. As 1024 symbols are used to produce the tokens, changing just one of these symbols can easily go unnoticed.
- the difference in the tokens selected makes the size of the
compressed data change, so that it goes above (or below) an alignment boundary. In your case it only changed 2 bytes in size, but it crossed a 4 byte alignment boundary.
With your .config file but a different set of tools (gcc, binutils versions) I couldn't trigger the bug in my machine.
Signature · 4 lines
Paulo Marques - www.grupopie.com All that is necessary for the triumph of evil is that good men do nothing. Edmund Burke (1729 - 1797)
scripts/kallsyms.c renamed from scripts/kallsyms.c.orig +19 -0
@@ -499,11 +499,30 @@ static void forget_symbol(unsigned charforget_token (symbol + i, len - i); } +/* sort the symbols by address->name so that even if aliased symbols +* change position, or the symbols are not supplied in address order +* the algorithm will work nevertheless */ + +static int sort_by_address_name (const void *a,const void *b) +{ +struct sym_entry *sa, *sb; + + sa = (struct sym_entry *) a; + sb = (struct sym_entry *) b; + +if (sa->addr != sb->addr) +return sa->addr - sb->addr; + +return strcmp (sa->sym +1 , sb->sym +1 ); +} +/* set all the symbol flags and do the initial token count */ static void build_initial_tok_table (void ) {int i, use_it, valid; +qsort (table, cnt,sizeof (table[0 ]), sort_by_address_name); + valid =0 ;for (i =0 ; i < cnt; i++) { table[i].flags =0 ;
Re: inconsistent kallsyms data [2.6.11-mm2]
Quoted 11 lines · Paulo Marques
Quoted 6 lines · Paulo Marques
[...]
A simple and robust way is to do the sampling on a list of symbols sorted by symbol name. This way, even if the symbol positions that are given toscripts/kallsymschange, the symbols sampled will be the same.I'll do the patch to do this and send it ASAP.
Ok, here it is.
Dominik can you try the attached patch and see if it solves the problem?
Hi Paulo.
Alexander Stohr had similar problems with down and __sched_text_start.
I figured out that what was causing the troubles was the fact that the linker generated symbol __sched_text_start changed value from pass 1 to pass 2. The reason for this was the alingment used within that section.
My stamp on this is attached.
I never came around submitting this since I do not know what the correct number for function alignment is on different paltforms.
Sam
===== include/asm-generic/vmlinux.lds.h 1.16 vs edited =====
include/asm-generic/vmlinux.lds.h +7 -0
@@ -6,6 +6,11 @@#define VMLINUX_SYMBOL (_sym_) _sym_#endif +/* Aling functions to a 8 byte boundary. +* This prevents lables defined to mark start/end of section to differ +* during pass 1 and pass 2 when generating System.map */ +#define ALIGN_FUNCTION () . = ALIGN(8) +#define RODATA \ .rodata : AT(ADDR(.rodata) - LOAD_OFFSET) { \ *(.rodata) *(.rodata.*) \
@@ -77,11 +82,13 @@ }#define SCHED_TEXT \ + ALIGN_FUNCTION(); \ VMLINUX_SYMBOL(__sched_text_start) = .; \ *(.sched.text) \ VMLINUX_SYMBOL(__sched_text_end) = .;#define LOCK_TEXT \ + ALIGN_FUNCTION(); \ VMLINUX_SYMBOL(__lock_text_start) = .; \ *(.spinlock.text) \ VMLINUX_SYMBOL(__lock_text_end) = .;
Re: inconsistent kallsyms data [2.6.11-mm2]
Quoted 7 lines · Sam Ravnborg
Quoted 5 lines · Paulo Marques
Quoted 3 lines · Paulo Marques
[...]
A simple and robust way is to do the sampling on a list of symbols sorted by symbol name. This way, even if the symbol positions that are given toscripts/kallsymschange, the symbols sampled will be the same.
Quoted 7 lines
Quoted 5 lines
Quoted 1 line
I'll do the patch to do this and send it ASAP.
Ok, here it is.
Dominik can you try the attached patch and see if it solves the problem?
Hi Paulo.
Hi Sam :)
Quoted 5 lines
Alexander Stohr had similar problems with down and
__sched_text_start.I figured out that what was causing the troubles was the fact that the linker generated symbol
__sched_text_startchanged value from pass 1 to pass 2. The reason for this was the alingment used within that section.
Damn, you're right. Looking more carefully at Dominik's files I can see that on the first pass we have:
T __sched_text_start PTR 0xc0420482
t __down PTR 0xc0420484
and on the second pass:
t __down PTR 0xc0420484
T __sched_text_start PTR 0xc0420484
I only looked at the addresses on the second pass and noticed they were aliased symbols and that the symbol order changed from the first pass :P
Quoted 2 lines
I never came around submitting this since I do not know what the correct number for function alignment is on different paltforms.
If this will just align the beginning of a section, I don't think it will be a problem to always align at 8 bytes even on platforms that need only a 4 byte alignment.
So I think that your patch should definitely go in, as it solves a real problem.
As for my patch it could potentially solve problems that we don't currently have(*), so it is probably better to wait for them to appear before trying to solve an non-existent problem :)
Signature · 6 lines
Paulo Marques - www.grupopie.com All that is necessary for the triumph of evil is that good men do nothing. Edmund Burke (1729 - 1797) (*) order of aliased symbols changing, or 'nm' returning non sorted addresses.
Re: inconsistent kallsyms data [2.6.11-mm2]
In reply to Sam RavnborgQuoted 16 lines · Sam Ravnborg
Quoted 11 lines · Paulo Marques
Quoted 6 lines · Paulo Marques
[...]
A simple and robust way is to do the sampling on a list of symbols sorted by symbol name. This way, even if the symbol positions that are given toscripts/kallsymschange, the symbols sampled will be the same.I'll do the patch to do this and send it ASAP.
Ok, here it is.
Dominik can you try the attached patch and see if it solves the problem?
Hi Paulo.
Alexander Stohr had similar problems with down and
__sched_text_start.
Quoted 8 lines
I figured out that what was causing the troubles was the fact that the linker generated symbol
__sched_text_startchanged value from pass 1 to pass 2. The reason for this was the alingment used within that section.My stamp on this is attached.
I never came around submitting this since I do not know what the correct number for function alignment is on different paltforms.
This patch fixes it on my (x86) system.
Thanks,
Dominik
Re: inconsistent kallsyms data [2.6.11-mm2]
In reply to Paulo MarquesQuoted 11 lines · Paulo Marques
Quoted 6 lines · Paulo Marques
[...]
A simple and robust way is to do the sampling on a list of symbols sorted by symbol name. This way, even if the symbol positions that are given toscripts/kallsymschange, the symbols sampled will be the same.I'll do the patch to do this and send it ASAP.
Ok, here it is.
Dominik can you try the attached patch and see if it solves the problem?
It does not solve the problem:
~/local/kernel/linux-2.6.11-mm2 $ patch -p1 < ~/kallpatch
patching file scripts/kallsyms.c
~/local/kernel/linux-2.6.11-mm2 $ make
CHK include/linux/version.h
HOSTCC scripts/kallsyms
make[1]: »arch/i386/kernel/asm-offsets.s« ist bereits aktualisiert.
CHK include/linux/compile.h CHK usr/initramfs_list CC [M] arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.o KSYM .tmp_kallsyms1.S AS .tmp_kallsyms1.o LD .tmp_vmlinux2 KSYM .tmp_kallsyms2.S AS .tmp_kallsyms2.o LD vmlinux SYSMAP System.map SYSMAP .tmp_System.map
Inconsistent kallsyms data
Try setting CONFIG_KALLSYMS_EXTRA_PASS
make: *** [vmlinux] Fehler 1
Will test the other patch floating around in just a moment.
Thanks,
Dominik
Quoted 3 lines
+sh-merge-updates.patch
sh/sh64 updates
btw, it would be nice if you'd give a period of say 48 hours for people to review non-critical patches before sending them off to Linus. The sh update was pretty nice, so no coplaints about this one, but we had worse things passed on in the past.
Review
Quoted 8 lines
(quoted diff) +6
-0+open-iscsi-scsi.patch +open-iscsi-headers.patch +open-iscsi-kconfig.patch +open-iscsi-makefile.patch +open-iscsi-netlink.patch +open-iscsi-doc.patch iSCSI driver
Please don't put this in. It's fairly experimental and just one of three iscsi initiators we're (scsi folks) currently evaluating for inclusion.
Quoted 9 lines · Christoph Hellwig
Quoted 4 lines
+sh-merge-updates.patch
sh/sh64 updates
btw, it would be nice if you'd give a period of say 48 hours for people to review non-critical patches before sending them off to Linus. The sh update was pretty nice, so no coplaints about this one, but we had worse things passed on in the past.
Yup, I've asked Paul to cc lkml in the future.
Quoted 7 lines
Quoted 7 lines
(quoted diff) +6
-0+open-iscsi-scsi.patch +open-iscsi-headers.patch +open-iscsi-kconfig.patch +open-iscsi-makefile.patch +open-iscsi-netlink.patch +open-iscsi-doc.patch
Quoted 5 lines
Quoted 1 line
iSCSI driver
Please don't put this in. It's fairly experimental and just one of three iscsi initiators we're (scsi folks) currently evaluating for inclusion.
I'll frequently add things like this just so they get additional compile-coverage testing and to get wider reviewing. And someone might run sparse, checkstack, reference_discarded or reference_init on it.
HI all...
Quoted 3 lines · Andrew Morton
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.11/2.6.11-mm2/
(replied to this because this is the kernel I am testing on :) )
Can cpu affinity really be changed for a running process ? Does it need something like io or yielding to take effect ?
I am playin with Robert Love's taskset (symlinked to runon, it is easier to type and I'm more used to it), because I want to play with hyperthreading and wanted a method to force two threads on the same physical package. It works fine to bound a new process to a cpu set, but I does not change anything for a running process.
I try runon -c -p 0 <pid> for my numbercruncher and it does nothing, top shows it is in the same cpus where it started:
werewolf:~# runon -c -p 0 8277 pid 8277's current affinity list: 0-3 pid 8277's new affinity list: 0 werewolf:~# runon -c -p 8277 pid 8277's current affinity list: 0
The program uses posix threads, 2 in this case. The two threads change from cpu sometimes (not too often), but do not go into the same processor immediately as when I start the program directly with runon/taskset.
Any idea ?
TIA
--
J.A. Magallon <jamagallon()able!es> \ Software is like sex:
werewolf!able!es \ It's better when it's free
Mandrakelinux release 10.2 (Cooker) for i586
Linux 2.6.11-jam3 (gcc 3.4.3 (Mandrakelinux 10.2 3.4.3-3mdk)) #1
Quoted 1 line · J.A. Magallon
Can cpu affinity really be changed for a running process ?
Yes.
Quoted 1 line
Does it need something like io or yielding to take effect ?
No.
Quoted 6 lines
I am playin with Robert Love's taskset (symlinked to runon, it is easier to type and I'm more used to it), because I want to play with hyperthreading and wanted a method to force two threads on the same physical package. It works fine to bound a new process to a cpu set, but I does not change anything for a running process.
Quoted 8 lines
I try runon -c -p 0 <pid> for my numbercruncher and it does nothing, top shows it is in the same cpus where it started:
werewolf:~# runon -c -p 0 8277 pid 8277's current affinity list: 0-3 pid 8277's new affinity list: 0 werewolf:~# runon -c -p 8277 pid 8277's current affinity list: 0
This looks fine. As expected.
Although, you have the syntax wrong. It should be
taskset -c 0 -p 8277
and
taskset -p 8277
Quoted 3 lines
The program uses posix threads, 2 in this case. The two threads change from cpu sometimes (not too often), but do not go into the same processor immediately as when I start the program directly with runon/taskset.
You have to bind all of the threads individually.
Robert Love
Quoted 10 lines · Robert Love
Quoted 1 line · J.A. Magallon
Can cpu affinity really be changed for a running process ?
Yes.
Quoted 1 line
Does it need something like io or yielding to take effect ?
No.
...
Quoted 5 lines
Although, you have the syntax wrong. It should be
taskset -c 0 -p 8277
That was what I first tried, but:
werewolf:~> ps -ef | grep box
magallon 8638 8629 99 00:47 pts/0 00:01:54 box-d --out box.srf @opt magallon 8733 8643 0 00:48 pts/2 00:00:00 grep box
werewolf:~> taskset -c 0 -p 8638
execvp: No such file or directory
failed to execute -p
Quoted 7 lines
Quoted 4 lines
The program uses posix threads, 2 in this case. The two threads change from cpu sometimes (not too often), but do not go into the same processor immediately as when I start the program directly with runon/taskset.
You have to bind all of the threads individually.
Ahh, damn, that explains it. I use a main thread that does nothing but wait for the worker threads. So it sure gets moved to CPU0, but as it does not waste CPU time, I do not see it...
Thanks. Will see what can I do with my threads. cpusets, perhaps...
--
J.A. Magallon <jamagallon()able!es> \ Software is like sex:
werewolf!able!es \ It's better when it's free
Mandrakelinux release 10.2 (Cooker) for i586
Linux 2.6.11-jam3 (gcc 3.4.3 (Mandrakelinux 10.2 3.4.3-3mdk)) #1
Quoted 5 lines · J.A. Magallon
Ahh, damn, that explains it. I use a main thread that does nothing but wait for the worker threads. So it sure gets moved to CPU0, but as it does not waste CPU time, I do not see it...
Thanks. Will see what can I do with my threads. cpusets, perhaps...
Affinity is inherited.
Start the threads in a shell script that runs taskset on itself. Or just modify this program to have the main thread do sched_setaffinity() on itself.
Robert Love
Quoted 7 lines · Andrew Morton
...
Changes since 2.6.11-mm1:
...
-fix-buggy-ieee80211_crypt_-selects.patchWas wrong.
...
I'd say my patch was correct.
If it was buggy, I have yet to see a better patch.
With the current dependencies, IEEE80211_CRYPT_CCMP and IEEE80211_CRYPT_TKIP can't be included into Linus' tree since selecting them can result in invalid .config's [1].
cu
Adrian
[1] no matter how you think to be guilty - from a user's point of view it's simply currently broken
Signature · 4 lines
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon SeedQuoted 11 lines · Adrian Bunk
Quoted 7 lines · Andrew Morton
...
Changes since 2.6.11-mm1:
...
-fix-buggy-ieee80211_crypt_-selects.patchWas wrong.
...I'd say my patch was correct.
Uh, OK. Make that "was subject of interminable bunfight".
Feel free to resend and I'll keep spamming Jeff with it.
Quoted 12 lines · Andrew Morton
Quoted 10 lines · Adrian Bunk
Quoted 7 lines · Andrew Morton
...
Changes since 2.6.11-mm1:
...
-fix-buggy-ieee80211_crypt_-selects.patchWas wrong.
...
Quoted 6 lines
Quoted 1 line
I'd say my patch was correct.
Uh, OK. Make that "was subject of interminable bunfight".
Feel free to resend and I'll keep spamming Jeff with it.
It's quite simple: one specifies dependencies in one place, so that one does not have specify dependencies in _every_ place.
AFAICS the thread already reaches that point, people [most of them] agree with me, and then throw up their hands as to a fix.
Jeff
Quoted 7 lines · Andrew Morton
...
Changes since 2.6.11-mm1:
...
+drivers-isdn-tpam-convert-to-pci_register_driver.patch
...
Little code tweaks.
...
Please drop this patch.
Karsten has a patch ready to remove this driver (because the hardware it was supposed to drive never went into production), and such patches only cause needless rediffs.
@Karsten:
Could you submit your patch to remove tpam to Andrew?
cu
Adrian
Signature · 4 lines
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon SeedQuoted 9 lines · Adrian Bunk
Quoted 7 lines · Andrew Morton
...
Changes since 2.6.11-mm1:
...
+drivers-isdn-tpam-convert-to-pci_register_driver.patch
...
Little code tweaks.
...
Quoted 9 lines
Please drop this patch.
Karsten has a patch ready to remove this driver (because the hardware it was supposed to drive never went into production), and such patches only cause needless rediffs.
@Karsten:
Could you submit your patch to remove tpam to Andrew?
:-) already done few houres ago (against -mm2)
Signature · 3 lines
Karsten Keil SuSE Labs ISDN development
Quoted 1 line · Andrew Morton
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.11/2.6.11-mm2/
Hi Andrew
With 2.6.11-mm series, "acpi_poweroff called" problem is back again (it disappeared in 2.6.11-rc-mm and actually never happend in Linus' tree). So when you shutdown, you have to unplug power cord or so to switch off because the system hangs after that message is displayed.
Bye
Signature · 1 line
Stefano RIVOIR
Quoted 11 lines · Stefano Rivoir
Quoted 1 line · Andrew Morton
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.11/2.6.11-mm2/
Hi Andrew
With 2.6.11-mm series, "
acpi_poweroffcalled" problem is back again (it disappeared in 2.6.11-rc-mm and actually never happend in Linus' tree). So when you shutdown, you have to unplug power cord or so to switch off because the system hangs after that message is displayed.
Does the below fix it?
If so, sorry, this patch was dropped because it just does everything the wrong way, and the acpi guys are cooking up some scheme to fix it for real.
From: "Marcos D. Marado Torres" <[email protected]>
From: "Barry K. Nathan" <[email protected]>
Quoted 6 lines · Andrew Morton
Quoted 3 lines · Marcos D. Marado Torres
Please add to -mm the patch in attachment, since it solves the old
acpi_power_offbug...What
acpi_power_offbug? And how does it solve it?
Here's the observed bug that the patch is trying to fix:
http://bugme.osdl.org/show_bug.cgi?id=4041
What Marcos posted is a typo-corrected version of Eric Biederman's patch:
http://marc.theaimsgroup.com/?l=linux-kernel&m=110665542929525&w=2
In Eric's own words, the patch "needs some work before it goes into a mainline kernel". AFAICT it's more of a proof-of-concept, just to see if Eric's on the right track...
This is the motivation behind the patch:
http://marc.theaimsgroup.com/?l=linux-kernel&m=110665405402747&w=2
---
25-akpm/drivers/acpi/sleep/poweroff.c | 23 +++++++++++++++++++++-- 25-akpm/drivers/base/power/shutdown.c | 7 +++++++ 2 files changed, 28 insertions(+), 2 deletions(-)
drivers/acpi/sleep/poweroff.c renamed from drivers/acpi/sleep/poweroff.c~acpi_power_off-bug-fix +21 -2
@@ -7,18 +7,37 @@#include <linux/pm.h> #include <linux/init.h> +#include <linux/kernel.h> #include <acpi/acpi_bus.h> #include <linux/sched.h> #include "sleep.h" static void +acpi_power_off_prepare (void ) +{ +if (system_state ==SYSTEM_POWER_OFF ) { +acpi_wakeup_gpe_poweroff_prepare (); +acpi_enter_sleep_state_prep (ACPI_STATE_S5 ); + } +} + +void +do_acpi_power_off_prepare (void ) +{ +if (!acpi_disabled) { +acpi_power_off_prepare (); + } +} + + +static void acpi_power_off (void ) {printk ("%s called\n" ,__FUNCTION__); +#if 0 /* This should be made redundant by other patches.. */ /* Some SMP machines only can poweroff in boot CPU */ set_cpus_allowed (current,cpumask_of_cpu (0 )); -acpi_wakeup_gpe_poweroff_prepare (); -acpi_enter_sleep_state_prep (ACPI_STATE_S5 ); +#endif ACPI_DISABLE_IRQS ();acpi_enter_sleep_state (ACPI_STATE_S5 ); }
drivers/base/power/shutdown.c renamed from drivers/base/power/shutdown.c~acpi_power_off-bug-fix +7 -0
@@ -62,6 +62,13 @@ void device_shutdown(void) }up_write (&devices_subsys.rwsem); +#ifdef CONFIG_ACPI + { +extern void do_acpi_power_off_prepare (void ); +do_acpi_power_off_prepare (); + } +#endif +sysdev_shutdown (); }
_
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Quoted 11 lines · Stefano Rivoir
Quoted 1 line · Andrew Morton
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.11/2.6.11-mm2/
Hi Andrew
With 2.6.11-mm series, "
acpi_poweroffcalled" problem is back again (it disappeared in 2.6.11-rc-mm and actually never happend in Linus' tree). So when you shutdown, you have to unplug power cord or so to switch off because the system hangs after that message is displayed.
Some work has been done on this in the ACPI tree. Can you please test 2.6.12-rc1-mm1?
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 11 lines · Stefano Rivoir
Quoted 1 line · Andrew Morton
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.11/2.6.11-mm2/
Hi Andrew
With 2.6.11-mm series, "
acpi_poweroffcalled" problem is back again (it disappeared in 2.6.11-rc-mm and actually never happend in Linus' tree). So when you shutdown, you have to unplug power cord or so to switch off because the system hangs after that message is displayed.
Stefano, is this problem still present in 2.6.12-rc5-mm1?
More seriously, is it present in 2.6.12-rc5?
Thanks.
-------------------------------------------------------
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate online with coworkers and clients while avoiding the high cost of travel and communications. There is no equipment to buy and you can meet as often as you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 7 lines · Andrew Morton
Quoted 2 lines · Stefano Rivoir
With 2.6.11-mm series, "
acpi_poweroffcalled" problem is back again (it disappeared in 2.6.11-rc-mm and actually never happend in Linus' tree). So when you shutdown, you have to unplug power cord or so to switch off because the system hangs after that message is displayed.Stefano, is this problem still present in 2.6.12-rc5-mm1?
Nope, rc5-mm1 is fine.
Quoted 1 line
More seriously, is it present in 2.6.12-rc5?
I'll check vanilla rc5 and report to you.
Bye.
Signature · 10 lines
Stefano RIVOIR GTS Srl ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005