Skip to contentSkip to conversation

2.6.4-rc1-mm1

DISCUSSION Andrew Morton 10 participants 21 messages Feb 29, 2004 – Mar 2, 2004 VFS

lore
Share & tools
lore
#0 lore raw

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.4-rc1/2.6.4-rc1-mm1/

- Added the POSIX message queue implementation. We're still stitching together a decent description of all of this. Reference information is at

	http://www.mat.uni.torun.pl/~wrona/posix_ipc/
 and
	http://www.opengroup.org/onlinepubs/007904975/basedefs/mqueue.h.html

- A fair amount of work against the page reclaim code. Mainly reorganisation and simplification of various little glitches. This means that a few of the optimisations which were in 2.6.3-mm4 were broken and were dropped. But this is a better basis upon which to reintroduce them.

Performance, however, seems similar to 2.6.3-mm4 in a few tests. Inter-zone balancing is much better than 2.6.3 but still could be improved a little.

Slab reclaim balancing is improved, however with some (artificial) workloads slab is still being a problem because of tremendous internal fragmentation problems: 6% occupancy of the pages which are allocated to dcache, for example. More work is needed to account for this.

I tested the swapout code with 7.2G of tmpfs pagecache on a 7G machine. The rotate_reclaimable_page() logic seems to work fine here - only 200M of memory was added to swapcache and was swapped out.

- Plus the usual various little fixes and cleanups.

