2004-04-07 05:18:32

by Andrew Morton

[permalink] [raw]
Subject: 2.6.5-mc2



ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.5/2.6.5-mc2/

This tree is the accumulation of things which will be sent to Linus next
week.




Changes since 2.6.5-mc1:


+ppc64-hugepage-fix.patch
+ppc64-hugepage-fix-32.patch
+ppc64-alloc_consistent-retval-fixes.patch
+ppc4xx-memleak-fix.patch

PPC64 fixes

+use-compound-pages-for-hugetlb-only.patch

Don't use the compound page logic for higher-order allocations unless the
caller explicitly requested it.

+laptop-mode-noflushd-warning.patch

Documentation update

+v4l-cropcap-ioctl-fix.patch
+v4l-v4l1-compat-fix.patch
+v4l-tuner-fix.patch
+v4l-msp3400-update.patch
+v4l-pv951-remote-support.patch
+v4l-saa7134-update.patch
+v4l-saa7134-update-fix.patch
+v4l-bttv-update.patch
+v4l-doc-update.patch
+v4l-cx88-update.patch

Video drivers udpate

+drivers-base-platform-tpyo-fix.patch

Fix a typo

+nfs-readdirplus-overflow-fix.patch

Fix NFS crash

+nfs-32bit-statfs-fix.patch

Fix statfs() for weird NFS servers

+wavefront_synth-unused-var.patch
+tda1004x-unused-var.patch
+pmdisk-needs-asmlinkage.patch
+cycx_drv-warning-fix.patch
+ibmlana-needs-MCA_LEGACY.patch
+rcu_list-documentation.patch
+list-inline-cleanup.patch

Various little things

+noexec-stack.patch

Propagate PT_GNU_STACK

+ext3-transaction-batching-fix.patch

ext3 sync operation speedup

+reiserfs-nesting-02.patch
+reiserfs-journal-writer.patch
+reiserfs-logging.patch
+reiserfs-jh-2.patch
+reiserfs-end-trans-bkl.patch
+reiserfs-prealloc.patch
+reiserfs-tail-jh.patch
+reiserfs-writepage-ordered-race.patch
+reiserfs-file_write_hole_sd.diff.patch
+reiserfs-laptop-mode.patch
+reiserfs-truncate-leak.patch
+reiserfs-ordered-lat.patch
+reiserfs-dirty-warning.patch
+reiserfs_kfree-warning-fix.patch
+reiserfs-writepage-race-fix.patch

reiserfs update

+selinux-ipv6-support.patch
+selinux-remove-duplicate-assignment.patch

selinux support for ipv6

+lightweight-auditing-framework.patch
+lightweight-auditing-framework-ipv6-support.patch
+selinux-compute_sid-fixes.patch
+selinux-remove-ratelimit.patch

Auditing/syscall tracing framework

+mixart-build-fix.patch

Compile fix

+unmap_vmas-latency-improvement.patch

Explicit scheduling points for !CONFIG_PREEMPT

+i386-head_S-cleanups.patch
+intermezzo-leak-fixes.patch
+es1688-define-fix.patch

Cleanups, fixes

+split-netlink_unicast.patch

Preparation for message-queue signalling over netlink

+load_elf_binary-overflow-detection-fix.patch

ELF loader check.

+stack-reductions-ide-cd.patch
+stack-reductions-ide.patch
+stack-reductions-isdn.patch

Stack space savings

+use-EFLAGS_defines.patch

Cleanup

+h8300-ptrace-fix.patch
+h8300-entry_s-cleanup.patch
+h8300-others.patch
+sh-sci-build-fix.patch

h/8300 update




All 207 patches:


x86_64-update.patch
x86-64 update

kconfig-url-fixes.patch
Fix URLs in Kconfig files

Lindent-devfs.patch
feed devfs through Lindent

system_running-fix.patch
generalise system_running

vt-cleanup.patch
vt.c cleanup

con_open-speedup.patch
con_open() speedup/cleanup

remove-down_tty_sem.patch
remove down_tty_sem()

tty-race-fix-43.patch
Fix VT open/close race

i4l-kernelcapi-rework.patch
i4l: kernelcapi receive workqueue and locking rework

wchan-use-ELF-sections.patch
Fix get_wchan() FIXME wrt. order of functions

ppc64-si_addr-fix.patch
ppc64: si_addr fix

ppc64-hugepage-fix.patch
ppc64: Fix bug in hugepage support

ppc64-hugepage-fix-32.patch
ppc64: hugepage bugfix

ppc64-alloc_consistent-retval-fixes.patch
ppc64: fix failure return codes from {pci,vio}_alloc_consistent()

ppc4xx-memleak-fix.patch
ppc44x: fix memory leak

quota-locking-fixes.patch
Quota locking fixes

inode-cleanup.patch
fs/inode.c list_head cleanup

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

knfsd-01-oops-fix.patch
knfsd: Return -EOPNOTSUPP when unknown mechanism name encountered

knfsd-02-auth-error-return-fix.patch
knfsd: Minor fix to error return when updating server authentication information

knfsd-03-auth_error-formatting-fix.patch
knfsd: fix a problem with incorrectly formatted auth_error returns.

knfsd-04-remove-name_lookup_h.patch
knfsd: Remove name_lookup.h that noone is using anymore.

knfsd-05-mounted_on_fileid-support.patch
knfsd: Add server-side support for the nfsv4 mounted_on_fileid attribute.

knfsd-06-UTF8-improvements.patch
knfsd: Improve UTF8 checking.

knfsd-07-auth_gss-export.patch
knfsd: Export a symbol needed by auth_gss

knfsd-08-gss-integrity.patch
knfsd: Add data integrity to serve rside gss

md-merging-fix.patch
md: merge_bvec_fn needs to know about partitions.

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

mq-update-01.patch
posix message queue update

mq-security-fix.patch
security bugfix for mqueue

ipmi-updates-3.patch
IPMI driver updates

move-job-control-stuff-tosignal_struct.patch
move job control fields from task_struct to signal_struct

lower-zone-protection-numa-fix.patch
Fix page allocator lower zone protection for NUMA

ext3-fsync-speedup.patch
ext3 fsync() and fdatasync() speedup

ext2-fsync-speedup-2.patch
speed up ext2 fsync() and fdatasync()

jbd-commit-ordered-fix.patch
jbd: fix ordered-data writeout logic

jbd-move-locked-buffers.patch
JBD: ordered-data commit cleanup

jbd-iobuf-error-handling-fix.patch
jbd: fix I/O error handling

readv-writev-check-fix.patch
readv/writev range checking fix

kerneldoc-handle-attributes.patch
Fix scripts/kernel-doc to handle __attribute__

slab-alignment-rework.patch
slab: updates for per-arch alignments

set-mod-waiter-before-calling-stop_machine.patch
Set mod->waiter Before Calling stop_machine

procfs-comment-fixes.patch
fs/proc/proc_tty.c comment fixes

sb_mixer-bounds-checking.patch
sb_mixer bounds checking

pmdisk-store-handling-fix.patch
pmdisk: fix strcmp in sysfs store

file-operations-fcntl.patch
add file_operations.fcntl

sys_time-subtick-correction-fix.patch
Fix sys_time() to get subtick correction from the new xtime

bitmap_parse-fix.patch
Broken bitmap_parse for ncpus > 32

ver_linux-fix.patch
ver_linux fix

codingstyle-fix-for-emacs.patch
Update CodingStyle hints for Emacs users.

document-unused-i386-pte-bits.patch
document unused pte bits on i386

docbook-sgml-quotes-fix.patch
Consistently use quotes for SGML attributes

sgml-close-tags.patch
SGML: close tag with ">"

sch_ingress-help-fix.patch
fix sch_ingress help

i386-irq-cleanup.patch
i386 irq.c ifdef cleanup

firmware-loader-docs-fix.patch
Fix firmware loader docs

trivial-patches-in-maintainers.patch
Trivial Patch Monkey should be in MAINTAINERS

genksyms-parser-fix.patch
Fix genksyms parsing

CONFIG_X86_GENERIC-help-fix.patch
CONFIG_X86_GENERIC description fixup

credits-update.patch
updating email info in CREDITS

device-h-duplicate-include.patch
Kill duplicate #include <linux_ioport.h>

unmapped-CPU-node-number-fix.patch
Use valid node number when unmapping x86 CPUs

submitting-trivial-patches.patch
Add CC Trivial Patch Monkey to SubmittingPatches

ne2k-pic-build-fix.patch
ne2k-pci.c compile fix on ppc[64]

doc-changes-update.patch
Update Documentation/Changes

drm-put_user-fixes.patch
i830 DRM missing put_user

export-complete_all.patch
export complete_all()

urandom-scalability-fix.patch
/dev/urandom scalability improvement

cpu5wdt-warning-fix.patch
cpu5wdt.c warning fix

fget-speedup.patch
speed up fget() and fget_light()

move-__this_module-to-modpost.patch
Move __this_module to modpost

modversions-fix.patch
Fix Modversions Now __this_module Is Created Only in .ko

support-zerobased-floppies.patch
Support for floppies whose sectors are numbered from zero instead of one

remove-bitmap-length-limits.patch
Remove bitmap_shift_*() bitmap length limits

huge-sparse-tmpfs-files.patch
Fix huge sparse tmpfs files

strip-param-quotes.patch
Strip quotes from kernel parameters

summit-irq-count-override.patch
summit: per-subarch NR_IRQ_VECTORS

summit-increase-MAX_MP_BUSSES.patch
summmit: increase MAX_MP_BUSSES

stv0299-unused-var-fix.patch
stv0299.c unused variable

selinux-fix-struct-type.patch
selinux: fix struct type

pte_alloc_one-null-pointer-check.patch
missing NULL pointer check in pte_alloc_one.

kill-MAKEDEV-scripts.patch
kill spurious MAKDEV scripts

wavfront-warning-fix.patch
oss/wavfront.c warning fix.

hysnd-MOD_USE_COUNT-fix.patch
remove bogus MOD_{INC,DEC}_USE_COUNT from hysdn

CONFIG_EMBEDDED-help-fix.patch
improve CONFIG_EMBEDDED help text

remove-nswap-cnswap.patch
eliminate nswap and cnswap

no-quota-inode-shrinkage.patch
shrink inode when quota is disabled

geode-suspend-on-halt.patch
enable suspend-on-halt for NS Geode

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

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

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

rw_swap_page_sync-fix.patch
rw_swap_page_sync(): place the pages in swapcache