- The contents of the broken-out/ directory are now available in the 2.6.4-rc1-mm1-broken-out.tar.gz file. This includes the `series' file which describes the patching order.

People who are using patch-scripts can recreate the patching machinery by doing:

	cd /usr/src/linux
	tar xfz ~/2.6.4-rc1-mm1-broken-out.tar.gz
	mv broken-out/*.patch patches
	mv broken-out/series .
	for i in $(cat-series series)
	do
		pcpatch $i
	done
	rmdir broken-out

Changes since 2.6.3-mm4:

linus.patch
bk-acpi.patch
bk-alsa.patch
bk-arm.patch
bk-driver-core.patch
bk-ieee1394.patch
bk-netdev.patch
bk-scsi.patch
bk-usb.patch

Latest versions of various external trees. bk-i2c.patch was dropped pending it getting its lmsensors act together. And bk-input was dropped because it was old and nobody will tell me the input project's bk URL.

-nfsd-NGROUPS-fixes.patch -kill-old-dead-netdev-apis.patch -gcc-35-pdaudiocf_irq-build-fix.patch -m68k-406.patch -bk-driver-core-x86_64-build-fix.patch -ppc64-tulip-build-fix.patch -hfs-rewrite.patch
-hfsplus-support.patch -knfsd-rpcsec_gss-minimal-support.patch -knfsd-rpcsec_gss-minimal-support-NGROUPS-fix.patch -knfsd-rpcsec_gss-minimal-support-NGROUPS-fix-2.patch -knfsd-gss-api-integrity-checking.patch -knfsd-IDmap-support.patch -knfsd-nfs4-pointer-cleanup.patch -knfsd-nfs4-locking-state-fix.patch -knfsd-v4-exclusive-open-fix.patch -knfsd-changeinfo-time-higher-resolution.patch -knfsd-shareowner-fix.patch -knfsd-replaying-fixes.patch -knfsd-setclientid-fix.patch -knfsd-lockowner-fix.patch -knfsd-readdir-error-code-fix.patch -knfsd-nfserr_nofilehandle-fix.patch -knfsd-lookup_parent-fix.patch -knfsd-error-code-return-fixes.patch -knfsd-xdr-error-fix.patch -knfsd-symlink-fixes.patch -knfsd-lock-length-fix.patch -knfsd-rename-error-code-fixes.patch -knfsd-unlock-on-close-fix.patch -knfsd-comment-fix.patch -knfsd-fh_dup2-fix.patch -knfsd-implement-RELEASE_LOCKOWNER.patch -knfsd-add-OP_ILLEGAL.patch -knfsd-OP_CREATE-fix.patch -knfsd-OP_LOCK-check.patch -knfsd-OP_OPEN_CONFIRM-fix.patch -knfsd-open_downgrade-enforcement.patch -knfsd-readlink-error-return-fix.patch -knfsd-nfsd4_remove-error-fix.patch -knfsd-stateid-replay-fixes.patch -knfsd-attribute-decoding-retval-fix.patch -knfsd-READ_BUF-cleanup.patch -knfsd-sunrpc_init-ordering-fixes.patch -knfsd-readdir-more-than-one-page.patch -add-MODULE_VERSION-macro.patch -rename-MODULE_VERSION.patch -ide-siimage-seagate.patch -ide-ali-UDMA6-support.patch -fbdev-cursor-1.patch
-cursor-fix.patch
-superblock-fixes.patch -zoran-refcounting-fixes.patch -s390-01-general-update.patch -s390-02-common-io-layer.patch -s390-03-console-driver.patch -s390-04-compat_timer_settime.patch -s390-05-ctc-net-driver.patch -s390-06-lcs-net-driver.patch -s390-07-iucv-net-driver.patch -s390-08-dasd-driver.patch -s390-09-virtual-timer-interface.patch -s390-10-zvm-monitor-stream.patch -s390-11-collaborative-memory-management.patch -s390-12-cannel-measurement-block-interface.patch -s390-zfcp-host-adapter.patch -s390-syscalls-h-update.patch -s390-dcss-block-driver.patch -ide-io-CONFIG_LBD-fix.patch -dvb-01-update-subsystem-docs.patch -dvb-02-update-saa7146-core.patch -dvb-03-skystar2-updates.patch -dvb-04-core-updates.patch -dvb-05-frontend-updates.patch -dvb-06-stv0299-frontend-update.patch -dvb-07-tda1004x-update.patch -dvb-08-av7110-update.patch -dvb-09-ttusb-budget-update.patch -dvb-ttusb-budget-compile-fix.patch -n_tty-cleanup.patch -mac-driver-config-update.patch -request_firmware-01-class-fixes.patch -request_firmware-02-more-class-fixes.patch -request_firmware-03-bitmap.patch -request_firmware-04-priv-leak-fix.patch -request_firmware-05-release-race-fixes.patch -request_firmware-06-cleanups.patch -request_firmware-07-attribute-fixes.patch -early-printk-doc-fix.patch -radeon-config-fix-2.patch -remove-tty-CALLOUT-defines.patch -tdfx-remove-float.patch -mtd-locking-fix.patch
-afs-c99-fix.patch -remove-KERNEL_SYSCALLS-stuff.patch -msi-kirqd-build-fix.patch -isdn-c99-fixes.patch
-airo-c99-fixes.patch
-wanxl-c99-fixes.patch -pci200syn-c99-fixes.patch -irda-usb-c99-fixes.patch -saa7146_video-c99-fixes.patch -stv0229-c99-fixes.patch -alps_tdlb7-c99-fixes.patch -sp887x-c99-fixes.patch -budget-av-c99-fixes.patch -saa5246a-rev1-2.6.3.patch -kbuild-add-defconfig-targets-to-make-help.patch -wanmain-build-fix.patch -3c505-build-fix.patch

Merged

+move-dma_consistent_dma_mask.patch
+move-dma_consistent_dma_mask-x86_64-fix.patch

move pci_dev.consistent_dma_mask to dev.coherent_dma_mask

+scsi-external-build-fix.patch

Fix scsi.h for inclusion by userspace apps - it used to work, so...

+umount-dataloss-fix.patch

Fix a rare race whch can cause umount data loss.

+ppc64-iseries-mmu-hashtable-fix.patch
+ppc64-export-numa-symbols.patch

PPC64 stuff

+remove-sys_ioperm-stubs.patch

Clean up syscall stubs

+readdir-cleanups.patch

Hoist directory atime updates up to the VFS layer.

+sched-domains-improvements.patch

CPU scheduler tuning

-vm-dont-rotate-active-list.patch
-vm-lru-info.patch
-vm-shrink-zone.patch
-vm-tune-throttle.patch
-zone-balancing-fix.patch
-zone-balancing-batching.patch
+shrink_slab-precision-fix.patch
+try_to_free_pages-shrink_slab-evenness.patch
+vmscan-total_scanned-fix.patch
+zone-balancing-fix-2.patch
+vmscan-control-by-nr_to_scan-only.patch
+vmscan-balance-zone-scanning-rates.patch
+vmscan-dont-throttle-if-zero-max_scan.patch
+kswapd-avoid-higher-zones.patch
+vmscan-throttle-later.patch
+slab-no-higher-order.patch

Page reclaim rework

-nfs-write-throttling.patch
-nfs-mount-error-recovery.patch
+nfs-mount-fix.patch
+nfs_unlink-oops-fix.patch
+nfs-remove-XID-spinlock.patch
+nfs-misc-rpc-fixes.patch

Reworked NFS patches

+initramfs-search-for-init.patch

Nth version of this patch, still churning.

-expanded-pci-config-space.patch

Drop this - it's causing problems for some people and is still churning somewhat.

-dm-crypt-cipher-digest.patch

Dropped, was old.

+remove-__io_virt_debug.patch

Clean up old debug code

+rioctrl-retval-fixes.patch

errnos are negative

+doc-index-updates.patch

Fix up references to internal documentation

+genrtc-cleanups.patch

cleanup

+piix_ide_init-can-be-__init.patch

Make a function __init

+fusion-use-min-max.patch

Use generic min()/max()

+doc2000-warning-fixes.patch

Fix a warning

+initrd-kconfig-dependencies.patch

Fix initrd dependencies

+poweroff-atomicity-fix.patch

Part-fix sysrq-o

+bio-highmem-fix.patch

Fix BIO memory referencing

+ini9100u-build-fix.patch

Compile fix

+dm-crypt-cleanups.patch
+dm-crypt-end_io-bv_offset-fix.patch

dm-crypt fixes

+queue-congestion-callout.patch
+queue-congestion-dm-implementation.patch

Make device mapper queues correctly implement the queue congestion APIs

+proc-thread-visibility-revert.patch

Revert the /proc/<tid> "fix".

+zr36067-update.patch

Driver update

+keyspan-c99-fixes.patch
+hisax-c99-fixes.patch
+cs46_xx-c99-fix.patch

C99 initialiser fixes

+scsi-host-allocation-fix.patch

First-fit allocation of scsi host indices

+i386-early-memory-cleanup.patch

Clean up the super-early x86 memory handling code.

+raid1-bio_put-oops-fix.patch

RAID1 oops fix.

+modular-mce-handler.patch

permit the x86 MCE handler to be used as a module.

+LOOP_CHANGE_FD.patch

Add a sort of pivot-backing-file for loop.

+fastcall-warning-fixes.patch

Declaration consistency for FASTCALL

+README-update.patch

Update the README file.

+DCSSBLK-depends-on-s390.patch

DCSSBLK is s390-only.

+slab-warning-fix.patch

Fix a warnnig in slab.c

+remove-more-KERNEL_SYSCALLS.patch
+remove-more-KERNEL_SYSCALLS-build-fix.patch
+remove-more-KERNEL_SYSCALLS-build-fix-2.patch

Remove lots of the kernel-internal syscalls and just directly call sys_foo() instead.

+xprt_create_socket-fix.patch

Fix an error-path bug in xprt_create_socket()

+remove-nlmclnt_grace_wait.patch

Dead function

+tty-drivers-devfs-fix.patch

Make all tty drivers set the devfs name.

+vt-mode-changes-fix.patch

Fix switching between KD_GRAPHICS and KD_TEXT.

+sys_alarm-retval-fix.patch

Fix the return value from sys_alarm().

+gcc-35-lec-fix.patch

gcc-3.5 build fix.

+ip_rt_init-sizing-fix.patch

Fix the sizing of the tcp and route caches.

+buslogic-sections-fix.patch

Make a function non-__init.

+mq-01-codemove.patch
+mq-02-syscalls.patch
+mq-03-core.patch
+mq-03-core-update.patch
+mq-04-linuxext-poll.patch
+mq-05-linuxext-mount.patch

POSIX messages queues.

+remove-make-dep-references.patch

Comment fixes

+use-set_task_cpu-in-kthread_bind.patch

Cleanup in kthread code.

+HPFS1-hpfs2-RC4-rc1.patch
+HPFS2-hpfs_namei-RC4-rc1.patch
+HPFS3-hpfs_iget-RC4-rc1.patch
+HPFS4-hpfs_lock_iget-RC4-rc1.patch
+HPFS5-hpfs_locking-RC4-rc1.patch
+HPFS6-hpfs_cleanup-RC4-rc1.patch
+HPFS7-hpfs_cleanup2-RC4-rc1.patch
+HPFS8-hpfs_race2-RC4-rc1.patch
+HPFS9-hpfs_deadlock-RC4-rc1.patch

HPFS fixes

+tcp-oops-fix.patch

Fix rare oops in TCP

+swap-config-clarity.patch

Kconfig clarity

+powernow-k8-fix.patch

Fix this cpufreq driver

+x86_64-update.patch

Latest x86_64 tree

+libata-fix.patch

SATA fix

+usb-pc-watchdog-implementation.patch

New watchdog driver

+pdflush-use-kthread.patch

Switch pdflush to use kthread()

+firmware-pin-module.patch
+firmware-delay-hotplug.patch

Firmware loader updates

All 237 patches:

linus.patch

bk-acpi.patch

bk-alsa.patch

bk-arm.patch

bk-driver-core.patch

bk-ieee1394.patch

bk-netdev.patch

bk-scsi.patch

bk-usb.patch

mm.patch
add -mmN to EXTRAVERSION

dma_sync_for_device-cpu.patch
dma_sync_for_{cpu,device}()

compat-signal-noarch-2004-01-29.patch
Generic 32-bit compat for copy_siginfo_to_user

compat-generic-ipc-emulation.patch
generic 32 bit emulation for System-V IPC

move-dma_consistent_dma_mask.patch
move consistent_dma_mask to the generic device

move-dma_consistent_dma_mask-x86_64-fix.patch

kgdb-ga.patch
kgdb stub for ia32 (George Anzinger's one)
kgdbL warning fix
kgdb buffer overflow fix
kgdbL warning fix
kgdb: CONFIG_DEBUG_INFO fix
x86_64 fixes
correct kgdb.txt Documentation link (against 2.6.1-rc1-mm2)

kgdb-ga-recent-gcc-fix.patch
kgdb: fix for recent gcc

kgdboe-netpoll.patch
kgdb-over-ethernet via netpoll

kgdboe-non-ia32-build-fix.patch

kgdb-warning-fixes.patch
kgdb warning fixes

kgdb-x86_64-support.patch
kgdb-x86_64-support.patch for 2.6.2-rc1-mm3

kgdb-THREAD_SIZE-fixes.patch
THREAD_SIZE fixes for kgdb

scsi-external-build-fix.patch
use __u8 in scsi.h

umount-dataloss-fix.patch
fix umount dataloss problem

must-fix.patch
must fix lists update
must fix list update
mustfix update

must-fix-update-5.patch
must-fix update

ppc64-iseries-mmu-hashtable-fix.patch
ppc64: fix a bug in iSeries MMU hash management

ppc64-export-numa-symbols.patch
Add missing numa EXPORT_SYMBOLs

ppc64-reloc_hide.patch

remove-sys_ioperm-stubs.patch
Clean up sys_ioperm stubs

readdir-cleanups.patch
readdir() cleanups

invalidate_inodes-speedup.patch
invalidate_inodes speedup
more invalidate_inodes speedup fixes

cfq-4.patch
CFQ io scheduler
CFQ fixes

config_spinline.patch
uninline spinlocks for profiling accuracy.

pdflush-diag.patch

zap_page_range-debug.patch
zap_page_range() debug

get_user_pages-handle-VM_IO.patch
fix get_user_pages() against mappings of /dev/mem

support-zillions-of-scsi-disks.patch
support many SCSI disks

pci_set_power_state-might-sleep.patch

CONFIG_STANDALONE-default-to-n.patch
Make CONFIG_STANDALONE default to N

extra-buffer-diags.patch

CONFIG_SYSFS.patch
From: Pat Mochel <[email protected]>
Subject: [PATCH] Add CONFIG_SYSFS

CONFIG_SYSFS-boot-from-disk-fix.patch

slab-leak-detector.patch
slab leak detector

scale-nr_requests.patch
scale nr_requests with TCQ depth

truncate_inode_pages-check.patch

local_bh_enable-warning-fix.patch

sched-find_busiest_node-resolution-fix.patch
sched: improved resolution in find_busiest_node

sched-domains.patch
sched: scheduler domain support
sched: fix for NR_CPUS > BITS_PER_LONG
sched: clarify find_busiest_group
sched: find_busiest_group arithmetic fix

sched-domains-improvements.patch
sched domains kernbench improvements

sched-clock-fixes.patch
fix sched_clock()

sched-sibling-map-to-cpumask.patch
sched: cpu_sibling_map to cpu_mask
p4-clockmod sibling_map fix
p4-clockmod: handle more than two siblings

sched-domains-i386-ht.patch
sched: implement domains for i386 HT
sched: Fix CONFIG_SMT oops on UP
sched: fix SMT + NUMA bug
Change arch_init_sched_domains to use cpu_online_map Fix build with NR_CPUS > BITS_PER_LONG

sched-domain-tweak.patch
i386-sched-domain code consolidation

sched-no-drop-balance.patch
sched: handle inter-CPU jiffies skew

sched-directed-migration.patch
sched_balance_exec(): don't fiddle with the cpus_allowed mask

sched-domain-debugging.patch
sched_domain debugging

sched-domain-balancing-improvements.patch
scheduler domain balancing improvements

sched-group-power.patch
sched-group-power

sched-group-power-warning-fixes.patch
sched-group-power warning fixes

sched-domains-use-cpu_possible_map.patch
sched_domains: use cpu_possible_map

ppc64-cpu_vm_mask-fix.patch
ppc64: cpu_vm_mask fix

fa311-mac-address-fix.patch
wrong mac address with netgear FA311 ethernet card

laptop-mode-2.patch
laptop-mode for 2.6, version 6
Documentation/laptop-mode.txt
laptop-mode documentation updates
Laptop mode documentation addition
laptop mode simplification

pid_max-fix.patch
Bug when setting pid_max > 32k

use-soft-float.patch
Use -msoft-float

DRM-cvs-update.patch
DRM cvs update

drm-include-fix.patch

process-migration-speedup.patch
Reduce TLB flushing during process migration

hotplugcpu-generalise-bogolock.patch
Atomic Hotplug CPU: Generalize Bogolock

hotplugcpu-generalise-bogolock-fix-for-kthread-stop-using-signals.patch

hotplugcpu-use-bogolock-in-modules.patch
Atomic Hotplug CPU: Use Bogolock in module.c

hotplugcpu-core.patch
Atomic Hotplug CPU: Hotplug CPU Core

stop_machine-warning-fix.patch

hotplugcpu-core-sparc64-build-fix.patch
hotplugcpu-core sparc64 build fix

hotplugcpu-core-fix-for-kthread-stop-using-signals.patch

migrate_to_cpu-dependency-fix.patch
migrate_to_cpu() dependency fix

hotplugcpu-core-drain_local_pages-fix.patch
split drain_local_pages

hotplugcpu-rcupdate-many-cpus-fix.patch
CPU hotplug, rcupdate high NR_CPUS fix

nfs-31-attr.patch
NFSv2/v3/v4: New attribute revalidation code

nfs-reconnect-fix.patch

nfs-mount-fix.patch
Update to NFS mount....

nfs-d_drop-lowmem.patch
NFS: handle nfs_fhget() error

nfs-avoid-i_size_write.patch
NFS: avoid unlocked i_size_write()

nfs_unlink-oops-fix.patch
nfs: fix "busy inodes after umount"

nfs-remove-XID-spinlock.patch
nfs: Remove an unnecessary spinlock from XID generation...

nfs-misc-rpc-fixes.patch
nfs: Misc RPC fixes...

nfs-server-in-root_server_path.patch
Pull NFS server address out of root_server_path

non-readable-binaries.patch
Handle non-readable binfmt_misc executables

binfmt_misc-credentials.patch
binfmt_misc: improve calaulation of interpreter's credentials

sleep_on-needs_lock_kernel.patch
sleep_on(): check for lock_kernel

initramfs-search-for-init.patch
search for /init for initramfs boots

centaur-crypto-core-support.patch
First steps toward VIA crypto support

adaptive-lazy-readahead.patch
adaptive lazy readahead

ext3-journalled-quotas.patch
ext3: Journalled quotas

ext3-journalled-quotas-warning-fix.patch

ext3-journalled-quotas-cleanups.patch

sysfs_remove_dir-race-fix.patch
sysfs_remove_dir-vs-dcache_readdir race fix

sysfs_remove_subdir-dentry-leak-fix.patch
Fix dentry refcounting in sysfs_remove_group()

per-node-rss-tracking.patch
Track per-node RSS for NUMA

aic7xxx-deadlock-fix.patch
aic7xxx deadlock fix

futex_wait-debug.patch
futex_wait debug

module_exit-deadlock-fix.patch
module unload deadlock fix

tulip-printk-cleanup.patch
tulip printk cleanup

parport-01-move-exports.patch
parport: move exports

parport-02-use-module_init.patch
parport: use module_init() for low-level driver init

parport-03-sysctls-use-module_init.patch
parport: use module_init() for sysctl registration

parport-04-move-option-parsing.patch
parport: move parport_pc option parsing

parport-irq-warning-fix.patch
parport warning fixes

parport-05-parport_pc_probe_port-fixes.patch
parport: sanitize parport_pc_probe_port()

parport-06-refcounting-fixes.patch
parport: refcounting fixes

parport-07-unregister-fixes.patch
parport: parport_unregister_port() splitups abd fixes

parport-08-parport_announce-cleanups.patch
parport: parport_announce_port() cleanup

parport-09-track-used-ports.patch
parport: parport_pc(): keep track of ports

parport-09-track-used-ports-fix.patch

parport-10-sunbpp-track-ports.patch
parport: parport_sunbpp(): keep track of ports

parport-11-remove-parport_enumerate.patch
parport: remove parport_enumerate()

parport-12-driver-list-cleanup.patch
parport: use list.h for driver list

hitachi-scsi_devinfo-fix.patch
Add Hitachi 9960 Storage on SCSI devlist as BLIST_SPARSELUN|BLIST_LARGELUN

selinux-inode-race-trap.patch
Try to diagnose Bug 2153

ext3-dirty-debug-patch.patch
ext3 debug patch

ufs2-01.patch
read-only support for UFS2

ide-scsi-error-handling-fixes.patch
ide-scsi error handling fixes

fb_console_init-fix.patch
fb_console_init fix

poll-select-longer-timeouts.patch
poll()/select(): support longer timeouts

poll-select-range-check-fix.patch
poll()/select() range checking fix

poll-select-handle-large-timeouts.patch
poll()/select(): handle long timeouts

zwane-is-floppy-maintainer-now.patch
floppy oops fix(?)

pcmcia-debugging-rework-1.patch
Overhaul PCMCIA debugging (1)

cs_err-compile-fix.patch
pcmcia: workaround for gcc-2.95 bug in cs_err()

pcmcia-debugging-rework-2.patch
Overhaul PCMCIA debugging (2)

distribute-early-allocations-across-nodes.patch
Manfred's patch to distribute boot allocations across nodes

time-interpolator-fix.patch
time interpolator fix

kmsg-nonblock.patch
teach /proc/kmsg about O_NONBLOCK

mixart-build-fix.patch
CONFIG_SND_MIXART doesn't compile

add-a-slab-for-ethernet.patch
Add a kmalloc slab for ethernet packets

remove-__io_virt_debug.patch
remove __io_virt_debug

rioctrl-retval-fixes.patch
char/rio/rioctrl: fix ioctl return values

doc-index-updates.patch
Doc/00-index additions

genrtc-cleanups.patch
genrtc: cleanups

piix_ide_init-can-be-__init.patch
piix_ide_init can be __init

fusion-use-min-max.patch
message/fusion: use kernel min/max

doc2000-warning-fixes.patch
mtd/doc200x: warning fixes

initrd-kconfig-dependencies.patch
Fix initrd Kconfig dependencies

poweroff-atomicity-fix.patch
sysrq-o atomicity fix

bio-highmem-fix.patch
fix small highmem bio bounce bvec handling glitch

ini9100u-build-fix.patch
ini9100u build fix

move-scatterwalk-functions-to-own-file.patch
move scatterwalk functions to own file

in-place-encryption-fix.patch
fix in-place de/encryption bug with highmem

dm-crypt-cleanups.patch
dm-crypt cleanups

dm-crypt-end_io-bv_offset-fix.patch
dm-crypt end_io bv_offset fix

queue-congestion-callout.patch
Add queue congestion callout

queue-congestion-dm-implementation.patch
Implement queue congestion callout for device mapper

proc-thread-visibility-revert.patch
revert the /proc thread visibility fix

zr36067-update.patch
zr36067 driver update

keyspan-c99-fixes.patch
C99 initializers for drivers/usb/serial/keyspan.h

hisax-c99-fixes.patch
C99 initiailzers for drivers/isdn/hisax/hisax_fcpcipnp.c

scsi-host-allocation-fix.patch
SCSI host num allocation improvement

i386-early-memory-cleanup.patch
i386 very early memory detection cleanup patch

raid1-bio_put-oops-fix.patch
raid1: fix oops in bio_put()

modular-mce-handler.patch
Allow X86_MCE_NONFATAL to be a module

LOOP_CHANGE_FD.patch
LOOP_CHANGE_FD ioctl

fastcall-warning-fixes.patch
fastcall / regparm fixes

README-update.patch
linux/README update

DCSSBLK-depends-on-s390.patch
DCSSBLK depends on CONFIG_S390

slab-warning-fix.patch
mm/slab.c warning in cache_alloc_debugcheck_after

cs46_xx-c99-fix.patch
c99 initializers for cs46xx_wrapper

remove-more-KERNEL_SYSCALLS.patch
further __KERNEL_SYSCALLS__ removal

remove-more-KERNEL_SYSCALLS-build-fix.patch
build fix for remove-more-KERNEL_SYSCALLS.patch

remove-more-KERNEL_SYSCALLS-build-fix-2.patch
fix the build for remove-more-KERNEL_SYSCALLS

xprt_create_socket-fix.patch
NFS SUNRPC fix

remove-nlmclnt_grace_wait.patch
kill a dead function in lockd

tty-drivers-devfs-fix.patch
Fix tty drivers which dont set tty_driver->devfs_name

vt-mode-changes-fix.patch
Fix VT mode change vs. fbcon

sys_alarm-retval-fix.patch
sys_alarm() return value fix

gcc-35-lec-fix.patch
gcc-3.5 fix for net/atm/lec.c

ip_rt_init-sizing-fix.patch
Fix network hashtable sizing

buslogic-sections-fix.patch
buslogic initsection fix

mq-01-codemove.patch
posix message queues: code move

mq-02-syscalls.patch
posix message queues: syscall stubs

mq-03-core.patch
posix message queues: implementation

mq-03-core-update.patch
posix message queues: update to core patch

mq-04-linuxext-poll.patch
posix message queues: linux-specific poll extension

mq-05-linuxext-mount.patch
posix message queues: made user mountable

remove-make-dep-references.patch
remove a few remaining "make dep" references

use-set_task_cpu-in-kthread_bind.patch
use set_task_cpu() in kthread_bind()

HPFS1-hpfs2-RC4-rc1.patch

HPFS2-hpfs_namei-RC4-rc1.patch

HPFS3-hpfs_iget-RC4-rc1.patch

HPFS4-hpfs_lock_iget-RC4-rc1.patch

HPFS5-hpfs_locking-RC4-rc1.patch

HPFS6-hpfs_cleanup-RC4-rc1.patch

HPFS7-hpfs_cleanup2-RC4-rc1.patch

HPFS8-hpfs_race2-RC4-rc1.patch

HPFS9-hpfs_deadlock-RC4-rc1.patch

tcp-oops-fix.patch
TCP oopser fix

swap-config-clarity.patch
clarify CONFIG_SWAP Kconfig help

powernow-k8-fix.patch
Make powernow-k8 cpufreq control work again

x86_64-update.patch
x86-64 fixes for 2.6.4rc1

libata-fix.patch
2.6.x libata fix

usb-pc-watchdog-implementation.patch
pcwd_usb watchdog implementation

pdflush-use-kthread.patch
convert pdflush to kthread

firmware-pin-module.patch
firmware loader: pin firmware module

firmware-delay-hotplug.patch
firmware loader: delay firmware hotplug event

instrument-highmem-page-reclaim.patch
vm: per-zone vmscan instrumentation

blk_congestion_wait-return-remaining.patch
return remaining jiffies from blk_congestion_wait()

vmscan-remove-priority.patch
mm/vmscan.c: remove unused priority argument.

kswapd-throttling-fixes.patch
kswapd throttling fixes

vm-refill_inactive-preserve-referenced.patch
vmscan: preserve page referenced info in refill_inactive()

shrink_slab-precision-fix.patch
shrink_slab: math precision fix

try_to_free_pages-shrink_slab-evenness.patch
vm: shrink slab evenly in try_to_free_pages()

vmscan-total_scanned-fix.patch
vmscan: fix calculation of number of pages scanned

shrink_slab-for-all-zones-2.patch
vm: scan slab in response to highmem scanning

zone-balancing-fix-2.patch
vmscan: zone balancing fix

vmscan-control-by-nr_to_scan-only.patch
vmscan: drive everything via nr_to_scan

vmscan-balance-zone-scanning-rates.patch
Balance inter-zone scan rates

vmscan-dont-throttle-if-zero-max_scan.patch
vmscan: avoid bogus throttling

kswapd-avoid-higher-zones.patch
kswapd: avoid unnecessary reclaiming from higher zones

vmscan-throttle-later.patch
vmscan: less throttling of page allocators and kswapd

slab-no-higher-order.patch
slab: avoid higher-order allocations

list_del-debug.patch
list_del debug check

oops-dump-preceding-code.patch
i386 oops output: dump preceding code

lockmeter.patch

ia64-lockmeter-fix.patch

lockmeter-2.2-cruft.patch
lockmeter.h: remove kernel 2.2 #ifdef (i386 + alpha)

4g-2.6.0-test2-mm2-A5.patch
4G/4G split patch
4G/4G: remove debug code
4g4g: pmd fix
4g/4g: fixes from Bill
4g4g: fpu emulation fix
4g/4g usercopy atomicity fix
4G/4G: remove debug code
4g4g: pmd fix
4g/4g: fixes from Bill
4g4g: fpu emulation fix
4g/4g usercopy atomicity fix
4G/4G preempt on vstack
4G/4G: even number of kmap types
4g4g: fix __get_user in slab
4g4g: Remove extra .data.idt section definition
4g/4g linker error (overlapping sections)
4G/4G: remove debug code
4g4g: pmd fix
4g/4g: fixes from Bill
4g4g: fpu emulation fix
4g4g: show_registers() fix
4g/4g usercopy atomicity fix
4g4g: debug flags fix
4g4g: Fix wrong asm-offsets entry
cyclone time fixmap fix
4G/4G preempt on vstack
4G/4G: even number of kmap types
4g4g: fix __get_user in slab
4g4g: Remove extra .data.idt section definition
4g/4g linker error (overlapping sections)
4G/4G: remove debug code
4g4g: pmd fix
4g/4g: fixes from Bill
4g4g: fpu emulation fix
4g4g: show_registers() fix
4g/4g usercopy atomicity fix
4g4g: debug flags fix
4g4g: Fix wrong asm-offsets entry
cyclone time fixmap fix
use direct_copy_{to,from}_user for kernel access in mm/usercopy.c 4G/4G might_sleep warning fix
4g/4g pagetable accounting fix
Fix 4G/4G and WP test lockup
4G/4G KERNEL_DS usercopy again
Fix 4G/4G X11/vm86 oops
Fix 4G/4G athlon triplefault
4g4g SEP fix
Fix 4G/4G split fix for pre-pentiumII machines
4g/4g PAE ACPI low mappings fix
zap_low_mappings() cannot be __init
4g/4g: remove printk at boot

4g4g-THREAD_SIZE-fixes.patch

4g4g-locked-userspace-copy.patch
Do a locked user-space copy for 4g/4g

ppc-fixes.patch
make mm4 compile on ppc

O_DIRECT-race-fixes-rollup.patch
O_DIRECT data exposure fixes

O_DIRECT-ll_rw_block-vs-block_write_full_page-fix.patch
Fix race between ll_rw_block() and block_write_full_page()

blockdev-direct-io-speedup.patch
blockdev direct-io speedups

O_DIRECT-vs-buffered-fix.patch
Fix O_DIRECT-vs-buffered data exposure bug

O_DIRECT-vs-buffered-fix-pdflush-hang-fix.patch
pdflush hang fix

serialise-writeback-fdatawait.patch
serialize_writeback_fdatawait patch

dio-aio-fixes.patch
direct-io AIO fixes

aio-fallback-bio_count-race-fix-2.patch
AIO+DIO bio_count race fix

#1 lore raw
Quoted 3 lines · Andrew Morton

+scsi-external-build-fix.patch

Fix scsi.h for inclusion by userspace apps - it used to work, so...

This has been rejected on linux-scsi a few times. Don't use include/scsi/ from the kerneltree - there's alredy a /usr/include/scsi from glibc anyway, so the situation is even more clear thæn the general you should not include kernel headers thing.

#2 lore raw
Quoted 10 lines · Christoph Hellwig
Quoted 3 lines · Andrew Morton

+scsi-external-build-fix.patch

Fix scsi.h for inclusion by userspace apps - it used to work, so...

This has been rejected on linux-scsi a few times. Don't use include/scsi/ from the kerneltree - there's alredy a /usr/include/scsi from glibc anyway, so the situation is even more clear thæn the general you should not include kernel headers thing.

hm, OK. If it works in 2.4 and doesn't work in 2.6 I'd consider that a regression. And as the fix is so trivial, I'd consider failure to fix it as pure dogmatism. But whatever, I'm utterly bored of this discussion. Consider it dropped.

#3 lore raw
In reply to Christoph Hellwig

In article <[email protected]>,
Christoph Hellwig <[email protected]> wrote:

| On Sun, Feb 29, 2004 at 02:06:17PM -0800, Andrew Morton wrote:
| > +scsi-external-build-fix.patch
| > 
| > Fix scsi.h for inclusion by userspace apps - it used to work, so...
| 
| This has been rejected on linux-scsi a few times.  Don't use include/scsi/
| from the kerneltree - there's alredy a /usr/include/scsi from glibc anyway,
| so the situation is even more clear th�n the general you should not include
| kernel headers thing.

But the glibc headers don't describe 2.6, do they? Don't work with 2.6? We went around with this for cdrecord unless I misread which headers are involved.

It's not reasonable to expect people to rebuild glibc for each kernel, even if it is "the right thing to do" in some purist sense. It would be better to have something like user header in the kernel for just the interface, and have the kernel include start by pulling in the user header and then adding things the user doesn't need.

Changes between kernel series are always unpleasant during the time when people have to boot back and forth, we should think about a better way to do this for 2.7.

Signature · 3 lines
bill davidsen <[email protected]>
  CTO, TMR Associates, Inc
Doing interesting things with little computers since 1979.
#4 lore raw
In reply to Andrew Morton
Quoted 17 lines · Andrew Morton
(quoted diff) +10 -6
-vm-dont-rotate-active-list.patch
-vm-lru-info.patch
-vm-shrink-zone.patch
-vm-tune-throttle.patch
-zone-balancing-fix.patch
-zone-balancing-batching.patch
+shrink_slab-precision-fix.patch
+try_to_free_pages-shrink_slab-evenness.patch
+vmscan-total_scanned-fix.patch
+zone-balancing-fix-2.patch
+vmscan-control-by-nr_to_scan-only.patch
+vmscan-balance-zone-scanning-rates.patch
+vmscan-dont-throttle-if-zero-max_scan.patch
+kswapd-avoid-higher-zones.patch
+vmscan-throttle-later.patch
+slab-no-higher-order.patch
Quoted 3 lines

Page reclaim rework

Thank you Andrew.

All these changes are nicely broken out, and they all look good. vmscan-control-by-nr_to_scan-only.patch and vmscan-balance-zone-scanning-rates.patch are almost exactly what
I have here.

I had one addition which is to use a "refill_counter" for inactive list scanning as well so the scanning is batched up now that we don't round up the amount to be done. No observed benefits, but I imagine it would lower the acquisition frequency of the lru locks in some cases?

kswapd-avoid-higher-zones.patch looks good, and should solve the incremental min problem which my solution didn't.

Should I start testing again, or are you still doing more to vmscan? Nikita's dont-rotate-active-list.patch looks to be the only major casualty. I found this patch pretty important, so I will definitely like to demonstrate its benefits. One question remains, would you accept the patch in its current form?

Nick

#5 lore raw
Quoted 6 lines · Nick Piggin

I had one addition which is to use a "refill_counter" for inactive
list scanning as well so the scanning is batched up now that we don't round up the amount to be done. No observed benefits, but I imagine it would lower the acquisition frequency of the lru locks in some cases?

Might do, yes.

Also I think you did some work on the inactive-vs-active list balancing? I have spent precisely zero time looking at or working on that since 2.5.nothing and it's entirely possible that it is doing something inappropriate.

Quoted 1 line

Should I start testing again, or are you still doing more to vmscan?

Now would be a good time. The only thing I'm likely to look at in the next several days is accounting for the slab fragmentation. My current thinking is to solve that by making slab account for the number of objects and the number of pages, and to use that in shrink_dcache_memory(), so it doesn't touch vmscan.c at all.

Quoted 4 lines

Nikita's dont-rotate-active-list.patch looks to be the only major casualty. I found this patch pretty important, so I will definitely like to demonstrate its benefits. One question remains, would you accept the patch in its current form?

We should bring that back for testing, please. I need to sit down and think a bit more about test suites which replicate workloads which we care about before making any decisions.

One point I would make is that if a workload is only achieving 5% CPU anyway, we shouldn't optimise for it. Sure, it's nice to be able to get it up to 7% but it is much more important to get the 50% CPU workload up to 70%. The 5% problem is a fiscal one, not an engineering one ;)

#6 lore raw
Quoted 12 lines · Andrew Morton
Quoted 6 lines · Nick Piggin

I had one addition which is to use a "refill_counter" for inactive list scanning as well so the scanning is batched up now that we don't round up the amount to be done. No observed benefits, but I imagine it would lower the acquisition frequency of the lru locks in some cases?

Might do, yes.

OK I've sent you a patch to do that.

Quoted 6 lines

Also I think you did some work on the inactive-vs-active list balancing? I have spent precisely zero time looking at or working on that since 2.5.nothing and it's entirely possible that it is doing something inappropriate.

Yes I did. I will continue to look into this.

Quoted 10 lines
Quoted 2 lines

Should I start testing again, or are you still doing more to vmscan?

Now would be a good time. The only thing I'm likely to look at in the next several days is accounting for the slab fragmentation. My current thinking is to solve that by making slab account for the number of objects and the number of pages, and to use that in shrink_dcache_memory(), so it doesn't touch vmscan.c at all.

My thinking is to go by number of pages. Then you get to tell the
shrinker: we scanned this many pages of LRU, so please scan an equivalent percentage of slab *pages*.

You can then translate this to number of slab objects before scanning.

Oh, apart from that, there is still one thing that I'm not sure is correct about slab scanning... we scan slab in response to scanning a part of the inactive list, but we apply this pressure as if it were a ratio of active + inactive lists.

This will cause slab to be scanned less, but my main worry is that it makes slab scanning behaviour dependant on the ratio of active to inactive list size: the bigger your active list, the less slab will be scanned which I think is silly. But I might be wrong.

Quoted 6 lines
Quoted 5 lines

Nikita's dont-rotate-active-list.patch looks to be the only major casualty. I found this patch pretty important, so I will definitely like to demonstrate its benefits. One question remains, would you accept the patch in its current form?

Quoted 9 lines

We should bring that back for testing, please. I need to sit down and think a bit more about test suites which replicate workloads which we care about before making any decisions.

One point I would make is that if a workload is only achieving 5% CPU anyway, we shouldn't optimise for it. Sure, it's nice to be able to get it up to 7% but it is much more important to get the 50% CPU workload up to 70%. The 5% problem is a fiscal one, not an engineering one ;)

I agree. I'm much more interested in getting light and medium swapping working better.

#7 lore raw
Quoted 4 lines · Nick Piggin

Andrew Morton wrote:

Quoted 9 lines
Quoted 5 lines

One point I would make is that if a workload is only achieving 5% CPU anyway, we shouldn't optimise for it. Sure, it's nice to be able to get it up to 7% but it is much more important to get the 50% CPU workload up to 70%. The 5% problem is a fiscal one, not an engineering one ;)

I agree. I'm much more interested in getting light and medium swapping working better.

Just so I'm not misunderstood, I must add that I found Nikita's patch to definitely help light and medium swapping kbuild runs. The fact that it *really* helped heavy swapping is a bonus.

But I agree that we need more meaningful tests too. Maybe things like overloading apache or a mail or database server might be interesting.

#8 lore raw
In reply to Nick Piggin
Quoted 12 lines · Nick Piggin
Quoted 11 lines
Quoted 3 lines

Should I start testing again, or are you still doing more to vmscan?

Now would be a good time. The only thing I'm likely to look at in the next several days is accounting for the slab fragmentation. My current thinking is to solve that by making slab account for the number of objects and the number of pages, and to use that in shrink_dcache_memory(), so it doesn't touch vmscan.c at all.

Quoted 3 lines

My thinking is to go by number of pages. Then you get to tell the
shrinker: we scanned this many pages of LRU, so please scan an equivalent percentage of slab *pages*.

The metric which we need to be balancing on here is

(probability that the object will be needed again) * (number of seeks to reestablish the object) / (size of object).

The first two factors are wildass guesses. I figure a pagecache page is worth maybe 1/8th of a seek and an inode is worth, umm, more than that. Maybe half a seek? Our accounting for this is currently way off and needs to be tuned up.

One big problem with implementing slab balancing is that the inode cache is a separate slab per filesystem, so any fancy accounting of icache requires visits to all filesystems.

Now it could well be that inode_unused is a complete waste of space. After all, these are inodes whose dentries have been reaped - it is unlikely that they're much use. And it could be that their backing block is still in pagecache anyway.

So if getting the dcache accounted for is not sufficient then it might be necessary to either shrink the heck out of inode_unused of just kill it altogether.

Quoted 11 lines

You can then translate this to number of slab objects before scanning.

Oh, apart from that, there is still one thing that I'm not sure is correct about slab scanning... we scan slab in response to scanning a part of the inactive list, but we apply this pressure as if it were a ratio of active + inactive lists.

This will cause slab to be scanned less, but my main worry is that it makes slab scanning behaviour dependant on the ratio of active to inactive list size: the bigger your active list, the less slab will be scanned which I think is silly. But I might be wrong.

No, you're right - it doesn't make a lot of sense.

#9 lore raw

2.6.4-rc1-mm1: multiple definitions of `debug'