radix-tree-tagging.patch
radix-tree tags for selective lookup

irq-safe-pagecache-lock.patch
make the pagecache lock irq-safe.

tag-dirty-pages.patch
tag dirty pages as such in the radix tree

tag-writeback-pages.patch
tag writeback pages as such in their radix tree

stop-using-dirty-pages.patch
stop using the address_space dirty_pages list

kupdate-function-fix.patch
fix the kupdate function

stop-using-io-pages.patch
remove address_space.io_pages

stop-using-locked-pages.patch
Stop using address_space.locked_pages

stop-using-clean-pages.patch
stop using address_space.clean_pages

unslabify-pgds-and-pmds.patch
revert the slabification of i386 pgd's and pmd's

slab-stop-using-page-list.patch
slab: stop using page.list

page_alloc-stop-using-page-list.patch
stop using page.list in the page allocator

hugetlb-stop-using-page-list.patch
stop using page->list in the hugetlbpage implementations

pageattr-stop-using-page-list.patch
stop using page.list in pageattr.c

readahead-stop-using-page-list.patch
stop using page.list in readahead

compound-pages-stop-using-lru.patch
stop using page->lru in compound pages

arm-stop-using-page-list.patch
arm: stop using page->list

m68k-stop-using-page-list.patch
switch the m68k pointer-table code over to page->lru

remove-page-list.patch
remove page.list

clear_page_dirty_for_io.patch
fdatasync integrity fix

block_write_full_page-redirty.patch
don't allow background writes to hide dirty buffers

writeback-search-start.patch
writeback efficiency and QoS improvements

mpage_writepages-latency-fix.patch
Add mpage_writepages() scheduling point

mpage-cleanup.patch
mpage_writepages() cleanup

use-compound-pages-for-hugetlb-only.patch
use compound pages for hugetlb pages only

fork-vma-order-fix.patch
fork vma ordering during fork

mremap-copy_one_pte-fix.patch
mremap: copy_one_pte cleanup

mremap-move_vma-fix.patch
mremap: move_vma fixes and cleanup

mremap-vma_relink_file-fix.patch
mremap: vma_relink_file race fix

mremap-check-map_count.patch
mremap: check map_count

mremap-rmap-comment-fix.patch
Fix rmap comment

kswapd-remove-pages-scanned.patch
kswapd: remove pages_scanned local

laptop-mode-3.patch
laptop mode

laptop-mode-doc-update.patch
Laptop mode doc updates for XFS, among other things.

laptop-mode-control-script-fix.patch
Bugfix in the laptop mode control script.

laptop-mode-noflushd-warning.patch
Subject: [patch 1/1] Add a warning about using laptop-mode with noflushd to laptop-mode doc.

laptop-mode-sync-completion.patch
Add laptop-mode sync completion function to delete writeback timer.

ext3-commit-default.patch
Add commit=0 to ext3, meaning "set commit to default".

tunable-pagefault-readaround.patch
Honour the readahead tunable in filemap_nopage()

filemap_nopage-busywait-fix.patch
Fix logic in filemap_nopage()

acpi-printk-fix.patch
acpi printk fix

ia32-4k-stacks.patch
ia32: 4Kb stacks (and irqstacks) patch

proc-load-average-fix.patch
procfs LoadAVG/load_avg scaling fix

ppc64-NUMA-fix-for-16MB-LMBs.patch
ppc64: NUMA fix for 16MB LMBs

sparc64-build-fix.patch
build fails on sparc64 in hugetlbpage.c

epoll-comment-fixes.patch
epoll comment fix

stop_machine-barrier-fixes.patch
add stop_machine barriers

sunrpc-svcsock-drop.patch
sunrpc: connection dropping tweaks

acl-version-mismatch.patch
ACL version mismatch error code fix

v4l-cropcap-ioctl-fix.patch
v4l: cropcap ioctl fix

v4l-v4l1-compat-fix.patch
v4l: v4l1-compat fix

v4l-tuner-fix.patch
v4l: tuner fix

v4l-msp3400-update.patch
v4l: msp3400 update

v4l-pv951-remote-support.patch
v4l: add support for pv951 remote to ir-kbd-i2c

v4l-saa7134-update.patch
v4l: saa7134 driver update

v4l-saa7134-update-fix.patch
v4l-saa7134-update fix

v4l-bttv-update.patch
v4l: bttv driver update

v4l-doc-update.patch
v4l: documentation update

v4l-cx88-update.patch
cx88 update.

drivers-base-platform-tpyo-fix.patch
drivers/base/platform.c typo fix

nfs-readdirplus-overflow-fix.patch
Subject: [PATCH] Fix overflow bug in READDIRPLUS...

nfs-32bit-statfs-fix.patch
Fix 32bit statfs on NFS

wavefront_synth-unused-var.patch
wavefront_synth.c var not used.

tda1004x-unused-var.patch
tda1004x.c var not used.

pmdisk-needs-asmlinkage.patch
pmdisk needs asmlinkage

cycx_drv-warning-fix.patch
cycx_drv.c warning fix.

ibmlana-needs-MCA_LEGACY.patch
ibmlana needs CONFIG_MCA_LEGACY

rcu_list-documentation.patch
Improve list.h documentation for _rcu() primitives

list-inline-cleanup.patch
list.h cleanup