In reply to Andrew Morton
Quoted 7 lines · Andrew Morton

...
Changes since 2.6.3-mm4:
...
bk-usb.patch

Latest versions of various external trees.
...

I got the following error:

<-- snip -->

...
LD .tmp_vmlinux1
drivers/built-in.o(.bss+0x85224): multiple definition of `debug' arch/i386/kernel/built-in.o(.entry.text+0xfd4): first defined here
make: *** [.tmp_vmlinux1] Error 1

<-- snip -->

The new drivers/usb/input/ati_remote.c driver thinks "debug" would be a good name for a global variable...

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 Seed
#10 lore raw

Re: 2.6.4-rc1-mm1: multiple definitions of `debug'

Quoted 3 lines · Adrian Bunk

The new drivers/usb/input/ati_remote.c driver thinks "debug" would be a
good name for a global variable...

heh, I'll send a fix to Greg, thanks.

The existing user is the debug trap entry point in entry.S.

#11 lore raw

Re: 2.6.4-rc1-mm1: multiple definitions of `debug'

In reply to Adrian Bunk
Quoted 2 lines · Adrian Bunk

The new drivers/usb/input/ati_remote.c driver thinks "debug" would be a good name for a global variable...

(blush) Mea culpa. Sorry!

Quoted 3 lines

cu
Adrian

Signature · 1 line
Torrey Hoffman <[email protected]>
#12 lore raw
In reply to Andrew Morton

On Sunday 29 February 2004 23:06, Andrew Morton wrote:

Hi Andrew,

Quoted 4 lines

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.4-rc1/2.6 .4-rc1-mm1/
+modular-mce-handler.patch
permit the x86 MCE handler to be used as a module.

This needs following patch for module, otherwise there's an unresolved symbol.

ciao, Marc

arch/i386/kernel/i386_ksyms.c +5 -0
@@ -206,3 +206,8 @@ EXPORT_SYMBOL(ist_info);
 #endif
 
 EXPORT_SYMBOL(csum_partial);
+
+#ifdef CONFIG_X86_MCE_NONFATAL_MODULE
+extern int (nr_mce_banks);
+EXPORT_SYMBOL(nr_mce_banks);
+#endif
#13 lore raw

On Monday 01 March 2004 02:39, Marc-Christian Petersen wrote:

Hi Andrew,

Quoted 4 lines

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.4-rc1/2.6 .4-rc1-mm1/
ext3-journalled-quotas.patch
ext3: Journalled quotas

kernel/fs/quota_v2.ko needs symbol 'mark_info_dirty'.

ciao, Marc

fs/dquot.c +1 -0
@@ -1672,3 +1672,4 @@ EXPORT_SYMBOL(unregister_quota_format);
 EXPORT_SYMBOL(dqstats);
 EXPORT_SYMBOL(dq_list_lock);
 EXPORT_SYMBOL(dq_data_lock);
+EXPORT_SYMBOL(mark_info_dirty);
#14 lore raw

posix message queues, was Re: 2.6.4-rc1-mm1

In reply to Andrew Morton
Quoted 5 lines · Andrew Morton

- Added the POSIX message queue implementation. We're still stitching together a decent description of all of this. Reference information is at

	http://www.mat.uni.torun.pl/~wrona/posix_ipc/
 and
	http://www.opengroup.org/onlinepubs/007904975/basedefs/mqueue.h.html

I can confirm that basic functionality is there. Both blocking and nonblocking operations work as advertised. Queue properly blocks when full or empty.

mq_timedsend does not wait, it immediately returns ETIMEOUT with the queue is full:

         struct timespec ts;
         ts.tv_sec=1;
    	 ts.tv_nsec=0;
         sprintf(msgptr,"%05d %s",c,stime);
	 
         if ( mq_timedsend(mqd,msgptr,msglen,msg_prio, &ts) )
	 {
	    perror("mq_send()");
	      break;
	 }

results in:

$ ./mqreceive /Q32x128
1: priority 0  len 64 text 00001 Mon Mar  1 12:20:11 2004  
$ ./mqreceive /Q32x128
1: priority 0  len 64 text 00001 Mon Mar  1 12:20:11 2004  
$ ./mqsend  /Q32x128
$ ./mqsend  /Q32x128
$ ./mqsend  /Q32x128
mq_send(): Connection timed out  <- immediately

Queue is in blocking mode.

I would very much advise Michal and Krzysztof to add some basic examples to their page. I had to scour the internet to find some working code.

This is one of the few sites that allow you to test the posix message queue:
http://www.ac3.edu.au/SGI_Developer/books/T_IRIX_Prog/sgi_html/ch06.html

The examples there add /var/tmp/ to the queuenames, with linux, posix queues need to have a name that starts with /.

Mounting the queuefs works but the fs, confusingly, is called mqueue and not mqueuefs.

Otherwise sound work! PowerDNS really wants posix message queues, right now we fuddle along with semaphores and locks.

Thanks,
Bert.

Signature · 2 lines
http://www.PowerDNS.com      Open source, database driven DNS Software 
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO
#15 lore raw

Re: posix message queues, was Re: 2.6.4-rc1-mm1

Quoted 30 lines · bert hubert
Quoted 7 lines · Andrew Morton

- Added the POSIX message queue implementation. We're still stitching together a decent description of all of this. Reference information is at

	http://www.mat.uni.torun.pl/~wrona/posix_ipc/
and
	http://www.opengroup.org/onlinepubs/007904975/basedefs/mqueue.h.html

I can confirm that basic functionality is there. Both blocking and nonblocking operations work as advertised. Queue properly blocks when full or empty.

mq_timedsend does not wait, it immediately returns ETIMEOUT with the queue is full:

        struct timespec ts;
        ts.tv_sec=1;
   	 ts.tv_nsec=0;
        sprintf(msgptr,"%05d %s",c,stime);
	 
        if ( mq_timedsend(mqd,msgptr,msglen,msg_prio, &ts) )
	 {
	    perror("mq_send()");
	      break;
	 }
Quoted 10 lines

results in:

$ ./mqreceive /Q32x128
1: priority 0  len 64 text 00001 Mon Mar  1 12:20:11 2004  $ ./mqreceive /Q32x128
1: priority 0  len 64 text 00001 Mon Mar  1 12:20:11 2004  $ ./mqsend  /Q32x128
$ ./mqsend  /Q32x128
$ ./mqsend  /Q32x128
mq_send(): Connection timed out  <- immediately

It _should_ return immediately. mq_timedsend timeout must be given as absolute value, so if you want to have one second timeout from now, you must do:

	ts.tv_sec = time(NULL) + 1;

ts.tv_nsec = 0;

And I don't have idea why POSIX defines timeout as absolute not relative ;-).

Quoted 4 lines

I would very much advise Michal and Krzysztof to add some basic examples to their page. I had to scour the internet to find some working code.

Thats right. The above problem also shows that such examples can be usefull. We are just now updating man pages for the library (there are some obsolete informations) and I will prepare some well commented programs.

Quoted 4 lines

Mounting the queuefs works but the fs, confusingly, is called mqueue and not mqueuefs.

As proc or msdos. Of course it can be changed if more people will want 'fs' suffix. Menuconfig help gives proper name.

Regards,
Krzysiek

#16 lore raw
In reply to Andrew Morton

Hi,

has anything changed with C1 halt? I mean it seems that CPU Disconnect doesn't get called (Though I enabled it), as with 2.6.3-mm4 (yesterday and today going back) my idle temps are about 46-47°C. Now with 2.6.4-mm1 they went up to 50-52°C.

Using same config. I attached mine for 2.6.3-mm4.

I guess it is some sort of ACPI issue? Aside from the temp rise, I haven't noticed any regression. I will try 2.6.4_rc1-mm1 later again, to
verify my observation. Anything else I could check?

bye,

Prakash

#
# Automatically generated make config: don't edit
#
CONFIG_X86=y
CONFIG_MMU=y
CONFIG_UID16=y
CONFIG_GENERIC_ISA_DMA=y

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
# CONFIG_CLEAN_COMPILE is not set
# CONFIG_STANDALONE is not set
CONFIG_BROKEN=y
CONFIG_BROKEN_ON_SMP=y

#
# General setup
#
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
# CONFIG_BSD_PROCESS_ACCT is not set
CONFIG_SYSCTL=y
CONFIG_LOG_BUF_SHIFT=14
CONFIG_HOTPLUG=y
# CONFIG_IKCONFIG is not set
# CONFIG_EMBEDDED is not set
CONFIG_KALLSYMS=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set

#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
# CONFIG_MODULE_FORCE_UNLOAD is not set
CONFIG_OBSOLETE_MODPARM=y
# CONFIG_MODVERSIONS is not set
CONFIG_KMOD=y

#
# Processor type and features
#
CONFIG_X86_PC=y
# CONFIG_X86_ELAN is not set
# CONFIG_X86_VOYAGER is not set
# CONFIG_X86_NUMAQ is not set
# CONFIG_X86_SUMMIT is not set
# CONFIG_X86_BIGSMP is not set
# CONFIG_X86_VISWS is not set
# CONFIG_X86_GENERICARCH is not set
# CONFIG_X86_ES7000 is not set
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
# CONFIG_MPENTIUMIII is not set
# CONFIG_MPENTIUMM is not set
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
CONFIG_MK7=y
# CONFIG_MK8 is not set
# CONFIG_MELAN is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
# CONFIG_X86_GENERIC is not set
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_L1_CACHE_SHIFT=6
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
CONFIG_X86_USE_3DNOW=y
# CONFIG_X86_4G is not set
# CONFIG_X86_SWITCH_PAGETABLES is not set
# CONFIG_X86_4G_VM_LAYOUT is not set
# CONFIG_X86_UACCESS_INDIRECT is not set
# CONFIG_X86_HIGH_ENTRY is not set
CONFIG_HPET_TIMER=y
CONFIG_HPET_EMULATE_RTC=y
# CONFIG_SMP is not set
CONFIG_PREEMPT=y
# CONFIG_X86_UP_APIC is not set
CONFIG_X86_TSC=y
CONFIG_X86_MCE=y
CONFIG_X86_MCE_NONFATAL=y
# CONFIG_TOSHIBA is not set
# CONFIG_I8K is not set
CONFIG_MICROCODE=y
CONFIG_X86_MSR=y
CONFIG_X86_CPUID=y
# CONFIG_EDD is not set
# CONFIG_NOHIGHMEM is not set
CONFIG_HIGHMEM4G=y
# CONFIG_HIGHMEM64G is not set
CONFIG_HIGHMEM=y
CONFIG_HIGHPTE=y
# CONFIG_MATH_EMULATION is not set
CONFIG_MTRR=y
# CONFIG_EFI is not set
CONFIG_HAVE_DEC_LOCK=y
# CONFIG_REGPARM is not set

#
# Power management options (ACPI, APM)
#
CONFIG_PM=y
# CONFIG_SOFTWARE_SUSPEND is not set
# CONFIG_PM_DISK is not set

#
# ACPI (Advanced Configuration and Power Interface) Support #
CONFIG_ACPI=y
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_INTERPRETER=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SLEEP_PROC_FS=y
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_FAN=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=y
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_TOSHIBA is not set
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_BUS=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SYSTEM=y
# CONFIG_ACPI_RELAXED_AML is not set CONFIG_X86_PM_TIMER=y

#
# APM (Advanced Power Management) BIOS Support
#
# CONFIG_APM is not set

#
# CPU Frequency scaling
#
# CONFIG_CPU_FREQ is not set

#
# Bus options (PCI, PCMCIA, EISA, MCA, ISA)
#
CONFIG_PCI=y
# CONFIG_PCI_GOBIOS is not set
# CONFIG_PCI_GOMMCONFIG is not set
CONFIG_PCI_GODIRECT=y
# CONFIG_PCI_GOANY is not set
CONFIG_PCI_DIRECT=y
CONFIG_PCI_LEGACY_PROC=y
CONFIG_PCI_NAMES=y
CONFIG_ISA=y
# CONFIG_EISA is not set
# CONFIG_MCA is not set
# CONFIG_SCx200 is not set

#
# PCMCIA/CardBus support
#
# CONFIG_PCMCIA is not set
CONFIG_PCMCIA_PROBE=y

#
# PCI Hotplug Support
#
# CONFIG_HOTPLUG_PCI is not set

#
# Executable file formats
#
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_AOUT=y
CONFIG_BINFMT_MISC=y

#
# Device Drivers
#

#
# Generic Driver Options
#
# CONFIG_FW_LOADER is not set

#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set

#
# Parallel port support
#
# CONFIG_PARPORT is not set

#
# Plug and Play support
#
CONFIG_PNP=y
# CONFIG_PNP_DEBUG is not set

#
# Protocols
#
# CONFIG_ISAPNP is not set
# CONFIG_PNPBIOS is not set

#
# Block devices
#
CONFIG_BLK_DEV_FD=y
# CONFIG_BLK_DEV_XD is not set
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
CONFIG_BLK_DEV_LOOP=y
# CONFIG_BLK_DEV_CRYPTOLOOP is not set
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_RAM is not set
CONFIG_BLK_DEV_INITRD=y
CONFIG_LBD=y
# CONFIG_DCSSBLK is not set

#
# ATA/ATAPI/MFM/RLL support
#
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y

#
# Please see Documentation/ide.txt for help/info on IDE drives #
# CONFIG_BLK_DEV_HD_IDE is not set CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
# CONFIG_IDEDISK_STROKE is not set CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDETAPE is not set CONFIG_BLK_DEV_IDEFLOPPY=y
CONFIG_IDE_TASK_IOCTL=y
CONFIG_IDE_TASKFILE_IO=y

#
# IDE chipset support/bugfixes
#
# CONFIG_IDE_GENERIC is not set
# CONFIG_BLK_DEV_CMD640 is not set
# CONFIG_BLK_DEV_IDEPNP is not set
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
# CONFIG_BLK_DEV_OFFBOARD is not set
# CONFIG_BLK_DEV_GENERIC is not set
# CONFIG_BLK_DEV_OPTI621 is not set
# CONFIG_BLK_DEV_RZ1000 is not set
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not set
CONFIG_BLK_DEV_ADMA=y
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
CONFIG_BLK_DEV_AMD74XX=y
# CONFIG_BLK_DEV_CMD64X is not set
# CONFIG_BLK_DEV_TRIFLEX is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_CS5520 is not set
# CONFIG_BLK_DEV_CS5530 is not set
# CONFIG_BLK_DEV_HPT34X is not set
# CONFIG_BLK_DEV_HPT366 is not set
# CONFIG_BLK_DEV_SC1200 is not set
# CONFIG_BLK_DEV_PIIX is not set
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_PDC202XX_OLD is not set
# CONFIG_BLK_DEV_PDC202XX_NEW is not set
# CONFIG_BLK_DEV_SVWKS is not set
CONFIG_BLK_DEV_SIIMAGE=y
# CONFIG_BLK_DEV_SIS5513 is not set
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
# CONFIG_BLK_DEV_VIA82CXXX is not set
# CONFIG_IDE_CHIPSETS is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_IVB is not set
CONFIG_IDEDMA_AUTO=y
# CONFIG_DMA_NONPCI is not set
# CONFIG_BLK_DEV_HD is not set

#
# SCSI device support
#
# CONFIG_SCSI is not set

#
# Old CD-ROM drivers (not SCSI, not IDE)
#
# CONFIG_CD_NO_IDESCSI is not set

#
# Multi-device support (RAID and LVM)
#
# CONFIG_MD is not set

#
# Fusion MPT device support
#

#
# IEEE 1394 (FireWire) support
#
CONFIG_IEEE1394=m

#
# Subsystem Options
#
# CONFIG_IEEE1394_VERBOSEDEBUG is not set
# CONFIG_IEEE1394_OUI_DB is not set

#
# Device Drivers
#
# CONFIG_IEEE1394_PCILYNX is not set
CONFIG_IEEE1394_OHCI1394=m

#
# Protocol Drivers
#
# CONFIG_IEEE1394_VIDEO1394 is not set
# CONFIG_IEEE1394_ETH1394 is not set
CONFIG_IEEE1394_DV1394=m
CONFIG_IEEE1394_RAWIO=m
# CONFIG_IEEE1394_CMP is not set

#
# I2O device support
#
CONFIG_I2O=y
CONFIG_I2O_PCI=y
# CONFIG_I2O_BLOCK is not set
CONFIG_I2O_PROC=y

#
# Macintosh device drivers
#

#
# Networking support
#
CONFIG_NET=y

#
# Networking options
#
CONFIG_PACKET=y
# CONFIG_PACKET_MMAP is not set
# CONFIG_NETLINK_DEV is not set
CONFIG_UNIX=y
# CONFIG_NET_KEY is not set
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
# CONFIG_IP_ADVANCED_ROUTER is not set
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_IP_MROUTE is not set
# CONFIG_ARPD is not set
# CONFIG_INET_ECN is not set
# CONFIG_SYN_COOKIES is not set
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
# CONFIG_INET_IPCOMP is not set
# CONFIG_IPV6 is not set
# CONFIG_DECNET is not set
# CONFIG_BRIDGE is not set
# CONFIG_NETFILTER is not set

#
# SCTP Configuration (EXPERIMENTAL)
#
CONFIG_IPV6_SCTP__=y
# CONFIG_IP_SCTP is not set
# CONFIG_ATM is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_LLC2 is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_NET_DIVERT is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_NET_FASTROUTE is not set
# CONFIG_NET_HW_FLOWCONTROL is not set

#
# QoS and/or fair queueing
#
# CONFIG_NET_SCHED is not set

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
CONFIG_NETDEVICES=y

#
# ARCnet devices
#
# CONFIG_ARCNET is not set
CONFIG_DUMMY=y
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not set
# CONFIG_TUN is not set
# CONFIG_NET_SB1000 is not set

#
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
# CONFIG_MII is not set
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNGEM is not set
# CONFIG_NET_VENDOR_3COM is not set
# CONFIG_LANCE is not set
# CONFIG_NET_VENDOR_SMC is not set
# CONFIG_NET_VENDOR_RACAL is not set

#
# Tulip family network device support
#
# CONFIG_NET_TULIP is not set
# CONFIG_AT1700 is not set
# CONFIG_DEPCA is not set
# CONFIG_HP100 is not set
# CONFIG_NET_ISA is not set
CONFIG_NET_PCI=y
# CONFIG_PCNET32 is not set
# CONFIG_AMD8111_ETH is not set
# CONFIG_ADAPTEC_STARFIRE is not set
# CONFIG_AC3200 is not set
# CONFIG_APRICOT is not set
# CONFIG_B44 is not set
CONFIG_FORCEDETH=y
# CONFIG_CS89x0 is not set
# CONFIG_DGRS is not set
# CONFIG_EEPRO100 is not set
# CONFIG_E100 is not set
# CONFIG_FEALNX is not set
# CONFIG_NATSEMI is not set
# CONFIG_NE2K_PCI is not set
# CONFIG_8139CP is not set
# CONFIG_8139TOO is not set
# CONFIG_SIS900 is not set
# CONFIG_EPIC100 is not set
# CONFIG_SUNDANCE is not set
# CONFIG_TLAN is not set
# CONFIG_VIA_RHINE is not set
# CONFIG_NET_POCKET is not set

#
# Ethernet (1000 Mbit)
#
# CONFIG_ACENIC is not set
# CONFIG_DL2K is not set
# CONFIG_E1000 is not set
# CONFIG_NS83820 is not set
# CONFIG_HAMACHI is not set
# CONFIG_YELLOWFIN is not set
# CONFIG_R8169 is not set
# CONFIG_SIS190 is not set
# CONFIG_SK98LIN is not set
# CONFIG_TIGON3 is not set

#
# Ethernet (10000 Mbit)
#
# CONFIG_IXGB is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_PPP is not set
# CONFIG_SLIP is not set

#
# Wireless LAN (non-hamradio)
#
# CONFIG_NET_RADIO is not set

#
# Token Ring devices
#
# CONFIG_TR is not set
# CONFIG_RCPCI is not set
# CONFIG_SHAPER is not set
# CONFIG_NETCONSOLE is not set

#
# Wan interfaces
#
# CONFIG_WAN is not set

#
# Amateur Radio support
#
# CONFIG_HAMRADIO is not set

#
# IrDA (infrared) support
#
# CONFIG_IRDA is not set

#
# Bluetooth support
#
# CONFIG_BT is not set
# CONFIG_KGDBOE is not set
# CONFIG_NETPOLL is not set
# CONFIG_NETPOLL_RX is not set
# CONFIG_NETPOLL_TRAP is not set
# CONFIG_NET_POLL_CONTROLLER is not set

#
# ISDN subsystem
#
# CONFIG_ISDN is not set

#
# Telephony Support
#
# CONFIG_PHONE is not set

#
# Input device support
#
CONFIG_INPUT=y

#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1280
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=1024
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_TSDEV is not set
CONFIG_INPUT_EVDEV=y
# CONFIG_INPUT_EVBUG is not set

#
# Input I/O drivers
#
# CONFIG_GAMEPORT is not set
CONFIG_SOUND_GAMEPORT=y
CONFIG_SERIO=y
CONFIG_SERIO_I8042=y
# CONFIG_SERIO_SERPORT is not set
# CONFIG_SERIO_CT82C710 is not set
# CONFIG_SERIO_PCIPS2 is not set

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
# CONFIG_MOUSE_SERIAL is not set
# CONFIG_MOUSE_INPORT is not set
# CONFIG_MOUSE_LOGIBM is not set
# CONFIG_MOUSE_PC110PAD is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
# CONFIG_INPUT_MISC is not set

#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
# CONFIG_SERIAL_NONSTANDARD is not set

#
# Serial drivers
#
CONFIG_SERIAL_8250=y
# CONFIG_SERIAL_8250_CONSOLE is not set
# CONFIG_SERIAL_8250_ACPI is not set
CONFIG_SERIAL_8250_NR_UARTS=4
# CONFIG_SERIAL_8250_EXTENDED is not set

#
# Non-8250 serial port support
#
CONFIG_SERIAL_CORE=y
CONFIG_UNIX98_PTYS=y
CONFIG_LEGACY_PTYS=y
CONFIG_LEGACY_PTY_COUNT=256
# CONFIG_QIC02_TAPE is not set

#
# IPMI
#
# CONFIG_IPMI_HANDLER is not set

#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
# CONFIG_HW_RANDOM is not set
CONFIG_NVRAM=y
CONFIG_RTC=y
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
# CONFIG_SONYPI is not set

#
# Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not set
# CONFIG_AGP is not set
# CONFIG_DRM is not set
# CONFIG_MWAVE is not set
# CONFIG_RAW_DRIVER is not set
# CONFIG_HANGCHECK_TIMER is not set

#
# I2C support
#
CONFIG_I2C=y
CONFIG_I2C_CHARDEV=y

#
# I2C Algorithms
#
CONFIG_I2C_ALGOBIT=y
CONFIG_I2C_ALGOPCF=y

#
# I2C Hardware Bus support
#
# CONFIG_I2C_ALI1535 is not set
# CONFIG_I2C_ALI15X3 is not set
# CONFIG_I2C_AMD756 is not set
# CONFIG_I2C_AMD8111 is not set
# CONFIG_I2C_ELEKTOR is not set
# CONFIG_I2C_ELV is not set
# CONFIG_I2C_I801 is not set
# CONFIG_I2C_I810 is not set
CONFIG_I2C_ISA=y
CONFIG_I2C_NFORCE2=y
# CONFIG_I2C_PARPORT_LIGHT is not set
# CONFIG_I2C_PIIX4 is not set
# CONFIG_I2C_PROSAVAGE is not set
# CONFIG_I2C_SAVAGE4 is not set
# CONFIG_SCx200_ACB is not set
# CONFIG_I2C_SIS5595 is not set
# CONFIG_I2C_SIS630 is not set
# CONFIG_I2C_SIS96X is not set
# CONFIG_I2C_VELLEMAN is not set
# CONFIG_I2C_VIA is not set
# CONFIG_I2C_VIAPRO is not set
# CONFIG_I2C_VOODOO3 is not set

#
# I2C Hardware Sensors Chip support
#
CONFIG_I2C_SENSOR=y
# CONFIG_SENSORS_ADM1021 is not set
# CONFIG_SENSORS_ASB100 is not set
CONFIG_SENSORS_EEPROM=y
# CONFIG_SENSORS_FSCHER is not set
# CONFIG_SENSORS_GL518SM is not set
# CONFIG_SENSORS_IT87 is not set
CONFIG_SENSORS_LM75=y
# CONFIG_SENSORS_LM78 is not set
# CONFIG_SENSORS_LM83 is not set
# CONFIG_SENSORS_LM85 is not set
# CONFIG_SENSORS_LM90 is not set
# CONFIG_SENSORS_VIA686A is not set
CONFIG_SENSORS_W83781D=y
# CONFIG_SENSORS_W83L785TS is not set
# CONFIG_I2C_DEBUG_CORE is not set
# CONFIG_I2C_DEBUG_BUS is not set
# CONFIG_I2C_DEBUG_CHIP is not set

#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set

#
# Digital Video Broadcasting Devices
#
CONFIG_DVB=y
CONFIG_DVB_CORE=y

#
# Supported Frontend Modules
#
# CONFIG_DVB_TWINHAN_DST is not set
# CONFIG_DVB_STV0299 is not set
# CONFIG_DVB_SP887X is not set
# CONFIG_DVB_ALPS_TDLB7 is not set
# CONFIG_DVB_ALPS_TDMB7 is not set
# CONFIG_DVB_ATMEL_AT76C651 is not set
# CONFIG_DVB_CX24110 is not set
# CONFIG_DVB_GRUNDIG_29504_491 is not set
# CONFIG_DVB_GRUNDIG_29504_401 is not set
CONFIG_DVB_MT312=y
# CONFIG_DVB_VES1820 is not set
# CONFIG_DVB_VES1X93 is not set
# CONFIG_DVB_TDA1004X is not set
# CONFIG_DVB_NXT6000 is not set

#
# Supported SAA7146 based PCI Adapters
#
# CONFIG_DVB_AV7110 is not set
# CONFIG_DVB_BUDGET is not set
# CONFIG_DVB_BUDGET_CI is not set
# CONFIG_DVB_BUDGET_AV is not set

#
# Supported USB Adapters
#
# CONFIG_DVB_TTUSB_BUDGET is not set
# CONFIG_DVB_TTUSB_DEC is not set

#
# Supported FlexCopII (B2C2) Adapters
#
CONFIG_DVB_B2C2_SKYSTAR=y

#
# Supported BT878 Adapters
#

#
# Graphics support
#
# CONFIG_FB is not set
CONFIG_VIDEO_SELECT=y

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
# CONFIG_MDA_CONSOLE is not set
CONFIG_DUMMY_CONSOLE=y

#
# Sound
#
CONFIG_SOUND=y

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=y
CONFIG_SND_SEQUENCER=y
# CONFIG_SND_SEQ_DUMMY is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=y
CONFIG_SND_PCM_OSS=y
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_RTCTIMER=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set

#
# Generic devices
#
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_VIRMIDI is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set

#
# ISA devices
#
# CONFIG_SND_AD1848 is not set
# CONFIG_SND_CS4231 is not set
# CONFIG_SND_CS4232 is not set
# CONFIG_SND_CS4236 is not set
# CONFIG_SND_ES1688 is not set
# CONFIG_SND_ES18XX is not set
# CONFIG_SND_GUSCLASSIC is not set
# CONFIG_SND_GUSEXTREME is not set
# CONFIG_SND_GUSMAX is not set
# CONFIG_SND_INTERWAVE is not set
# CONFIG_SND_INTERWAVE_STB is not set
# CONFIG_SND_OPTI92X_AD1848 is not set
# CONFIG_SND_OPTI92X_CS4231 is not set
# CONFIG_SND_OPTI93X is not set
# CONFIG_SND_SB8 is not set
# CONFIG_SND_SB16 is not set
# CONFIG_SND_SBAWE is not set
# CONFIG_SND_WAVEFRONT is not set
# CONFIG_SND_CMI8330 is not set
# CONFIG_SND_OPL3SA2 is not set
# CONFIG_SND_SGALAXY is not set
# CONFIG_SND_SSCAPE is not set

#
# PCI devices
#
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_YMFPCI is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
CONFIG_SND_INTEL8X0=y
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VX222 is not set

#
# ALSA USB devices
#
# CONFIG_SND_USB_AUDIO is not set

#
# Open Sound System
#
# CONFIG_SOUND_PRIME is not set

#
# USB support
#
CONFIG_USB=m
# CONFIG_USB_DEBUG is not set

#
# Miscellaneous USB options
#
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set
# CONFIG_USB_DYNAMIC_MINORS is not set

#
# USB Host Controller Drivers
#
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_OHCI_HCD=m
# CONFIG_USB_UHCI_HCD is not set

#
# USB Device Class drivers
#
# CONFIG_USB_AUDIO is not set
# CONFIG_USB_BLUETOOTH_TTY is not set
# CONFIG_USB_MIDI is not set
# CONFIG_USB_ACM is not set
CONFIG_USB_PRINTER=m

#
# SCSI support is needed for USB Storage
#
# CONFIG_USB_STORAGE is not set

#
# USB Human Interface Devices (HID)
#
# CONFIG_USB_HID is not set

#
# USB HID Boot Protocol drivers
#
# CONFIG_USB_KBD is not set
# CONFIG_USB_MOUSE is not set
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_KBTAB is not set
# CONFIG_USB_POWERMATE is not set
# CONFIG_USB_XPAD is not set

#
# USB Imaging devices
#
# CONFIG_USB_MDC800 is not set

#
# USB Multimedia devices
#
# CONFIG_USB_DABUSB is not set

#
# Video4Linux support is needed for USB Multimedia device support #

#
# USB Network adaptors
#
# CONFIG_USB_CATC is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_USBNET is not set

#
# USB port drivers
#

#
# USB Serial Converter support
#
# CONFIG_USB_SERIAL is not set

#
# USB Miscellaneous drivers
#
# CONFIG_USB_EMI62 is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_TIGL is not set
# CONFIG_USB_AUERSWALD is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_LEGOTOWER is not set
# CONFIG_USB_BRLVGER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_LED is not set
# CONFIG_USB_TEST is not set

#
# USB Gadget Support
#
# CONFIG_USB_GADGET is not set

#
# File systems
#
CONFIG_EXT2_FS=y
# CONFIG_EXT2_FS_XATTR is not set
# CONFIG_EXT3_FS is not set
# CONFIG_JBD is not set
CONFIG_REISERFS_FS=y
# CONFIG_REISERFS_CHECK is not set
# CONFIG_REISERFS_PROC_INFO is not set
# CONFIG_JFS_FS is not set
# CONFIG_XFS_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_QUOTA is not set
# CONFIG_AUTOFS_FS is not set
CONFIG_AUTOFS4_FS=y

#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
CONFIG_ZISOFS=y
CONFIG_ZISOFS_FS=y
CONFIG_UDF_FS=y

#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
CONFIG_VFAT_FS=y
CONFIG_NTFS_FS=y
# CONFIG_NTFS_DEBUG is not set
CONFIG_NTFS_RW=y

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
CONFIG_SYSFS=y
# CONFIG_DEVFS_FS is not set
# CONFIG_DEVPTS_FS_XATTR is not set
CONFIG_TMPFS=y
# CONFIG_HUGETLBFS is not set
# CONFIG_HUGETLB_PAGE is not set
CONFIG_RAMFS=y

#
# Miscellaneous filesystems
#
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_HFSPLUS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
# CONFIG_CRAMFS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set

#
# Network File Systems
#
CONFIG_NFS_FS=y
# CONFIG_NFS_V3 is not set
# CONFIG_NFS_V4 is not set
# CONFIG_NFS_DIRECTIO is not set
CONFIG_NFSD=y
# CONFIG_NFSD_V3 is not set
# CONFIG_NFSD_TCP is not set
CONFIG_LOCKD=y
CONFIG_EXPORTFS=y
CONFIG_SUNRPC=y
# CONFIG_SUNRPC_GSS is not set
CONFIG_SMB_FS=y
# CONFIG_SMB_NLS_DEFAULT is not set
# CONFIG_CIFS is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_INTERMEZZO_FS is not set
# CONFIG_AFS_FS is not set

#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not set
CONFIG_MSDOS_PARTITION=y

#
# Native Language Support
#
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="iso8859-1"
CONFIG_NLS_CODEPAGE_437=y
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
CONFIG_NLS_CODEPAGE_850=y
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
CONFIG_NLS_ISO8859_1=y
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
# CONFIG_NLS_ISO8859_15 is not set
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
CONFIG_NLS_UTF8=y

#
# Profiling support
#
CONFIG_PROFILING=y
CONFIG_OPROFILE=m

#
# Kernel hacking
#
# CONFIG_DEBUG_KERNEL is not set
CONFIG_EARLY_PRINTK=y
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
# CONFIG_FRAME_POINTER is not set

#
# Security options
#
# CONFIG_SECURITY is not set

#
# Cryptographic options
#
# CONFIG_CRYPTO is not set

#
# Library routines
#
CONFIG_CRC32=y
CONFIG_ZLIB_INFLATE=y
CONFIG_X86_BIOS_REBOOT=y
CONFIG_PC=y

#17 lore raw
Quoted 1 line · Prakash K. Cheemplavam

has anything changed with C1 halt? I mean it seems that CPU Disconnect doesn't get called (Though I enabled it), as with 2.6.3-mm4 (yesterday and today going back) my idle temps are about 46-47°C. Now with 2.6.4-mm1 they went up to 50-52°C.

Hmm, today I went back to 2.6.4-rc1-mm1 and everything seems to be normal again. Strange... So forget about it. :-)

Prakash

#18 lore raw

Re: 2.6.4-rc1-mm1, as scheduler causes higher idle temp?

Quoted 6 lines · Prakash K. Cheemplavam
Quoted 1 line · Prakash K. Cheemplavam

has anything changed with C1 halt? I mean it seems that CPU Disconnect doesn't get called (Though I enabled it), as with 2.6.3-mm4 (yesterday and today going back) my idle temps are about 46-47°C. Now with 2.6.4-mm1 they went up to 50-52°C.

Hmm, today I went back to 2.6.4-rc1-mm1 and everything seems to be normal again. Strange... So forget about it. :-)

Ok, its me again. So now I was running 2.6.4-rc1-mm1 today and the rratic behaviour came again, ie, idle temps went high. Strange enough this only happens after some time.

Comparing dmesg from both, I see this as major differnece: With latest mm-source the as scheduler gets used, though I set elevator=cfq in the kernel line. So either you removed cfq or it doesn't get selcted and maybe anticipatory causes the temp rise?

Well, I will test as scheduler with 2.6.3-mm4 tomorrow and report back

Prakash

PS: here the diff between the dmesgs:

dmesg2.6.4-rc1-mm1.txt 2004-03-02 09:59:49.000000000 +0100 renamed from dmesg2.6.3-mm4.txt 2004-03-02 21:40:07.359583984 +0100 +1 -3
@@ -1,4 +1,4 @@
-Linux version 2.6.3-mm4 (root@tachyon) (gcc-Version 3.3.3 20040217 (Gentoo Linux 3.3.3, propolice-3.3-7)) #12 Tue Mar 2 09:39:12 CET 2004
+Linux version 2.6.4-rc1 (root@tachyon) (gcc-Version 3.3.3 20040217 (Gentoo Linux 3.3.3, propolice-3.3-7)) #3 Tue Mar 2 09:58:07 CET 2004
 BIOS-provided physical RAM map:
  BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
  BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
@@ -11,7 +11,6 @@
  BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
 127MB HIGHMEM available.
 896MB LOWMEM available.
-zapping low mappings.
 On node 0 totalpages: 262128
   DMA zone: 4096 pages, LIFO batch:1
   Normal zone: 225280 pages, LIFO batch:16
@@ -24,14 +23,15 @@
 ACPI: DSDT (v001 NVIDIA AWRDACPI 0x00001000 MSFT 0x0100000d) @ 0x00000000
 ACPI: PM-Timer IO Port: 0x4008
 Built 1 zonelists
-Initializing CPU#0
 Kernel command line: root=/dev/hde7 quiet apic_tack=2 elevator=cfq 

doataraid noraid hdg=none
ide_setup: hdg=none
+Initializing CPU#0
PID hash table entries: 4096 (order 12: 32768 bytes)
-Detected 2205.190 MHz processor.
+Detected 2204.949 MHz processor.
Using pmtmr for high-res timesource
Console: colour VGA+ 80x25
-Memory: 1033100k/1048512k available (2555k kernel code, 14492k reserved, 862k data, 136k init, 131008k highmem) +Memory: 1033144k/1048512k available (2527k kernel code, 14448k reserved, 861k data, 136k init, 131008k highmem) +Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 4358.14 BogoMIPS
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
@@ -117,13 +117,13 @@
ACPI: Power Button (FF) [PWRF]
ACPI: Fan [FAN] (on)
ACPI: Processor [CPU0] (supports C1)
-ACPI: Thermal Zone [THRM] (48 C)
+ACPI: Thermal Zone [THRM] (46 C)
Real Time Clock Driver v1.12
Non-volatile memory driver v1.2
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
-Using cfq io scheduler
+Using anticipatory io scheduler
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
loop: loaded (max 8 devices)
@@ -179,8 +179,8 @@
i2c_adapter i2c-2: nForce2 SMBus adapter at 0x5100
Advanced Linux Sound Architecture Driver Version 1.0.2c (Thu Feb 05
15:41:49 2004 UTC).
PCI: Setting latency timer of device 0000:00:06.0 to 64
-intel8x0_measure_ac97_clock: measured 49398 usecs
-intel8x0: clocking to 47423
+intel8x0_measure_ac97_clock: measured 49397 usecs
+intel8x0: clocking to 47422
ALSA device list:
#0: NVidia nForce2 at 0xdc081000, irq 10
NET: Registered protocol family 2
@@ -226,6 +226,7 @@
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[11]
MMIO=[dc084000-dc0847ff] Max Packet=[2048]
ohci1394: fw-host0: SelfID received outside of bus reset sequence
ieee1394: Host added: ID:BUS[0-00:1023] GUID[000000508df0fbe3]
+svc: unknown version (3)
nvidia: no version magic, tainting kernel.
nvidia: module license 'NVIDIA' taints kernel.
0: nvidia: loading NVIDIA Linux x86 NVIDIA Kernel Module 1.0-5336
Wed Jan 14 18:29:26 PST 2004

#19 lore raw

Re: 2.6.4-rc1-mm1, as scheduler causes higher idle temp?

Review

Quoted 8 lines · Prakash K. Cheemplavam

Comparing dmesg from both, I see this as major differnece: With latest mm-source the as scheduler gets used, though I set elevator=cfq in the kernel line. So either you removed cfq or it doesn't get selcted and maybe anticipatory causes the temp rise?

(quoted diff) +1 -1
-Linux version 2.6.3-mm4 (root@tachyon) (gcc-Version 3.3.3 20040217 
+Linux version 2.6.4-rc1 (root@tachyon) (gcc-Version 3.3.3 20040217 

The CFQ elevator is not present in Linus's tree.

Review

Quoted 2 lines
(quoted diff) +1 -1
-Using cfq io scheduler
+Using anticipatory io scheduler

So the kernel picked the anticipatory scheduler instead.

#20 lore raw

Re: 2.6.4-rc1-mm1, as scheduler causes higher idle temp?

Quoted 6 lines

Review

Quoted 3 lines
(quoted diff) +1 -1
-Linux version 2.6.3-mm4 (root@tachyon) (gcc-Version 3.3.3 20040217 
+Linux version 2.6.4-rc1 (root@tachyon) (gcc-Version 3.3.3 20040217 

The CFQ elevator is not present in Linus's tree.

Aargghh, something seemed to have gone wrong on patching to the latest mm kernel then. *blush*. Well, I'll try again...

Prakash