noexec-stack.patch
Non-Exec stack support

ext3-transaction-batching-fix.patch
Fix ext3 transaction batching

reiserfs-nesting-02.patch
reiserfs: support for nested transactions

reiserfs-journal-writer.patch
reiserfs: cleanups

reiserfs-logging.patch
reiserfs: logging rework

reiserfs-jh-2.patch
reiserfs: data=ordered support

reiserfs-end-trans-bkl.patch
reiserfs: locking fix

reiserfs-prealloc.patch
reiserfs: preallocation support

reiserfs-tail-jh.patch
reiserfs: tail repacking fix

reiserfs-writepage-ordered-race.patch
reiserfs: fix race with writepage

reiserfs-file_write_hole_sd.diff.patch
reiserfs: sparse file handling fix

reiserfs-laptop-mode.patch
reiserfs: laptop-mode support

reiserfs-truncate-leak.patch
reiserfs: truncate leak fix

reiserfs-ordered-lat.patch
reiserfs: scheduling latency improvements

reiserfs-dirty-warning.patch
reiserfs: fix dirty-buffer warnings

reiserfs_kfree-warning-fix.patch
reiserfs_kfree warning fix

reiserfs-writepage-race-fix.patch
reiserfs writepage race with data=ordered

selinux-ipv6-support.patch
selinux: add IPv6 support

selinux-remove-duplicate-assignment.patch
From: James Morris <[email protected]>
Subject: [SELINUX] 2/2 Remove duplicate assignment

lightweight-auditing-framework.patch
Light-weight Auditing Framework
Light-weight Auditing Framework update
lightweight-auditing-framework warning fixes
Light-weight Auditing Framework receive filter fixes
lightweight-auditing-framework-receive-filter-fixes compile fix

lightweight-auditing-framework-ipv6-support.patch
selinux: make IPv6 code work with audit framework

selinux-compute_sid-fixes.patch
selinux: Audit compute_sid errors

selinux-remove-ratelimit.patch
selinux: remove ratelimit from avc

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

unmap_vmas-latency-improvement.patch
unmap_vmas latency improvement

i386-head_S-cleanups.patch
more i386 head.S cleanups

intermezzo-leak-fixes.patch
intermezzo leak fixes

es1688-define-fix.patch
es1688 Definition redundancy

split-netlink_unicast.patch
split netlink_unicast

load_elf_binary-overflow-detection-fix.patch
binfmt_elf.c fix for 32-bit apps with large bss

stack-reductions-ide-cd.patch
stack reduction: ide-cd

stack-reductions-ide.patch
stack reductions: ide

stack-reductions-isdn.patch
stack reduction: ISDN

use-EFLAGS_defines.patch
use EFLAGS #defines instead of inline constants

h8300-ptrace-fix.patch
From: Yoshinori Sato <[email protected]>
Subject: [PATCH] H8/300 support update (1/3) - ptrace fix

h8300-entry_s-cleanup.patch
From: Yoshinori Sato <[email protected]>
Subject: [PATCH] H8/300 support update (2/3) - entry.S cleanup

h8300-others.patch
From: Yoshinori Sato <[email protected]>
Subject: [PATCH] H8/300 support update (3/3) - others

sh-sci-build-fix.patch
sh-sci compile error fix patch

mc.patch
Add -mcN to EXTRAVERSION




2004-04-07 15:25:20

by John Cherry

[permalink] [raw]
Subject: Re: 2.6.5-mc2 (compile stats)

Offending files causing build errors:
sound/oss/cmpci.c
sound/oss/pss.c
sound/oss/trix.c
sound/oss/maui.c
drivers/scsi/sr.c

Linux 2.6 (mm tree) Compile Statistics (gcc 3.2.2)
Warnings/Errors Summary

Kernel bzImage bzImage bzImage modules bzImage modules
(defconfig) (allno) (allyes) (allyes) (allmod) (allmod)
--------------- ---------- -------- -------- -------- -------- --------
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

Web page with links to complete details:
http://developer.osdl.org/cherry/compile/

John


2004-04-07 16:03:23

by Gerd Knorr

[permalink] [raw]
Subject: Re: 2.6.5-mc2

Andrew Morton <[email protected]> writes:

> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.5/2.6.5-mc2/
>
> This tree is the accumulation of things which will be sent to Linus next
> week.

Doesn't boot my machine.

Gerd

Bootdata ok (command line is BOOT_IMAGE=2.6.5-mc2 root=303 console=ttyS0,115200n8 console=tty0 ramdisk_size=16384 root=/dev/ram0 init=/linuxrc rw)
Linux version 2.6.5-mc2 (kraxel@eskarina) (gcc version 3.3.3 (SuSE Linux)) #1 SMP Wed Apr 7 15:06:26 CEST 2004
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001fff0000 (usable)
BIOS-e820: 000000001fff0000 - 000000001fff3000 (ACPI NVS)
BIOS-e820: 000000001fff3000 - 0000000020000000 (ACPI data)
BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
No mptable found.
No mptable found.
On node 0 totalpages: 131056
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 126960 pages, LIFO batch:16
HighMem zone: 0 pages, LIFO batch:1
ACPI: RSDP (v000 AMD-K8 ) @ 0x00000000000f7680
ACPI: RSDT (v001 AMD-K8 AWRDACPI 0x42302e31 AMD 0x00000001) @ 0x000000001fff3000
ACPI: FADT (v001 AMD-K8 AWRDACPI 0x42302e31 AMD 0x00000001) @ 0x000000001fff3040
ACPI: SSDT (v001 AMD-K8 000Dummy 0x42302e31 AMD 0x00000001) @ 0x000000001fff7440
ACPI: SSDT (v001 AMD-K8 100Dummy 0x42302e31 AMD 0x00000001) @ 0x000000001fff7500
ACPI: MADT (v001 AMD-K8 AWRDACPI 0x42302e31 AMD 0x00000001) @ 0x000000001fff7480
ACPI: DSDT (v001 AMD-K8 AWRDACPI 0x00001000 MSFT 0x0100000c) @ 0x0000000000000000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 15:4 APIC version 16
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: IOAPIC (id[0x02] address[0xfec00000] global_irq_base[0x0])
IOAPIC[0]: Assigned apic_id 2
IOAPIC[0]: apic_id 2, version 17, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 high dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
Using ACPI (MADT) for SMP configuration information
Checking aperture...
CPU 0: aperture @ 40000000 size 1024 MB
Built 1 zonelists
Kernel command line: BOOT_IMAGE=2.6.5-mc2 root=303 console=ttyS0,115200n8 console=tty0 ramdisk_size=16384 root=/dev/ram0 init=/linuxrc rw
Initializing CPU#0
PID hash table entries: 16 (order 4: 256 bytes)
time.c: Using 1.193182 MHz PIT timer.
time.c: Detected 1595.476 MHz processor.
Console: colour dummy device 80x25
Memory: 511876k/524224k available (1861k kernel code, 11604k reserved, 853k data, 164k init)
Calibrating delay loop... 3137.53 BogoMIPS
Security Scaffold v1.0.0 initialized
Capability LSM initialized
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
Mount-cache hash table entries: 256 (order: 0, 4096 bytes)
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
POSIX conformance testing by UNIFIX
Using local APIC NMI watchdog using perfctr0
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
CPU0: AMD Athlon(tm) 64 Processor 2800+ stepping 00
per-CPU timeslice cutoff: 1024.25 usecs.
task migration cache decay timeout: 2 msecs.
Only one processor found.
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 pin1=2 pin2=-1
Using local APIC timer interrupts.
Detected 12.464 MHz APIC timer.
time.c: Using PIT/TSC based timekeeping.
Brought up 1 CPUs
NET: Registered protocol family 16
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20040326
ACPI-0100: *** Warning: Zero-length AML block in table [SSDT]
ACPI-0100: *** Warning: Zero-length AML block in table [SSDT]
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 *5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 10 11 *12 14 15)
ACPI: Power Resource [FN10] (on)
testing the IO APIC.......................

.................................... done.
PCI: Using ACPI for IRQ routing
PCI: if you experience problems, try using option 'pci=noacpi' or even 'acpi=off'
agpgart: Detected AMD 8151 AGP Bridge rev B0
agpgart: Correcting AGP revision (reports 3.5, is really 3.0)
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: AGP aperture is 1024M @ 0x40000000
PCI-DMA: Disabling IOMMU.
vesafb: framebuffer at 0xa0000000, mapped to 0xffffff0000212000, size 16384k
vesafb: mode is 1024x768x16, linelength=2048, pages=41
vesafb: scrolling: redraw
vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0
fb0: VESA VGA frame buffer device
IA32 emulation $Id: sys_ia32.c,v 1.32 2002/03/24 13:02:28 ak Exp $
ikconfig 0.7 with /proc/config*
Initializing Cryptographic API
Console: switching to colour frame buffer device 128x48
Real Time Clock Driver v1.12
Non-volatile memory driver v1.2
Linux agpgart interface v0.100 (c) Dave Jones
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
tg3.c:v2.9 (March 8, 2004)
eth0: Tigon3 [partno(3C996B-T) rev 0105 PHY(5701)] (PCI:33MHz:32-bit) 10/100/1000BaseT Ethernet 00:04:76:f1:0a:7c
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
AMD8111: IDE controller at PCI slot 0000:00:07.1
AMD8111: chipset revision 3
AMD8111: not 100% native mode: will probe irqs later
AMD8111: 0000:00:07.1 (rev 03) UDMA133 controller
ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:DMA, hdd:pio
hda: IC35L080AVVA07-0, ATA DISK drive
Using anticipatory io scheduler
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: TOSHIBA DVD-ROM SD-M1612, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 160836480 sectors (82348 MB) w/1863KiB Cache, CHS=65535/16/63, UDMA(100)
hda: hda1 hda2 hda3 hda4
mice: PS/2 mouse device common for all mice
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
input: AT Translated Set 2 keyboard on isa0060/serio0
NET: Registered protocol family 2
IP: routing cache hash table of 2048 buckets, 32Kbytes
TCP: Hash tables configured (established 16384 bind 16384)
NET: Registered protocol family 1
ACPI: (supports S0 S1 S3 S4 S5)
RAMDISK: Compressed image found at block 0
VFS: Mounted root (romfs filesystem) readonly.
Freeing unused kernel memory: 164k freed
input: PC Speaker
NET: Registered protocol family 17
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Busy inodes after unmount. Self-destruct in 5 seconds. Have a nice day...
Adding 2104504k swap on /dev/hda2. Priority:42 extents:1
EXT3 FS on hda3, internal journal
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda4, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
intel8x0_measure_ac97_clock: measured 49142 usecs
intel8x0: clocking to 48000
blk: queue 000001001fade728, I/O limit 4095Mb (mask 0xffffffff)
hdc: ATAPI 48X DVD-ROM drive, 512kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
Bridge firewalling registered
NET: Registered protocol family 10
Disabled Privacy Extensions on device ffffffff80371c40(lo)
IPv6 over IPv4 tunneling driver
device hw0 entered promiscuous mode
Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky
device uml0 entered promiscuous mode
tg3: hw0: Link is up at 100 Mbps, full duplex.
tg3: hw0: Flow control is on for TX and on for RX.
SCSI subsystem initialized
st: Version 20040318, fixed bufsize 32768, s/g segs 256
drivers/usb/core/usb.c: registered new driver usbfs
drivers/usb/core/usb.c: registered new driver hub
ohci_hcd 0000:02:00.0: Advanced Micro Devices [AMD] AMD-8111 USB
ohci_hcd 0000:02:00.0: irq 19, pci mem ffffff0001330000
ohci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
ohci_hcd 0000:02:00.1: Advanced Micro Devices [AMD] AMD-8111 USB (#2)
ohci_hcd 0000:02:00.1: irq 19, pci mem ffffff0001332000
ohci_hcd 0000:02:00.1: new USB bus registered, assigned bus number 2
general protection fault: 0000 [1] PREEMPT SMP
CPU 0
Pid: 1669, comm: sleep Not tainted 2.6.5-mc2
RIP: 0010:[<ffffffff8010f106>] <ffffffff8010f106>{__switch_to+86}
RSP: 0018:000001001cd6fe90 EFLAGS: 00010002
RAX: 000001001cd28000 RBX: 000001001ceddac0 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 000001001cedd630 RDI: 000001001cd70e78
RBP: 000001001cd71308 R08: 0000000000000000 R09: 0000000000000007
R10: 00000000ffffffff R11: dead4ead00000001 R12: 000001001d166628
R13: 000001001cedd630 R14: 000001001cd70e78 R15: ffffffff803d9a40
FS: 0000002a95c02880(0000) GS:ffffffff803ddbc0(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000002a9595ae30 CR3: 0000000000101000 CR4: 00000000000006e0
Process sleep (pid: 1669, stackpage=1001cd71e78)
Stack: ffffffff8014e472 0000000000000000 000001001cedd630 000001001d166628
000001000170b420 000001001cedd630 0000000947c6ee09 ffffffff802cd630
000001001cd6ff70 0000000000000002
Call Trace:<ffffffff8014e472>{attach_pid+34} <ffffffff802cd630>{thread_return+0}
<ffffffff8010efe9>{sys_clone+41} <ffffffff80110828>{sysret_careful+13}


Code: 0f ae 87 10 05 00 00 db e2 83 60 14 fe 0f 20 c0 48 83 c8 08
RIP <ffffffff8010f106>{__switch_to+86} RSP <000001001cd6fe90>
<6>note: sleep[1669] exited with preempt_count 2
bad: scheduling while atomic!

Call Trace:<ffffffff802ccf5e>{schedule+94} <ffffffff80176785>{page_remove_rmap+389}
NMI Watchdog detected LOCKUP on CPU0, registers:
CPU 0
Pid: 1669, comm: sleep Not tainted 2.6.5-mc2
RIP: 0010:[<ffffffff802ce408>] <ffffffff802ce408>{.text.lock.sched+26}
RSP: 0018:ffffffff803e1a78 EFLAGS: 00000086
RAX: 000001001cd29fd8 RBX: 000001000170b420 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000003 RDI: 000001000170b420
RBP: ffffffff803e1a98 R08: 000001000170b420 R09: 0000000000000002
R10: 00000000ffffffff R11: 0000000000000103 R12: 0000000000000000
R13: 000001000170b420 R14: ffffffff803e1ab8 R15: 0000000000000000
FS: 0000002a95c02880(0000) GS:ffffffff803ddbc0(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000002a9595ae30 CR3: 0000000000101000 CR4: 00000000000006e0
Process sleep (pid: 1669, stackpage=1001cd71e78)
Stack: 000001001deea240 0000000024000001 ffffffff8040b4c0 000001001fe610f0
ffffffff803e1ae8 ffffffff801338bb 0000000000000003 0000000000000011
0000000000000092 0000000000000000
Call Trace:<IRQ> <ffffffff801338bb>{try_to_wake_up+107} <ffffffff80132970>{__wake_up_common+64}
<ffffffff80135724>{__wake_up+116} <ffffffff802542d0>{cursor_timer_handler+0}
<ffffffff8014d9c9>{__queue_work+137} <ffffffff8014daa5>{queue_work+85}
<ffffffff802542e0>{cursor_timer_handler+16} <ffffffff80143426>{run_timer_softirq+486}
<ffffffff801182be>{timer_interrupt+1422} <ffffffff8011443f>{handle_IRQ_event+47}
<ffffffff8013f553>{__do_softirq+83} <ffffffff8013f5e5>{do_softirq+53}
<ffffffff8011e603>{smp_apic_timer_interrupt+115} <ffffffff80111033>{apic_timer_interrupt+99}
<EOI> <ffffffff80139eec>{__call_console_drivers+76}
<ffffffff801d5379>{__delay+9} <ffffffff8021dea2>{serial8250_console_write+146}
<ffffffff80139eec>{__call_console_drivers+76} <ffffffff8013a62a>{release_console_sem+490}
<ffffffff8013a3c5>{printk+725} <ffffffff8011204c>{printk_address+140}
<ffffffff80176785>{page_remove_rmap+389} <ffffffff8011222f>{show_trace+463}
<ffffffff8011225c>{dump_stack+12} <ffffffff802ccf5e>{schedule+94}
<ffffffff80176785>{page_remove_rmap+389} <ffffffff8016ecbf>{unmap_page_range+687}
<ffffffff8016efcf>{unmap_vmas+527} <ffffffff80172b0e>{exit_mmap+318}
<ffffffff801375f5>{mmput+181} <ffffffff8013d38c>{do_exit+636}
<ffffffff80111e2c>{oops_end+124} <ffffffff80112795>{die+69}
<ffffffff801128a7>{do_general_protection+263} <ffffffff80111185>{error_exit+0}
<ffffffff8010f106>{__switch_to+86} <ffffffff8014e472>{attach_pid+34}
<ffffffff802cd630>{thread_return+0} <ffffffff8010efe9>{sys_clone+41}
<ffffffff80110828>{sysret_careful+13}

Code: 80 3b 00 7e f9 e9 bb f5 ff ff f3 90 80 3b 00 7e f9 e9 c3 f6
console shuts up ...

2004-04-07 16:08:49

by John Cherry

[permalink] [raw]
Subject: Re: 2.6.5-mc2 (compile stats)

These stats are for 2.6.5-mm2, not 2.6.5-mc2.

On Wed, 2004-04-07 at 08:29, John Cherry wrote:
> Offending files causing build errors:
> sound/oss/cmpci.c
> sound/oss/pss.c
> sound/oss/trix.c
> sound/oss/maui.c
> drivers/scsi/sr.c
>
> Linux 2.6 (mm tree) Compile Statistics (gcc 3.2.2)
> Warnings/Errors Summary
>
> Kernel bzImage bzImage bzImage modules bzImage modules
> (defconfig) (allno) (allyes) (allyes) (allmod) (allmod)
> --------------- ---------- -------- -------- -------- -------- --------
> 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
>
> Web page with links to complete details:
> http://developer.osdl.org/cherry/compile/
>
> John
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

2004-04-07 18:04:35

by William Lee Irwin III

[permalink] [raw]
Subject: Re: 2.6.5-mc2

On Tue, Apr 06, 2004 at 10:17:44PM -0700, Andrew Morton wrote:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.5/2.6.5-mc2/
> This tree is the accumulation of things which will be sent to Linus next
> week.

fs/open.c: In function `vfs_statfs_native':
fs/open.c:67: warning: comparison is always true due to limited range of data type
fs/open.c:70: warning: comparison is always true due to limited range of data type


Index: wli-2.6.5-3/fs/open.c
===================================================================
--- wli-2.6.5-3.orig/fs/open.c 2004-04-07 07:18:19.000000000 -0700
+++ wli-2.6.5-3/fs/open.c 2004-04-07 10:57:00.000000000 -0700
@@ -44,6 +44,13 @@

EXPORT_SYMBOL(vfs_statfs);

+static inline int vfs_statfs_overflow(unsigned long x)
+{
+ if (sizeof(unsigned long) == 8)
+ return 0;
+ return x != ~0UL && x > ((1UL << (BITS_PER_LONG/2)) - 1);
+}
+
static int vfs_statfs_native(struct super_block *sb, struct statfs *buf)
{
struct kstatfs st;
@@ -64,11 +71,9 @@
* f_files and f_ffree may be -1; it's okay to stuff
* that into 32 bits
*/
- if (st.f_files != 0xffffffffffffffffULL &&
- (st.f_files & 0xffffffff00000000ULL))
+ if (vfs_statfs_overflow(st.f_files))
return -EOVERFLOW;
- if (st.f_ffree != 0xffffffffffffffffULL &&
- (st.f_ffree & 0xffffffff00000000ULL))
+ if (vfs_statfs_overflow(st.f_ffree))
return -EOVERFLOW;
}

2004-04-07 18:09:29

by William Lee Irwin III

[permalink] [raw]
Subject: Re: 2.6.5-mc2

On Wed, Apr 07, 2004 at 11:04:30AM -0700, William Lee Irwin III wrote:
> + if (sizeof(unsigned long) == 8)

Ugh.


Index: wli-2.6.5-3/fs/open.c
===================================================================
--- wli-2.6.5-3.orig/fs/open.c 2004-04-07 07:18:19.000000000 -0700
+++ wli-2.6.5-3/fs/open.c 2004-04-07 11:06:49.000000000 -0700
@@ -44,6 +44,13 @@

EXPORT_SYMBOL(vfs_statfs);

+static inline int vfs_statfs_overflow(unsigned long x)
+{
+ if (sizeof(unsigned long) == 4)
+ return 0;
+ return x != ~0UL && x > ((1UL << (BITS_PER_LONG/2)) - 1);
+}
+
static int vfs_statfs_native(struct super_block *sb, struct statfs *buf)
{
struct kstatfs st;
@@ -64,11 +71,9 @@
* f_files and f_ffree may be -1; it's okay to stuff
* that into 32 bits
*/
- if (st.f_files != 0xffffffffffffffffULL &&
- (st.f_files & 0xffffffff00000000ULL))
+ if (vfs_statfs_overflow(st.f_files))
return -EOVERFLOW;
- if (st.f_ffree != 0xffffffffffffffffULL &&
- (st.f_ffree & 0xffffffff00000000ULL))
+ if (vfs_statfs_overflow(st.f_ffree))
return -EOVERFLOW;
}

2004-04-07 18:25:36

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.5-mc2

William Lee Irwin III <[email protected]> wrote:
>
> On Wed, Apr 07, 2004 at 11:04:30AM -0700, William Lee Irwin III wrote:
> > + if (sizeof(unsigned long) == 8)
>
> Ugh.

I did it this way, relying on magical promotions:

--- 25/fs/open.c~nfs-32bit-statfs-fix-warning-fix 2004-04-06 23:16:25.221685072 -0700
+++ 25-akpm/fs/open.c 2004-04-06 23:16:25.225684464 -0700
@@ -64,10 +64,10 @@ static int vfs_statfs_native(struct supe
* f_files and f_ffree may be -1; it's okay to stuff
* that into 32 bits
*/
- if (st.f_files != 0xffffffffffffffffULL &&
+ if (st.f_files != -1 &&
(st.f_files & 0xffffffff00000000ULL))
return -EOVERFLOW;
- if (st.f_ffree != 0xffffffffffffffffULL &&
+ if (st.f_ffree != -1 &&
(st.f_ffree & 0xffffffff00000000ULL))
return -EOVERFLOW;
}

_

2004-04-07 18:34:19

by William Lee Irwin III

[permalink] [raw]
Subject: Re: 2.6.5-mc2

On Wed, Apr 07, 2004 at 11:27:38AM -0700, Andrew Morton wrote:
> I did it this way, relying on magical promotions:
> --- 25/fs/open.c~nfs-32bit-statfs-fix-warning-fix 2004-04-06 23:16:25.221685072 -0700
> +++ 25-akpm/fs/open.c 2004-04-06 23:16:25.225684464 -0700
> @@ -64,10 +64,10 @@ static int vfs_statfs_native(struct supe
> * f_files and f_ffree may be -1; it's okay to stuff
> * that into 32 bits
> */
> - if (st.f_files != 0xffffffffffffffffULL &&
> + if (st.f_files != -1 &&
> (st.f_files & 0xffffffff00000000ULL))
> return -EOVERFLOW;
> - if (st.f_ffree != 0xffffffffffffffffULL &&
> + if (st.f_ffree != -1 &&
> (st.f_ffree & 0xffffffff00000000ULL))

Are you sure this works? IIRC -1 is promoted only afterward, yielding
on 64-bit (1UL << 32) - 1 instead of ~0UL, which was the issue with
init_task.cpus_allowed being initialized to -1 on 2.4.x. Maybe it's
better behaved in this instance (language lawyer territory).

-- wli

2004-04-07 18:50:35

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.5-mc2

William Lee Irwin III <[email protected]> wrote:
>
> On Wed, Apr 07, 2004 at 11:27:38AM -0700, Andrew Morton wrote:
> > I did it this way, relying on magical promotions:
> > --- 25/fs/open.c~nfs-32bit-statfs-fix-warning-fix 2004-04-06 23:16:25.221685072 -0700
> > +++ 25-akpm/fs/open.c 2004-04-06 23:16:25.225684464 -0700
> > @@ -64,10 +64,10 @@ static int vfs_statfs_native(struct supe
> > * f_files and f_ffree may be -1; it's okay to stuff
> > * that into 32 bits
> > */
> > - if (st.f_files != 0xffffffffffffffffULL &&
> > + if (st.f_files != -1 &&
> > (st.f_files & 0xffffffff00000000ULL))
> > return -EOVERFLOW;
> > - if (st.f_ffree != 0xffffffffffffffffULL &&
> > + if (st.f_ffree != -1 &&
> > (st.f_ffree & 0xffffffff00000000ULL))
>
> Are you sure this works? IIRC -1 is promoted only afterward, yielding
> on 64-bit (1UL << 32) - 1 instead of ~0UL, which was the issue with
> init_task.cpus_allowed being initialized to -1 on 2.4.x. Maybe it's
> better behaved in this instance (language lawyer territory).


This says yes:

main()
{
unsigned long long ll = 0xffffffffffffffff;

if (ll == -1)
printf("yes\n");
}

The compiler has ((int)-1) and then has to promote it to ULL. If it does
the conversion to unsigned before the conversion to long long, we lose.
But it doesn't, and I couldn't immediately find a spec which justfies this
behaviour.

2004-04-07 19:27:31

by William Lee Irwin III

[permalink] [raw]
Subject: Re: 2.6.5-mc2

On Wed, Apr 07, 2004 at 11:52:47AM -0700, Andrew Morton wrote:
> The compiler has ((int)-1) and then has to promote it to ULL. If it does
> the conversion to unsigned before the conversion to long long, we lose.
> But it doesn't, and I couldn't immediately find a spec which justfies this
> behaviour.

If it works with gcc, it's good enough for me.


-- wli