2003-07-02 03:24:57

by Andrew Morton

[permalink] [raw]
Subject: 2.5.73-mm3


ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.5/2.5.73/2.5.73-mm3/

. The ext2 "free inodes corrupted" problem which Martin saw should be
fixed.

. The ext3 assertion failure which Maneesh hit should be fixed (I can't
reproduce this, please retest?)

. A patch from Neil which will hopefully fix the RAID "bio too big" bug.
Neil cannot reproduce that, so we are asking anyone who _can_ make this
happen to test this out.

. The weird behaviour with time-n-date on SpeedStep machines should be
fixed. Some of the weird behaviour, at least.

. A tweak to the oom killer here may cause earlier oom-killings. I was
able to trigger just the one. Keep an eye on that please.


And on a personal note: The OSDL will now be sponsoring my kernel work at
Digeo. This means that I shall become [email protected]. [email protected] still
will work. Many thanks to the OSDL and Digeo teams who put this together.






Changes since 2.5.73-mm2:



-handle-no-readpage-2.patch
-pppoe-revert.patch
-ppc64-fixes-2.patch
-ppc64-bat-initialisation-fix.patch
-reiserfs-unmapped-buffer-fix.patch
-pcmcia-event-20030623-1.patch
-pcmcia-event-20030623-2.patch
-pcmcia-event-20030623-3.patch
-pcmcia-event-20030623-4.patch
-pcmcia-event-20030623-5.patch
-pcmcia-event-20030623-6.patch
-sym2-bus_addr-fix.patch
-lost-tick-speedstep-fix.patch
-sym2-remove-broken-bios-check.patch
-syslog-efault-reporting.patch
-dvd-ram-rw-fix.patch
-mixcomwd-update.patch
-arc-rimi-race-fix.patch
-slab-drain-all-objects-fix.patch
-ext3-remove-version.patch
-cdrom-eject-hang-fix.patch

Merged

-numa-memory-reporting-fix.patch
+numa-memory-reporting-fix-2.patch

Updated

+ramfs-use-generic_file_llseek.patch
+inode_change_ok-remove-lock_kernel.patch
+nommu-vmtruncate-no_lock_kernel.patch
+proc-lock_kernel-removal.patch
+fops-flush-no-lock_kernel.patch
+block_llseek-no-lock_kernel.patch

lock_kernel()ectomy

+intel8x0-cleanup.patch

Small driver cleanup

+TC35815-config-fix.patch

Build fix

+CLONE_DETACHED-exit-fix.patch

Report CLONE_DETACHED threads to gdb

+bio-too-big-fix.patch

Might fix the RAID "bio too big" problems.

-linux-isp.patch
-isp-update-1.patch
-isp-remove-pci_detect.patch
-feral-fix.patch
+linux-isp-2.patch

Slightly updated feral qlogic driver.

+aio-dio-no-readahead.patch

Don't do readahead for AIO-over-direct-io

+nbd-ioctl-compat.patch

NBD userspace compatibility.

-rename-timer.patch
+rename-timer-A1.patch
+lost-tick-speedstep-fix-A1.patch
+lost-tick-corner-fix-A0.patch

Updated timer patches. Mainly for addressing odd behaviour on SpeedStep
machines.

-init_timer-debug-trap.patch

Dropped due to lack of interest.

+ext2_new_inode-race-fix.patch

Fix a race which causes ext2 to bogusly claim that the free inodes count
was corrupted.

+oomkill-if-free-swap.patch

Remove bogus test in the oom-killer.

+exec_mmap-is-the-point-of-no-return.patch

Fix execve() bug

+double-mmdrop-fix.patch

Fix another execve() bug

+cciss-hang-fix.patch

cciss fix

+journal_release_buffer-race-fix.patch

Fix ext3 assertion failure (?)





All 133 patches:


linus.patch

mm.patch
add -mmN to EXTRAVERSION

kgdb-ga.patch
kgdb stub for ia32 (George Anzinger's one)

kgdb-use-ggdb.patch

kgdb-ga-docco-fixes.patch
kgdb doc. edits/corrections

HZ-100.patch

config_spinline.patch
uninline spinlocks for profiling accuracy.

ppc64-pci-update.patch

ppc64-reloc_hide.patch

ppc64-semaphore-reimplementation.patch
ppc64: use the ia32 semaphore implementation

sym-do-160.patch
make the SYM driver do 160 MB/sec

x86_64-fixes.patch
x86_64 fixes

irqreturn-snd-via-fix.patch
via sound irqreturn fix

config-PAGE_OFFSET.patch
Configurable kenrel/user memory split

lru_cache_add-check.patch
lru_cache_add debug check

delay-ksoftirqd-fallback.patch
Try harded in IRQ context before falling back to ksoftirqd

fb-image-depth-fix.patch
fbdev image depth fix

move_vma-VM_LOCKED-fix.patch
move_vma() make_pages_present() fix

ds-09-vicam-usercopy-fix.patch
vicam usercopy fix

buffer-debug.patch
buffer.c debugging

e100-use-after-free-fix.patch

3-unmap-page-debugging.patch
page unmappng debug patch

VM_RESERVED-check.patch
VM_RESERVED check

ipcsem-speedup.patch
ipc semaphore optimization

rcu-stats.patch
RCU statistics reporting

mtrr-hang-fix.patch
Fix mtrr-related hang

reslabify-pgds-and-pmds.patch
re-slabify i386 pgd's and pmd's

numa-memory-reporting-fix-2.patch
NUMA mamory reporting fix

ramfs-use-generic_file_llseek.patch
ramfs: use ramfs-use-generic_file_llseek

inode_change_ok-remove-lock_kernel.patch
inode_change_ok(): remove lock_kernel()

nommu-vmtruncate-no_lock_kernel.patch
nommu vmtruncate: remove lock_kernel()

proc-lock_kernel-removal.patch
procfs: remove some unneeded lock_kernel()s

fops-flush-no-lock_kernel.patch
remove lock_kernel() from file_ops.flush()

block_llseek-no-lock_kernel.patch
block_llseek(): remove lock_kernel()

intel8x0-cleanup.patch
intel8x0 cleanups

TC35815-config-fix.patch
Make CONFIG_TC35815 depend on CONFIG_TOSHIBA_JMR3927

CLONE_DETACHED-exit-fix.patch
Report detached thread exit to the debugger

bio-too-big-fix.patch
Fix raid "bio too big" failures

linux-isp-2.patch

list_del-debug.patch
list_del debug check

airo-schedule-fix.patch
airo.c: don't sleep in atomic regions

resurrect-batch_requests.patch
bring back the batch_requests function

kblockd.patch
Create `kblockd' workqueue

cfq-infrastructure.patch

elevator-completion-api.patch
elevator completion API

as-iosched.patch
anticipatory I/O scheduler
AS: pgbench improvement
AS: discrete read fifo batches
AS sync/async batches
AS: hash removal fix
AS jumbo patch (for SCSI and TCQ)
AS: fix stupid thinko
AS: no batch-antic-limit
AS: autotune write batches
AS: divide by zero fix
AS: more HZ != 1000 fixes
AS: update_write_batch tuning
AS locking
AS HZ fixes

as-double-free-and-debug.patch
AS: fix a leak + more debugging

as-fix-seek-estimation.patch
AS: maybe repair performance drop of random read O_DIRECT

as-fix-seeky-loads.patch
AS: fix IBM's seek load

unplug-use-kblockd.patch
Use kblockd for running request queues

per-queue-nr_requests.patch
per queue nr_requests

blk-invert-watermarks.patch
blk_congestion_wait threshold cleanup

blk-as-hint.patch
blk-as-hint

get_request_wait-oom-fix.patch
handle OOM in get_request_wait().

blk-fair-batches.patch
blk-fair-batches

blk-fair-batches-2.patch
blk fair batches #2

generic-io-contexts.patch
generic io contexts

blk-request-batching.patch
block request batching

get_io_context-fix.patch
get_io_context fixes

blk-allocation-commentary.patch
block allocation comments

blk-batching-throttle-fix.patch
blk batch requests fix

blk-batching-cleanups.patch
block batching cleanups

print-build-options-on-oops.patch
print a few config options on oops

mmap-prefault.patch
prefault of executable mmaps

bio-debug-trap.patch
BIO debugging patch

sound-irq-hack.patch

show_task-free-stack-fix.patch
show_task() fix and cleanup

put_task_struct-debug.patch

ia32-mknod64.patch
mknod64 for ia32

ext2-64-bit-special-inodes.patch
ext2: support for 64-bit device nodes

ext3-64-bit-special-inodes.patch
ext3: support for 64-bit device nodes

64-bit-dev_t-kdev_t.patch
64-bit dev_t and kdev_t

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

lockmeter.patch

invalidate_mmap_range.patch
Interface to invalidate regions of mmaps

aio-mm-refcounting-fix.patch
fix /proc mm_struct refcounting bug

aio-01-retry.patch
AIO: Core retry infrastructure

io_submit_one-EINVAL-fix.patch
Fix aio process hang on EINVAL

aio-02-lockpage_wq.patch
AIO: Async page wait

aio-03-fs_read.patch
AIO: Filesystem aio read

aio-04-buffer_wq.patch
AIO: Async buffer wait

aio-05-fs_write.patch
AIO: Filesystem aio write

aio-05-fs_write-fix.patch

aio-06-bread_wq.patch
AIO: Async block read

aio-06-bread_wq-fix.patch

aio-07-ext2getblk_wq.patch
AIO: Async get block for ext2

O_SYNC-speedup-2.patch
speed up O_SYNC writes

aio-09-o_sync.patch
aio O_SYNC

aio-10-BUG-fix.patch
AIO: fix a BUG

aio-11-workqueue-flush.patch
AIO: flush workqueues before destroying ioctx'es

aio-12-readahead.patch
AIO: readahead fixes

aio-dio-no-readahead.patch
aio O_DIRECT no readahead

lock_buffer_wq-fix.patch
lock_buffer_wq fix

unuse_mm-locked.patch
AIO: hold the context lock across unuse_mm

aio-take-task_lock.patch
From: Suparna Bhattacharya <[email protected]>
Subject: Re: 2.5.72-mm1 - Under heavy testing with AIO,.. vmstat seems to blow the kernel

vfsmount_lock.patch
From: Maneesh Soni <[email protected]>
Subject: [patch 1/2] vfsmount_lock

sched-hot-balancing-fix.patch
fix for CPU scheduler load distribution

truncate-pagefault-race-fix.patch
Fix vmtruncate race and distributed filesystem race

truncate-pagefault-race-fix-fix.patch
Make sure truncate fix has no race

sleepometer.patch
sleep instrumentation

time-goes-backwards.patch
demonstrate do_gettimeofday() going backwards

skip-apic-ids-on-boot.patch
skip apicids on boot

printk-oops-mangle-fix.patch
disentangle printk's whilst oopsing on SMP

20-odirect_enable.patch

21-odirect_cruft.patch

22-read_proc.patch

23-write_proc.patch

24-commit_proc.patch

25-odirect.patch

nfs-O_DIRECT-always-enabled.patch
Force CONFIG_NFS_DIRECTIO

seqcount-locking.patch
i_size atomic access: infrastructure

i_size-atomic-access.patch
i_size atomic access

aha152x-oops-fix.patch
aha152X oops fixes

security_vm_enough_memory.patch
Security hook for vm_enough_memory

nbd-cleanups.patch
NBD: cosmetic cleanups

nbd-enhanced-diagnostics.patch
nbd: enhanced diagnostics support

nbd-remove-blksize-bits.patch
nbd: remove unneeded blksize_bits field

nbd-kobject-oops-fix.patch
nbd: initialise the embedded kobject

nbd-paranioa-cleanups.patch
nbd: cleanup PARANOIA usage & code

nbd-locking-fixes.patch
nbd: fix locking issues with ioctl UI

nbd-ioctl-compat.patch
nbd: add compatibility with previous ioctl user interface

rename-timer-A1.patch
timer renaming and cleanups

lost-tick-speedstep-fix-A1.patch
fix lost_tick detector for speedstep

lost-tick-corner-fix-A0.patch
fix lost-tick compensation corner-case

lowmem_page_address-cleanup.patch
cleanup and generalise lowmem_page_address

acpismp-fix.patch
ACPI_HT_ONLY acpismp=force

div64-cleanup.patch
Kill div64.h dupes and parenthesize do_div() parameters

ext2_new_inode-race-fix.patch
ext2: inode allocation race fix

oomkill-if-free-swap.patch
Don't skip oomkilling if there's free swap

exec_mmap-is-the-point-of-no-return.patch
after exec_mmap(), exec cannot fail

double-mmdrop-fix.patch
fix double mmdrop() on exec path

cciss-hang-fix.patch
cciss: fix io hang

journal_release_buffer-race-fix.patch
ext3: fix journal_release_buffer() race




2003-07-02 04:53:58

by Martin J. Bligh

[permalink] [raw]
Subject: Re: 2.5.73-mm3



--Andrew Morton <[email protected]> wrote (on Tuesday, July 01, 2003 20:38:30 -0700):

> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.5/2.5.73/2.5.73-mm3/

;-(

VFS: Cannot open root device "sda2" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on unknown-block(0,0)

mm2 works fine.

Seems like no SCSI drivers at all got loaded ... same config file,
feral on ISP.

M.

2003-07-02 05:03:38

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.5.73-mm3

"Martin J. Bligh" <[email protected]> wrote:
>
>
>
> --Andrew Morton <[email protected]> wrote (on Tuesday, July 01, 2003 20:38:30 -0700):
>
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.5/2.5.73/2.5.73-mm3/
>
> ;-(
>
> VFS: Cannot open root device "sda2" or unknown-block(0,0)
> Please append a correct "root=" boot option
> Kernel panic: VFS: Unable to mount root fs on unknown-block(0,0)
>
> mm2 works fine.
>
> Seems like no SCSI drivers at all got loaded ... same config file,
> feral on ISP.

Works OK here.

The config option for the feral driver got gratuitously renamed. To
CONFIG_SCSI_FERAL_ISP.

2003-07-02 10:33:15

by Maneesh Soni

[permalink] [raw]
Subject: Re: 2.5.73-mm3

On Wed, Jul 02, 2003 at 03:39:54AM +0000, Andrew Morton wrote:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.5/2.5.73/2.5.73-mm3/
>
> . The ext2 "free inodes corrupted" problem which Martin saw should be
> fixed.
>
> . The ext3 assertion failure which Maneesh hit should be fixed (I can't
> reproduce this, please retest?)
>

It is fixed. Ran multiple iterations without any ext3 assertion failure.

Maneesh

--
Maneesh Soni
IBM Linux Technology Center,
IBM India Software Lab, Bangalore.
Phone: +91-80-5044999 email: [email protected]
http://lse.sourceforge.net/

2003-07-02 15:03:46

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.5.73-mm3

Maneesh Soni <[email protected]> wrote:
>
> On Wed, Jul 02, 2003 at 03:39:54AM +0000, Andrew Morton wrote:
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.5/2.5.73/2.5.73-mm3/
> >
> > . The ext2 "free inodes corrupted" problem which Martin saw should be
> > fixed.
> >
> > . The ext3 assertion failure which Maneesh hit should be fixed (I can't
> > reproduce this, please retest?)
> >
>
> It is fixed. Ran multiple iterations without any ext3 assertion failure.

Sweet, thanks.

And thanks also for the ext3-debug trace - that found the bug in sixty
seconds of peering.

2003-07-02 18:09:18

by Martin J. Bligh

[permalink] [raw]
Subject: Re: 2.5.73-mm3

>> VFS: Cannot open root device "sda2" or unknown-block(0,0)
>> Please append a correct "root=" boot option
>> Kernel panic: VFS: Unable to mount root fs on unknown-block(0,0)
>>
>> mm2 works fine.
>>
>> Seems like no SCSI drivers at all got loaded ... same config file,
>> feral on ISP.
>
> Works OK here.
>
> The config option for the feral driver got gratuitously renamed. To
> CONFIG_SCSI_FERAL_ISP.

Bah humbug.

Well, I tried that now. Still E_NO_WORKEE though. Does spit out one
error:

scsi HBA driver Qlogic ISP 10X0/2X00 didn't set a release method.
st: Version 20030622, fixed bufsize 32768, s/g segs 256
oprofile: using NMI interrupt.
NET4: Linux TCP/IP 1.0 for NET4.0
IP: routing cache hash table of 131072 buckets, 1024Kbytes
TCP: Hash tables configured (established 524288 bind 65536)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Cannot open root device "sda2" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on unknown-block(0,0)

Note the "scsi HBA driver Qlogic ISP 10X0/2X00 didn't set a release method"
bit.

2003-07-02 18:12:58

by Valdis Klētnieks

[permalink] [raw]
Subject: Re: 2.5.73-mm3

On Tue, 01 Jul 2003 20:38:30 PDT, Andrew Morton <[email protected]> said:
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.5/2.5.73/2.5.73-mm3/

> . The weird behaviour with time-n-date on SpeedStep machines should be
> fixed. Some of the weird behaviour, at least.

The problem I noted with speedstep-ich.c mangling the loops_per_jiffies variable
is still there. Looks like I have something to do on the plane tomorrow. ;)


Attachments:
(No filename) (226.00 B)

2003-07-02 18:47:29

by Martin J. Bligh

[permalink] [raw]
Subject: Re: 2.5.73-mm3

> scsi HBA driver Qlogic ISP 10X0/2X00 didn't set a release method.
> st: Version 20030622, fixed bufsize 32768, s/g segs 256
> oprofile: using NMI interrupt.
> NET4: Linux TCP/IP 1.0 for NET4.0
> IP: routing cache hash table of 131072 buckets, 1024Kbytes
> TCP: Hash tables configured (established 524288 bind 65536)
> NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
> VFS: Cannot open root device "sda2" or unknown-block(0,0)
> Please append a correct "root=" boot option
> Kernel panic: VFS: Unable to mount root fs on unknown-block(0,0)
>
> Note the "scsi HBA driver Qlogic ISP 10X0/2X00 didn't set a release method"
> bit.

OK, this rediffed version of Mike's earlier patch fixes it - I guess it
got trampled in the merge. All the ifdefs surrounding isplinux_release
are a bit odd, but I think I got 'em right. Would be a damned sight
easier if we ripped out all that version crud.

M.

diff -purN linux-2.5.73-mm3/drivers/scsi/isp/isp_linux.c 2.5.73-mm3/drivers/scsi/isp/isp_linux.c
--- linux-2.5.73-mm3/drivers/scsi/isp/isp_linux.c 2003-07-01 20:29:04.000000000 -0700
+++ 2.5.73-mm3/drivers/scsi/isp/isp_linux.c 2003-07-02 11:01:02.000000000 -0700
@@ -145,7 +145,6 @@ isplinux_detect(Scsi_Host_Template *tmpt
return (rval);
}

-#ifdef MODULE
/* io_request_lock *not* held here */
int
isplinux_release(struct Scsi_Host *host)
@@ -185,7 +184,6 @@ isplinux_release(struct Scsi_Host *host)
isp_kfree(FCPARAM(isp)->isp_dump_data, amt);
FCPARAM(isp)->isp_dump_data = 0;
}
-#endif
#if defined(CONFIG_PROC_FS) && LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0)
/*
* Undo any PROCFS stuff
@@ -193,8 +191,8 @@ isplinux_release(struct Scsi_Host *host)
isplinux_undo_proc(isp);
#endif
return (1);
-}
#endif
+}

const char *
isplinux_info(struct Scsi_Host *host)
diff -purN linux-2.5.73-mm3/drivers/scsi/isp/isp_linux.h 2.5.73-mm3/drivers/scsi/isp/isp_linux.h
--- linux-2.5.73-mm3/drivers/scsi/isp/isp_linux.h 2003-07-01 20:29:04.000000000 -0700
+++ 2.5.73-mm3/drivers/scsi/isp/isp_linux.h 2003-07-02 10:53:38.000000000 -0700
@@ -774,12 +774,8 @@ static INLINE unsigned long _usec_to_jif

int isplinux_proc_info(char *, char **, off_t, int, int, int);
int isplinux_detect(Scsi_Host_Template *);
-#ifdef MODULE
int isplinux_release(struct Scsi_Host *);
#define ISPLINUX_RELEASE isplinux_release
-#else
-#define ISPLINUX_RELEASE NULL
-#endif
const char *isplinux_info(struct Scsi_Host *);
int isplinux_queuecommand(Scsi_Cmnd *, void (* done)(Scsi_Cmnd *));
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)

2003-07-02 19:53:22

by Martin J. Bligh

[permalink] [raw]
Subject: Re: 2.5.73-mm3

Spiffy - works now.

Kernbench: (make -j N vmlinux, where N = 2 x num_cpus)
Elapsed System User CPU
2.5.73 45.08 98.30 568.56 1479.00
2.5.73-mm3 44.39 92.72 563.04 1476.25
2.5.73-mjb1 43.70 75.71 564.62 1465.00

Kernbench: (make -j N vmlinux, where N = 16 x num_cpus)
Elapsed System User CPU
2.5.73 45.99 115.34 571.60 1493.00
2.5.73-mm3 45.36 111.71 565.71 1493.75
2.5.73-mjb1 43.88 88.37 570.41 1500.75

Kernbench: (make -j vmlinux, maximal tasks)
Elapsed System User CPU
2.5.73 46.01 115.06 571.66 1491.75
2.5.73-mm3 45.38 114.91 565.81 1497.75
2.5.73-mjb1 43.93 85.48 570.47 1492.25


DISCLAIMER: SPEC(tm) and the benchmark name SDET(tm) are registered
trademarks of the Standard Performance Evaluation Corporation. This
benchmarking was performed for research purposes only, and the run results
are non-compliant and not-comparable with any published results.

Results are shown as percentages of the first set displayed

SDET 1 (see disclaimer)
Throughput Std. Dev
2.5.73 100.0% 2.5%
2.5.73-mm3 105.3% 2.2%
2.5.73-mjb1 112.8% 0.0%

SDET 2 (see disclaimer)
Throughput Std. Dev
2.5.73 100.0% 7.1%
2.5.73-mm3 99.3% 3.4%
2.5.73-mjb1 108.8% 4.7%

SDET 4 (see disclaimer)
Throughput Std. Dev
2.5.73 100.0% 0.5%
2.5.73-mm3 102.5% 2.2%
2.5.73-mjb1 132.3% 0.0%

SDET 8 (see disclaimer)
Throughput Std. Dev
2.5.73 100.0% 1.4%
2.5.73-mm3 96.7% 0.7%
2.5.73-mjb1 122.5% 0.3%

SDET 16 (see disclaimer)
Throughput Std. Dev
2.5.73 100.0% 0.5%
2.5.73-mm3 101.8% 0.3%
2.5.73-mjb1 122.3% 0.9%

SDET 32 (see disclaimer)
Throughput Std. Dev
2.5.73 100.0% 0.1%
2.5.73-mm3 103.6% 0.8%
2.5.73-mjb1 123.2% 0.8%

SDET 64 (see disclaimer)
Throughput Std. Dev
2.5.73 100.0% 0.2%
2.5.73-mm3 104.1% 0.2%
2.5.73-mjb1 123.8% 0.1%

SDET 128 (see disclaimer)
Throughput Std. Dev
2.5.73 100.0% 0.2%
2.5.73-mm3 103.5% 0.1%
2.5.73-mjb1 122.6% 0.3%


2003-07-10 01:57:53

by Piet Delaney

[permalink] [raw]
Subject: Re: 2.5.73-mm3 vs. linux-2.5.74-mm1

On Tue, 2003-07-01 at 20:38, Andrew Morton wrote:

I was trying out 2.5.74 and got a compile problem with
kernel/cpu/cpufreq/p4-clockmod.c and the 'current' macro.
------------------------------------------------------------
CC [M] arch/i386/kernel/cpu/cpufreq/p4-clockmod.o
arch/i386/kernel/cpu/cpufreq/p4-clockmod.c: In function
`cpufreq_p4_setdc':
arch/i386/kernel/cpu/cpufreq/p4-clockmod.c:67: incompatible types in
assignment
arch/i386/kernel/cpu/cpufreq/p4-clockmod.c:78: incompatible type for
argument 2 of `set_cpus_allowed'
arch/i386/kernel/cpu/cpufreq/p4-clockmod.c:90: incompatible type for
argument 2 of `set_cpus_allowed'
arch/i386/kernel/cpu/cpufreq/p4-clockmod.c:131: incompatible type for
argument 2 of `set_cpus_allowed'
----------------------------------------------------------------------------
I thought maybe I pulled the 2.5.74-mm1 before it was ready for use.

I'll go back to 2.5.73-mm3; just curious what I did wrong.

-piet

>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.5/2.5.73/2.5.73-mm3/
>
> . The ext2 "free inodes corrupted" problem which Martin saw should be
> fixed.
>
> . The ext3 assertion failure which Maneesh hit should be fixed (I can't
> reproduce this, please retest?)
>
> . A patch from Neil which will hopefully fix the RAID "bio too big" bug.
> Neil cannot reproduce that, so we are asking anyone who _can_ make this
> happen to test this out.
>
> . The weird behaviour with time-n-date on SpeedStep machines should be
> fixed. Some of the weird behaviour, at least.
>
> . A tweak to the oom killer here may cause earlier oom-killings. I was
> able to trigger just the one. Keep an eye on that please.
>
>
> And on a personal note: The OSDL will now be sponsoring my kernel work at
> Digeo. This means that I shall become [email protected]. [email protected] still
> will work. Many thanks to the OSDL and Digeo teams who put this together.
>
>
>
>
>
>
> Changes since 2.5.73-mm2:
>
>
>
> -handle-no-readpage-2.patch
> -pppoe-revert.patch
> -ppc64-fixes-2.patch
> -ppc64-bat-initialisation-fix.patch
> -reiserfs-unmapped-buffer-fix.patch
> -pcmcia-event-20030623-1.patch
> -pcmcia-event-20030623-2.patch
> -pcmcia-event-20030623-3.patch
> -pcmcia-event-20030623-4.patch
> -pcmcia-event-20030623-5.patch
> -pcmcia-event-20030623-6.patch
> -sym2-bus_addr-fix.patch
> -lost-tick-speedstep-fix.patch
> -sym2-remove-broken-bios-check.patch
> -syslog-efault-reporting.patch
> -dvd-ram-rw-fix.patch
> -mixcomwd-update.patch
> -arc-rimi-race-fix.patch
> -slab-drain-all-objects-fix.patch
> -ext3-remove-version.patch
> -cdrom-eject-hang-fix.patch
>
> Merged
>
> -numa-memory-reporting-fix.patch
> +numa-memory-reporting-fix-2.patch
>
> Updated
>
> +ramfs-use-generic_file_llseek.patch
> +inode_change_ok-remove-lock_kernel.patch
> +nommu-vmtruncate-no_lock_kernel.patch
> +proc-lock_kernel-removal.patch
> +fops-flush-no-lock_kernel.patch
> +block_llseek-no-lock_kernel.patch
>
> lock_kernel()ectomy
>
> +intel8x0-cleanup.patch
>
> Small driver cleanup
>
> +TC35815-config-fix.patch
>
> Build fix
>
> +CLONE_DETACHED-exit-fix.patch
>
> Report CLONE_DETACHED threads to gdb
>
> +bio-too-big-fix.patch
>
> Might fix the RAID "bio too big" problems.
>
> -linux-isp.patch
> -isp-update-1.patch
> -isp-remove-pci_detect.patch
> -feral-fix.patch
> +linux-isp-2.patch
>
> Slightly updated feral qlogic driver.
>
> +aio-dio-no-readahead.patch
>
> Don't do readahead for AIO-over-direct-io
>
> +nbd-ioctl-compat.patch
>
> NBD userspace compatibility.
>
> -rename-timer.patch
> +rename-timer-A1.patch
> +lost-tick-speedstep-fix-A1.patch
> +lost-tick-corner-fix-A0.patch
>
> Updated timer patches. Mainly for addressing odd behaviour on SpeedStep
> machines.
>
> -init_timer-debug-trap.patch
>
> Dropped due to lack of interest.
>
> +ext2_new_inode-race-fix.patch
>
> Fix a race which causes ext2 to bogusly claim that the free inodes count
> was corrupted.
>
> +oomkill-if-free-swap.patch
>
> Remove bogus test in the oom-killer.
>
> +exec_mmap-is-the-point-of-no-return.patch
>
> Fix execve() bug
>
> +double-mmdrop-fix.patch
>
> Fix another execve() bug
>
> +cciss-hang-fix.patch
>
> cciss fix
>
> +journal_release_buffer-race-fix.patch
>
> Fix ext3 assertion failure (?)
>
>
>
>
>
> All 133 patches:
>
>
> linus.patch
>
> mm.patch
> add -mmN to EXTRAVERSION
>
> kgdb-ga.patch
> kgdb stub for ia32 (George Anzinger's one)
>
> kgdb-use-ggdb.patch
>
> kgdb-ga-docco-fixes.patch
> kgdb doc. edits/corrections
>
> HZ-100.patch
>
> config_spinline.patch
> uninline spinlocks for profiling accuracy.
>
> ppc64-pci-update.patch
>
> ppc64-reloc_hide.patch
>
> ppc64-semaphore-reimplementation.patch
> ppc64: use the ia32 semaphore implementation
>
> sym-do-160.patch
> make the SYM driver do 160 MB/sec
>
> x86_64-fixes.patch
> x86_64 fixes
>
> irqreturn-snd-via-fix.patch
> via sound irqreturn fix
>
> config-PAGE_OFFSET.patch
> Configurable kenrel/user memory split
>
> lru_cache_add-check.patch
> lru_cache_add debug check
>
> delay-ksoftirqd-fallback.patch
> Try harded in IRQ context before falling back to ksoftirqd
>
> fb-image-depth-fix.patch
> fbdev image depth fix
>
> move_vma-VM_LOCKED-fix.patch
> move_vma() make_pages_present() fix
>
> ds-09-vicam-usercopy-fix.patch
> vicam usercopy fix
>
> buffer-debug.patch
> buffer.c debugging
>
> e100-use-after-free-fix.patch
>
> 3-unmap-page-debugging.patch
> page unmappng debug patch
>
> VM_RESERVED-check.patch
> VM_RESERVED check
>
> ipcsem-speedup.patch
> ipc semaphore optimization
>
> rcu-stats.patch
> RCU statistics reporting
>
> mtrr-hang-fix.patch
> Fix mtrr-related hang
>
> reslabify-pgds-and-pmds.patch
> re-slabify i386 pgd's and pmd's
>
> numa-memory-reporting-fix-2.patch
> NUMA mamory reporting fix
>
> ramfs-use-generic_file_llseek.patch
> ramfs: use ramfs-use-generic_file_llseek
>
> inode_change_ok-remove-lock_kernel.patch
> inode_change_ok(): remove lock_kernel()
>
> nommu-vmtruncate-no_lock_kernel.patch
> nommu vmtruncate: remove lock_kernel()
>
> proc-lock_kernel-removal.patch
> procfs: remove some unneeded lock_kernel()s
>
> fops-flush-no-lock_kernel.patch
> remove lock_kernel() from file_ops.flush()
>
> block_llseek-no-lock_kernel.patch
> block_llseek(): remove lock_kernel()
>
> intel8x0-cleanup.patch
> intel8x0 cleanups
>
> TC35815-config-fix.patch
> Make CONFIG_TC35815 depend on CONFIG_TOSHIBA_JMR3927
>
> CLONE_DETACHED-exit-fix.patch
> Report detached thread exit to the debugger
>
> bio-too-big-fix.patch
> Fix raid "bio too big" failures
>
> linux-isp-2.patch
>
> list_del-debug.patch
> list_del debug check
>
> airo-schedule-fix.patch
> airo.c: don't sleep in atomic regions
>
> resurrect-batch_requests.patch
> bring back the batch_requests function
>
> kblockd.patch
> Create `kblockd' workqueue
>
> cfq-infrastructure.patch
>
> elevator-completion-api.patch
> elevator completion API
>
> as-iosched.patch
> anticipatory I/O scheduler
> AS: pgbench improvement
> AS: discrete read fifo batches
> AS sync/async batches
> AS: hash removal fix
> AS jumbo patch (for SCSI and TCQ)
> AS: fix stupid thinko
> AS: no batch-antic-limit
> AS: autotune write batches
> AS: divide by zero fix
> AS: more HZ != 1000 fixes
> AS: update_write_batch tuning
> AS locking
> AS HZ fixes
>
> as-double-free-and-debug.patch
> AS: fix a leak + more debugging
>
> as-fix-seek-estimation.patch
> AS: maybe repair performance drop of random read O_DIRECT
>
> as-fix-seeky-loads.patch
> AS: fix IBM's seek load
>
> unplug-use-kblockd.patch
> Use kblockd for running request queues
>
> per-queue-nr_requests.patch
> per queue nr_requests
>
> blk-invert-watermarks.patch
> blk_congestion_wait threshold cleanup
>
> blk-as-hint.patch
> blk-as-hint
>
> get_request_wait-oom-fix.patch
> handle OOM in get_request_wait().
>
> blk-fair-batches.patch
> blk-fair-batches
>
> blk-fair-batches-2.patch
> blk fair batches #2
>
> generic-io-contexts.patch
> generic io contexts
>
> blk-request-batching.patch
> block request batching
>
> get_io_context-fix.patch
> get_io_context fixes
>
> blk-allocation-commentary.patch
> block allocation comments
>
> blk-batching-throttle-fix.patch
> blk batch requests fix
>
> blk-batching-cleanups.patch
> block batching cleanups
>
> print-build-options-on-oops.patch
> print a few config options on oops
>
> mmap-prefault.patch
> prefault of executable mmaps
>
> bio-debug-trap.patch
> BIO debugging patch
>
> sound-irq-hack.patch
>
> show_task-free-stack-fix.patch
> show_task() fix and cleanup
>
> put_task_struct-debug.patch
>
> ia32-mknod64.patch
> mknod64 for ia32
>
> ext2-64-bit-special-inodes.patch
> ext2: support for 64-bit device nodes
>
> ext3-64-bit-special-inodes.patch
> ext3: support for 64-bit device nodes
>
> 64-bit-dev_t-kdev_t.patch
> 64-bit dev_t and kdev_t
>
> oops-dump-preceding-code.patch
> i386 oops output: dump preceding code
>
> lockmeter.patch
>
> invalidate_mmap_range.patch
> Interface to invalidate regions of mmaps
>
> aio-mm-refcounting-fix.patch
> fix /proc mm_struct refcounting bug
>
> aio-01-retry.patch
> AIO: Core retry infrastructure
>
> io_submit_one-EINVAL-fix.patch
> Fix aio process hang on EINVAL
>
> aio-02-lockpage_wq.patch
> AIO: Async page wait
>
> aio-03-fs_read.patch
> AIO: Filesystem aio read
>
> aio-04-buffer_wq.patch
> AIO: Async buffer wait
>
> aio-05-fs_write.patch
> AIO: Filesystem aio write
>
> aio-05-fs_write-fix.patch
>
> aio-06-bread_wq.patch
> AIO: Async block read
>
> aio-06-bread_wq-fix.patch
>
> aio-07-ext2getblk_wq.patch
> AIO: Async get block for ext2
>
> O_SYNC-speedup-2.patch
> speed up O_SYNC writes
>
> aio-09-o_sync.patch
> aio O_SYNC
>
> aio-10-BUG-fix.patch
> AIO: fix a BUG
>
> aio-11-workqueue-flush.patch
> AIO: flush workqueues before destroying ioctx'es
>
> aio-12-readahead.patch
> AIO: readahead fixes
>
> aio-dio-no-readahead.patch
> aio O_DIRECT no readahead
>
> lock_buffer_wq-fix.patch
> lock_buffer_wq fix
>
> unuse_mm-locked.patch
> AIO: hold the context lock across unuse_mm
>
> aio-take-task_lock.patch
> From: Suparna Bhattacharya <[email protected]>
> Subject: Re: 2.5.72-mm1 - Under heavy testing with AIO,.. vmstat seems to blow the kernel
>
> vfsmount_lock.patch
> From: Maneesh Soni <[email protected]>
> Subject: [patch 1/2] vfsmount_lock
>
> sched-hot-balancing-fix.patch
> fix for CPU scheduler load distribution
>
> truncate-pagefault-race-fix.patch
> Fix vmtruncate race and distributed filesystem race
>
> truncate-pagefault-race-fix-fix.patch
> Make sure truncate fix has no race
>
> sleepometer.patch
> sleep instrumentation
>
> time-goes-backwards.patch
> demonstrate do_gettimeofday() going backwards
>
> skip-apic-ids-on-boot.patch
> skip apicids on boot
>
> printk-oops-mangle-fix.patch
> disentangle printk's whilst oopsing on SMP
>
> 20-odirect_enable.patch
>
> 21-odirect_cruft.patch
>
> 22-read_proc.patch
>
> 23-write_proc.patch
>
> 24-commit_proc.patch
>
> 25-odirect.patch
>
> nfs-O_DIRECT-always-enabled.patch
> Force CONFIG_NFS_DIRECTIO
>
> seqcount-locking.patch
> i_size atomic access: infrastructure
>
> i_size-atomic-access.patch
> i_size atomic access
>
> aha152x-oops-fix.patch
> aha152X oops fixes
>
> security_vm_enough_memory.patch
> Security hook for vm_enough_memory
>
> nbd-cleanups.patch
> NBD: cosmetic cleanups
>
> nbd-enhanced-diagnostics.patch
> nbd: enhanced diagnostics support
>
> nbd-remove-blksize-bits.patch
> nbd: remove unneeded blksize_bits field
>
> nbd-kobject-oops-fix.patch
> nbd: initialise the embedded kobject
>
> nbd-paranioa-cleanups.patch
> nbd: cleanup PARANOIA usage & code
>
> nbd-locking-fixes.patch
> nbd: fix locking issues with ioctl UI
>
> nbd-ioctl-compat.patch
> nbd: add compatibility with previous ioctl user interface
>
> rename-timer-A1.patch
> timer renaming and cleanups
>
> lost-tick-speedstep-fix-A1.patch
> fix lost_tick detector for speedstep
>
> lost-tick-corner-fix-A0.patch
> fix lost-tick compensation corner-case
>
> lowmem_page_address-cleanup.patch
> cleanup and generalise lowmem_page_address
>
> acpismp-fix.patch
> ACPI_HT_ONLY acpismp=force
>
> div64-cleanup.patch
> Kill div64.h dupes and parenthesize do_div() parameters
>
> ext2_new_inode-race-fix.patch
> ext2: inode allocation race fix
>
> oomkill-if-free-swap.patch
> Don't skip oomkilling if there's free swap
>
> exec_mmap-is-the-point-of-no-return.patch
> after exec_mmap(), exec cannot fail
>
> double-mmdrop-fix.patch
> fix double mmdrop() on exec path
>
> cciss-hang-fix.patch
> cciss: fix io hang
>
> journal_release_buffer-race-fix.patch
> ext3: fix journal_release_buffer() race
>
>
>
> -
> 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/
--
piet@http://www.piet.net

2003-07-10 02:17:53

by Piet Delaney

[permalink] [raw]
Subject: Re: 2.5.73-mm3 vs. linux-2.5.74-mm1

On Wed, 2003-07-09 at 19:11, Piet Delaney wrote:
> On Tue, 2003-07-01 at 20:38, Andrew Morton wrote:
>
> I was trying out 2.5.74 and got a compile problem with
> kernel/cpu/cpufreq/p4-clockmod.c and the 'current' macro.

Looks like:

53 static int cpufreq_p4_setdc(unsigned int cpu, unsigned int
newstate)
54 {
55 u32 l, h;
56 unsigned long cpus_allowed;

the decl for cpus_allowed should be cpumask_t and the array has to be
copied at places like:

66 /* switch to physical CPU where state is to be changed*/
67 cpus_allowed = current->cpus_allowed;

I'll try 2.5.74-mm3...

-piet


> ------------------------------------------------------------
> CC [M] arch/i386/kernel/cpu/cpufreq/p4-clockmod.o
> arch/i386/kernel/cpu/cpufreq/p4-clockmod.c: In function
> `cpufreq_p4_setdc':
> arch/i386/kernel/cpu/cpufreq/p4-clockmod.c:67: incompatible types in
> assignment
> arch/i386/kernel/cpu/cpufreq/p4-clockmod.c:78: incompatible type for
> argument 2 of `set_cpus_allowed'
> arch/i386/kernel/cpu/cpufreq/p4-clockmod.c:90: incompatible type for
> argument 2 of `set_cpus_allowed'
> arch/i386/kernel/cpu/cpufreq/p4-clockmod.c:131: incompatible type for
> argument 2 of `set_cpus_allowed'
> ----------------------------------------------------------------------------
> I thought maybe I pulled the 2.5.74-mm1 before it was ready for use.
>
> I'll go back to 2.5.73-mm3; just curious what I did wrong.
>
> -piet
>
> >
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.5/2.5.73/2.5.73-mm3/
> >
> > . The ext2 "free inodes corrupted" problem which Martin saw should be
> > fixed.
> >
> > . The ext3 assertion failure which Maneesh hit should be fixed (I can't
> > reproduce this, please retest?)
> >
> > . A patch from Neil which will hopefully fix the RAID "bio too big" bug.
> > Neil cannot reproduce that, so we are asking anyone who _can_ make this
> > happen to test this out.
> >
> > . The weird behaviour with time-n-date on SpeedStep machines should be
> > fixed. Some of the weird behaviour, at least.
> >
> > . A tweak to the oom killer here may cause earlier oom-killings. I was
> > able to trigger just the one. Keep an eye on that please.
> >
> >
> > And on a personal note: The OSDL will now be sponsoring my kernel work at
> > Digeo. This means that I shall become [email protected]. [email protected] still
> > will work. Many thanks to the OSDL and Digeo teams who put this together.
> >
> >
> >
> >
> >
> >
> > Changes since 2.5.73-mm2:
> >
> >
> >
> > -handle-no-readpage-2.patch
> > -pppoe-revert.patch
> > -ppc64-fixes-2.patch
> > -ppc64-bat-initialisation-fix.patch
> > -reiserfs-unmapped-buffer-fix.patch
> > -pcmcia-event-20030623-1.patch
> > -pcmcia-event-20030623-2.patch
> > -pcmcia-event-20030623-3.patch
> > -pcmcia-event-20030623-4.patch
> > -pcmcia-event-20030623-5.patch
> > -pcmcia-event-20030623-6.patch
> > -sym2-bus_addr-fix.patch
> > -lost-tick-speedstep-fix.patch
> > -sym2-remove-broken-bios-check.patch
> > -syslog-efault-reporting.patch
> > -dvd-ram-rw-fix.patch
> > -mixcomwd-update.patch
> > -arc-rimi-race-fix.patch
> > -slab-drain-all-objects-fix.patch
> > -ext3-remove-version.patch
> > -cdrom-eject-hang-fix.patch
> >
> > Merged
> >
> > -numa-memory-reporting-fix.patch
> > +numa-memory-reporting-fix-2.patch
> >
> > Updated
> >
> > +ramfs-use-generic_file_llseek.patch
> > +inode_change_ok-remove-lock_kernel.patch
> > +nommu-vmtruncate-no_lock_kernel.patch
> > +proc-lock_kernel-removal.patch
> > +fops-flush-no-lock_kernel.patch
> > +block_llseek-no-lock_kernel.patch
> >
> > lock_kernel()ectomy
> >
> > +intel8x0-cleanup.patch
> >
> > Small driver cleanup
> >
> > +TC35815-config-fix.patch
> >
> > Build fix
> >
> > +CLONE_DETACHED-exit-fix.patch
> >
> > Report CLONE_DETACHED threads to gdb
> >
> > +bio-too-big-fix.patch
> >
> > Might fix the RAID "bio too big" problems.
> >
> > -linux-isp.patch
> > -isp-update-1.patch
> > -isp-remove-pci_detect.patch
> > -feral-fix.patch
> > +linux-isp-2.patch
> >
> > Slightly updated feral qlogic driver.
> >
> > +aio-dio-no-readahead.patch
> >
> > Don't do readahead for AIO-over-direct-io
> >
> > +nbd-ioctl-compat.patch
> >
> > NBD userspace compatibility.
> >
> > -rename-timer.patch
> > +rename-timer-A1.patch
> > +lost-tick-speedstep-fix-A1.patch
> > +lost-tick-corner-fix-A0.patch
> >
> > Updated timer patches. Mainly for addressing odd behaviour on SpeedStep
> > machines.
> >
> > -init_timer-debug-trap.patch
> >
> > Dropped due to lack of interest.
> >
> > +ext2_new_inode-race-fix.patch
> >
> > Fix a race which causes ext2 to bogusly claim that the free inodes count
> > was corrupted.
> >
> > +oomkill-if-free-swap.patch
> >
> > Remove bogus test in the oom-killer.
> >
> > +exec_mmap-is-the-point-of-no-return.patch
> >
> > Fix execve() bug
> >
> > +double-mmdrop-fix.patch
> >
> > Fix another execve() bug
> >
> > +cciss-hang-fix.patch
> >
> > cciss fix
> >
> > +journal_release_buffer-race-fix.patch
> >
> > Fix ext3 assertion failure (?)
> >
> >
> >
> >
> >
> > All 133 patches:
> >
> >
> > linus.patch
> >
> > mm.patch
> > add -mmN to EXTRAVERSION
> >
> > kgdb-ga.patch
> > kgdb stub for ia32 (George Anzinger's one)
> >
> > kgdb-use-ggdb.patch
> >
> > kgdb-ga-docco-fixes.patch
> > kgdb doc. edits/corrections
> >
> > HZ-100.patch
> >
> > config_spinline.patch
> > uninline spinlocks for profiling accuracy.
> >
> > ppc64-pci-update.patch
> >
> > ppc64-reloc_hide.patch
> >
> > ppc64-semaphore-reimplementation.patch
> > ppc64: use the ia32 semaphore implementation
> >
> > sym-do-160.patch
> > make the SYM driver do 160 MB/sec
> >
> > x86_64-fixes.patch
> > x86_64 fixes
> >
> > irqreturn-snd-via-fix.patch
> > via sound irqreturn fix
> >
> > config-PAGE_OFFSET.patch
> > Configurable kenrel/user memory split
> >
> > lru_cache_add-check.patch
> > lru_cache_add debug check
> >
> > delay-ksoftirqd-fallback.patch
> > Try harded in IRQ context before falling back to ksoftirqd
> >
> > fb-image-depth-fix.patch
> > fbdev image depth fix
> >
> > move_vma-VM_LOCKED-fix.patch
> > move_vma() make_pages_present() fix
> >
> > ds-09-vicam-usercopy-fix.patch
> > vicam usercopy fix
> >
> > buffer-debug.patch
> > buffer.c debugging
> >
> > e100-use-after-free-fix.patch
> >
> > 3-unmap-page-debugging.patch
> > page unmappng debug patch
> >
> > VM_RESERVED-check.patch
> > VM_RESERVED check
> >
> > ipcsem-speedup.patch
> > ipc semaphore optimization
> >
> > rcu-stats.patch
> > RCU statistics reporting
> >
> > mtrr-hang-fix.patch
> > Fix mtrr-related hang
> >
> > reslabify-pgds-and-pmds.patch
> > re-slabify i386 pgd's and pmd's
> >
> > numa-memory-reporting-fix-2.patch
> > NUMA mamory reporting fix
> >
> > ramfs-use-generic_file_llseek.patch
> > ramfs: use ramfs-use-generic_file_llseek
> >
> > inode_change_ok-remove-lock_kernel.patch
> > inode_change_ok(): remove lock_kernel()
> >
> > nommu-vmtruncate-no_lock_kernel.patch
> > nommu vmtruncate: remove lock_kernel()
> >
> > proc-lock_kernel-removal.patch
> > procfs: remove some unneeded lock_kernel()s
> >
> > fops-flush-no-lock_kernel.patch
> > remove lock_kernel() from file_ops.flush()
> >
> > block_llseek-no-lock_kernel.patch
> > block_llseek(): remove lock_kernel()
> >
> > intel8x0-cleanup.patch
> > intel8x0 cleanups
> >
> > TC35815-config-fix.patch
> > Make CONFIG_TC35815 depend on CONFIG_TOSHIBA_JMR3927
> >
> > CLONE_DETACHED-exit-fix.patch
> > Report detached thread exit to the debugger
> >
> > bio-too-big-fix.patch
> > Fix raid "bio too big" failures
> >
> > linux-isp-2.patch
> >
> > list_del-debug.patch
> > list_del debug check
> >
> > airo-schedule-fix.patch
> > airo.c: don't sleep in atomic regions
> >
> > resurrect-batch_requests.patch
> > bring back the batch_requests function
> >
> > kblockd.patch
> > Create `kblockd' workqueue
> >
> > cfq-infrastructure.patch
> >
> > elevator-completion-api.patch
> > elevator completion API
> >
> > as-iosched.patch
> > anticipatory I/O scheduler
> > AS: pgbench improvement
> > AS: discrete read fifo batches
> > AS sync/async batches
> > AS: hash removal fix
> > AS jumbo patch (for SCSI and TCQ)
> > AS: fix stupid thinko
> > AS: no batch-antic-limit
> > AS: autotune write batches
> > AS: divide by zero fix
> > AS: more HZ != 1000 fixes
> > AS: update_write_batch tuning
> > AS locking
> > AS HZ fixes
> >
> > as-double-free-and-debug.patch
> > AS: fix a leak + more debugging
> >
> > as-fix-seek-estimation.patch
> > AS: maybe repair performance drop of random read O_DIRECT
> >
> > as-fix-seeky-loads.patch
> > AS: fix IBM's seek load
> >
> > unplug-use-kblockd.patch
> > Use kblockd for running request queues
> >
> > per-queue-nr_requests.patch
> > per queue nr_requests
> >
> > blk-invert-watermarks.patch
> > blk_congestion_wait threshold cleanup
> >
> > blk-as-hint.patch
> > blk-as-hint
> >
> > get_request_wait-oom-fix.patch
> > handle OOM in get_request_wait().
> >
> > blk-fair-batches.patch
> > blk-fair-batches
> >
> > blk-fair-batches-2.patch
> > blk fair batches #2
> >
> > generic-io-contexts.patch
> > generic io contexts
> >
> > blk-request-batching.patch
> > block request batching
> >
> > get_io_context-fix.patch
> > get_io_context fixes
> >
> > blk-allocation-commentary.patch
> > block allocation comments
> >
> > blk-batching-throttle-fix.patch
> > blk batch requests fix
> >
> > blk-batching-cleanups.patch
> > block batching cleanups
> >
> > print-build-options-on-oops.patch
> > print a few config options on oops
> >
> > mmap-prefault.patch
> > prefault of executable mmaps
> >
> > bio-debug-trap.patch
> > BIO debugging patch
> >
> > sound-irq-hack.patch
> >
> > show_task-free-stack-fix.patch
> > show_task() fix and cleanup
> >
> > put_task_struct-debug.patch
> >
> > ia32-mknod64.patch
> > mknod64 for ia32
> >
> > ext2-64-bit-special-inodes.patch
> > ext2: support for 64-bit device nodes
> >
> > ext3-64-bit-special-inodes.patch
> > ext3: support for 64-bit device nodes
> >
> > 64-bit-dev_t-kdev_t.patch
> > 64-bit dev_t and kdev_t
> >
> > oops-dump-preceding-code.patch
> > i386 oops output: dump preceding code
> >
> > lockmeter.patch
> >
> > invalidate_mmap_range.patch
> > Interface to invalidate regions of mmaps
> >
> > aio-mm-refcounting-fix.patch
> > fix /proc mm_struct refcounting bug
> >
> > aio-01-retry.patch
> > AIO: Core retry infrastructure
> >
> > io_submit_one-EINVAL-fix.patch
> > Fix aio process hang on EINVAL
> >
> > aio-02-lockpage_wq.patch
> > AIO: Async page wait
> >
> > aio-03-fs_read.patch
> > AIO: Filesystem aio read
> >
> > aio-04-buffer_wq.patch
> > AIO: Async buffer wait
> >
> > aio-05-fs_write.patch
> > AIO: Filesystem aio write
> >
> > aio-05-fs_write-fix.patch
> >
> > aio-06-bread_wq.patch
> > AIO: Async block read
> >
> > aio-06-bread_wq-fix.patch
> >
> > aio-07-ext2getblk_wq.patch
> > AIO: Async get block for ext2
> >
> > O_SYNC-speedup-2.patch
> > speed up O_SYNC writes
> >
> > aio-09-o_sync.patch
> > aio O_SYNC
> >
> > aio-10-BUG-fix.patch
> > AIO: fix a BUG
> >
> > aio-11-workqueue-flush.patch
> > AIO: flush workqueues before destroying ioctx'es
> >
> > aio-12-readahead.patch
> > AIO: readahead fixes
> >
> > aio-dio-no-readahead.patch
> > aio O_DIRECT no readahead
> >
> > lock_buffer_wq-fix.patch
> > lock_buffer_wq fix
> >
> > unuse_mm-locked.patch
> > AIO: hold the context lock across unuse_mm
> >
> > aio-take-task_lock.patch
> > From: Suparna Bhattacharya <[email protected]>
> > Subject: Re: 2.5.72-mm1 - Under heavy testing with AIO,.. vmstat seems to blow the kernel
> >
> > vfsmount_lock.patch
> > From: Maneesh Soni <[email protected]>
> > Subject: [patch 1/2] vfsmount_lock
> >
> > sched-hot-balancing-fix.patch
> > fix for CPU scheduler load distribution
> >
> > truncate-pagefault-race-fix.patch
> > Fix vmtruncate race and distributed filesystem race
> >
> > truncate-pagefault-race-fix-fix.patch
> > Make sure truncate fix has no race
> >
> > sleepometer.patch
> > sleep instrumentation
> >
> > time-goes-backwards.patch
> > demonstrate do_gettimeofday() going backwards
> >
> > skip-apic-ids-on-boot.patch
> > skip apicids on boot
> >
> > printk-oops-mangle-fix.patch
> > disentangle printk's whilst oopsing on SMP
> >
> > 20-odirect_enable.patch
> >
> > 21-odirect_cruft.patch
> >
> > 22-read_proc.patch
> >
> > 23-write_proc.patch
> >
> > 24-commit_proc.patch
> >
> > 25-odirect.patch
> >
> > nfs-O_DIRECT-always-enabled.patch
> > Force CONFIG_NFS_DIRECTIO
> >
> > seqcount-locking.patch
> > i_size atomic access: infrastructure
> >
> > i_size-atomic-access.patch
> > i_size atomic access
> >
> > aha152x-oops-fix.patch
> > aha152X oops fixes
> >
> > security_vm_enough_memory.patch
> > Security hook for vm_enough_memory
> >
> > nbd-cleanups.patch
> > NBD: cosmetic cleanups
> >
> > nbd-enhanced-diagnostics.patch
> > nbd: enhanced diagnostics support
> >
> > nbd-remove-blksize-bits.patch
> > nbd: remove unneeded blksize_bits field
> >
> > nbd-kobject-oops-fix.patch
> > nbd: initialise the embedded kobject
> >
> > nbd-paranioa-cleanups.patch
> > nbd: cleanup PARANOIA usage & code
> >
> > nbd-locking-fixes.patch
> > nbd: fix locking issues with ioctl UI
> >
> > nbd-ioctl-compat.patch
> > nbd: add compatibility with previous ioctl user interface
> >
> > rename-timer-A1.patch
> > timer renaming and cleanups
> >
> > lost-tick-speedstep-fix-A1.patch
> > fix lost_tick detector for speedstep
> >
> > lost-tick-corner-fix-A0.patch
> > fix lost-tick compensation corner-case
> >
> > lowmem_page_address-cleanup.patch
> > cleanup and generalise lowmem_page_address
> >
> > acpismp-fix.patch
> > ACPI_HT_ONLY acpismp=force
> >
> > div64-cleanup.patch
> > Kill div64.h dupes and parenthesize do_div() parameters
> >
> > ext2_new_inode-race-fix.patch
> > ext2: inode allocation race fix
> >
> > oomkill-if-free-swap.patch
> > Don't skip oomkilling if there's free swap
> >
> > exec_mmap-is-the-point-of-no-return.patch
> > after exec_mmap(), exec cannot fail
> >
> > double-mmdrop-fix.patch
> > fix double mmdrop() on exec path
> >
> > cciss-hang-fix.patch
> > cciss: fix io hang
> >
> > journal_release_buffer-race-fix.patch
> > ext3: fix journal_release_buffer() race
> >
> >
> >
> > -
> > 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/
> --
> piet@http://www.piet.net
>
> -
> 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/
--
piet@http://www.piet.net

2003-07-10 02:58:56

by Piet Delaney

[permalink] [raw]
Subject: Re: 2.5.73-mm3 vs. linux-2.5.74-mm1

On Wed, 2003-07-09 at 19:32, Piet Delaney wrote:
...

> I'll try 2.5.74-mm3...

I tried 2.5.74-mm3 and had a problem with apm_save_cpus()
definition returning a 0. This isn't a pointer to an array.
Perhaps something like this would be better in arch/i386/kernel/apm.c:

527 /*
528 * No CPU lockdown needed on a uniprocessor
529 *
530 * #define apm_save_cpus() 0 Need ptr to array
531 */
532 static cpumask_t apm_save_cpus(void)
533 {
534 cpumask_t x = current->cpus_allowed;
535 return x;
536 }

It gets around the compile problem.
-piet

>
> -piet
>
>
> > ------------------------------------------------------------
> > CC [M] arch/i386/kernel/cpu/cpufreq/p4-clockmod.o
> > arch/i386/kernel/cpu/cpufreq/p4-clockmod.c: In function
> > `cpufreq_p4_setdc':
> > arch/i386/kernel/cpu/cpufreq/p4-clockmod.c:67: incompatible types in
> > assignment
> > arch/i386/kernel/cpu/cpufreq/p4-clockmod.c:78: incompatible type for
> > argument 2 of `set_cpus_allowed'
> > arch/i386/kernel/cpu/cpufreq/p4-clockmod.c:90: incompatible type for
> > argument 2 of `set_cpus_allowed'
> > arch/i386/kernel/cpu/cpufreq/p4-clockmod.c:131: incompatible type for
> > argument 2 of `set_cpus_allowed'
> > ----------------------------------------------------------------------------
> > I thought maybe I pulled the 2.5.74-mm1 before it was ready for use.
> >
> > I'll go back to 2.5.73-mm3; just curious what I did wrong.
> >
> > -piet
> >
> > >
> > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.5/2.5.73/2.5.73-mm3/
> > >
> > > . The ext2 "free inodes corrupted" problem which Martin saw should be
> > > fixed.
> > >
> > > . The ext3 assertion failure which Maneesh hit should be fixed (I can't
> > > reproduce this, please retest?)
> > >
> > > . A patch from Neil which will hopefully fix the RAID "bio too big" bug.
> > > Neil cannot reproduce that, so we are asking anyone who _can_ make this
> > > happen to test this out.
> > >
> > > . The weird behaviour with time-n-date on SpeedStep machines should be
> > > fixed. Some of the weird behaviour, at least.
> > >
> > > . A tweak to the oom killer here may cause earlier oom-killings. I was
> > > able to trigger just the one. Keep an eye on that please.
> > >
> > >
> > > And on a personal note: The OSDL will now be sponsoring my kernel work at
> > > Digeo. This means that I shall become [email protected]. [email protected] still
> > > will work. Many thanks to the OSDL and Digeo teams who put this together.
> > >
> > >
> > >
> > >
> > >
> > >
> > > Changes since 2.5.73-mm2:
> > >
> > >
> > >
> > > -handle-no-readpage-2.patch
> > > -pppoe-revert.patch
> > > -ppc64-fixes-2.patch
> > > -ppc64-bat-initialisation-fix.patch
> > > -reiserfs-unmapped-buffer-fix.patch
> > > -pcmcia-event-20030623-1.patch
> > > -pcmcia-event-20030623-2.patch
> > > -pcmcia-event-20030623-3.patch
> > > -pcmcia-event-20030623-4.patch
> > > -pcmcia-event-20030623-5.patch
> > > -pcmcia-event-20030623-6.patch
> > > -sym2-bus_addr-fix.patch
> > > -lost-tick-speedstep-fix.patch
> > > -sym2-remove-broken-bios-check.patch
> > > -syslog-efault-reporting.patch
> > > -dvd-ram-rw-fix.patch
> > > -mixcomwd-update.patch
> > > -arc-rimi-race-fix.patch
> > > -slab-drain-all-objects-fix.patch
> > > -ext3-remove-version.patch
> > > -cdrom-eject-hang-fix.patch
> > >
> > > Merged
> > >
> > > -numa-memory-reporting-fix.patch
> > > +numa-memory-reporting-fix-2.patch
> > >
> > > Updated
> > >
> > > +ramfs-use-generic_file_llseek.patch
> > > +inode_change_ok-remove-lock_kernel.patch
> > > +nommu-vmtruncate-no_lock_kernel.patch
> > > +proc-lock_kernel-removal.patch
> > > +fops-flush-no-lock_kernel.patch
> > > +block_llseek-no-lock_kernel.patch
> > >
> > > lock_kernel()ectomy
> > >
> > > +intel8x0-cleanup.patch
> > >
> > > Small driver cleanup
> > >
> > > +TC35815-config-fix.patch
> > >
> > > Build fix
> > >
> > > +CLONE_DETACHED-exit-fix.patch
> > >
> > > Report CLONE_DETACHED threads to gdb
> > >
> > > +bio-too-big-fix.patch
> > >
> > > Might fix the RAID "bio too big" problems.
> > >
> > > -linux-isp.patch
> > > -isp-update-1.patch
> > > -isp-remove-pci_detect.patch
> > > -feral-fix.patch
> > > +linux-isp-2.patch
> > >
> > > Slightly updated feral qlogic driver.
> > >
> > > +aio-dio-no-readahead.patch
> > >
> > > Don't do readahead for AIO-over-direct-io
> > >
> > > +nbd-ioctl-compat.patch
> > >
> > > NBD userspace compatibility.
> > >
> > > -rename-timer.patch
> > > +rename-timer-A1.patch
> > > +lost-tick-speedstep-fix-A1.patch
> > > +lost-tick-corner-fix-A0.patch
> > >
> > > Updated timer patches. Mainly for addressing odd behaviour on SpeedStep
> > > machines.
> > >
> > > -init_timer-debug-trap.patch
> > >
> > > Dropped due to lack of interest.
> > >
> > > +ext2_new_inode-race-fix.patch
> > >
> > > Fix a race which causes ext2 to bogusly claim that the free inodes count
> > > was corrupted.
> > >
> > > +oomkill-if-free-swap.patch
> > >
> > > Remove bogus test in the oom-killer.
> > >
> > > +exec_mmap-is-the-point-of-no-return.patch
> > >
> > > Fix execve() bug
> > >
> > > +double-mmdrop-fix.patch
> > >
> > > Fix another execve() bug
> > >
> > > +cciss-hang-fix.patch
> > >
> > > cciss fix
> > >
> > > +journal_release_buffer-race-fix.patch
> > >
> > > Fix ext3 assertion failure (?)
> > >
> > >
> > >
> > >
> > >
> > > All 133 patches:
> > >
> > >
> > > linus.patch
> > >
> > > mm.patch
> > > add -mmN to EXTRAVERSION
> > >
> > > kgdb-ga.patch
> > > kgdb stub for ia32 (George Anzinger's one)
> > >
> > > kgdb-use-ggdb.patch
> > >
> > > kgdb-ga-docco-fixes.patch
> > > kgdb doc. edits/corrections
> > >
> > > HZ-100.patch
> > >
> > > config_spinline.patch
> > > uninline spinlocks for profiling accuracy.
> > >
> > > ppc64-pci-update.patch
> > >
> > > ppc64-reloc_hide.patch
> > >
> > > ppc64-semaphore-reimplementation.patch
> > > ppc64: use the ia32 semaphore implementation
> > >
> > > sym-do-160.patch
> > > make the SYM driver do 160 MB/sec
> > >
> > > x86_64-fixes.patch
> > > x86_64 fixes
> > >
> > > irqreturn-snd-via-fix.patch
> > > via sound irqreturn fix
> > >
> > > config-PAGE_OFFSET.patch
> > > Configurable kenrel/user memory split
> > >
> > > lru_cache_add-check.patch
> > > lru_cache_add debug check
> > >
> > > delay-ksoftirqd-fallback.patch
> > > Try harded in IRQ context before falling back to ksoftirqd
> > >
> > > fb-image-depth-fix.patch
> > > fbdev image depth fix
> > >
> > > move_vma-VM_LOCKED-fix.patch
> > > move_vma() make_pages_present() fix
> > >
> > > ds-09-vicam-usercopy-fix.patch
> > > vicam usercopy fix
> > >
> > > buffer-debug.patch
> > > buffer.c debugging
> > >
> > > e100-use-after-free-fix.patch
> > >
> > > 3-unmap-page-debugging.patch
> > > page unmappng debug patch
> > >
> > > VM_RESERVED-check.patch
> > > VM_RESERVED check
> > >
> > > ipcsem-speedup.patch
> > > ipc semaphore optimization
> > >
> > > rcu-stats.patch
> > > RCU statistics reporting
> > >
> > > mtrr-hang-fix.patch
> > > Fix mtrr-related hang
> > >
> > > reslabify-pgds-and-pmds.patch
> > > re-slabify i386 pgd's and pmd's
> > >
> > > numa-memory-reporting-fix-2.patch
> > > NUMA mamory reporting fix
> > >
> > > ramfs-use-generic_file_llseek.patch
> > > ramfs: use ramfs-use-generic_file_llseek
> > >
> > > inode_change_ok-remove-lock_kernel.patch
> > > inode_change_ok(): remove lock_kernel()
> > >
> > > nommu-vmtruncate-no_lock_kernel.patch
> > > nommu vmtruncate: remove lock_kernel()
> > >
> > > proc-lock_kernel-removal.patch
> > > procfs: remove some unneeded lock_kernel()s
> > >
> > > fops-flush-no-lock_kernel.patch
> > > remove lock_kernel() from file_ops.flush()
> > >
> > > block_llseek-no-lock_kernel.patch
> > > block_llseek(): remove lock_kernel()
> > >
> > > intel8x0-cleanup.patch
> > > intel8x0 cleanups
> > >
> > > TC35815-config-fix.patch
> > > Make CONFIG_TC35815 depend on CONFIG_TOSHIBA_JMR3927
> > >
> > > CLONE_DETACHED-exit-fix.patch
> > > Report detached thread exit to the debugger
> > >
> > > bio-too-big-fix.patch
> > > Fix raid "bio too big" failures
> > >
> > > linux-isp-2.patch
> > >
> > > list_del-debug.patch
> > > list_del debug check
> > >
> > > airo-schedule-fix.patch
> > > airo.c: don't sleep in atomic regions
> > >
> > > resurrect-batch_requests.patch
> > > bring back the batch_requests function
> > >
> > > kblockd.patch
> > > Create `kblockd' workqueue
> > >
> > > cfq-infrastructure.patch
> > >
> > > elevator-completion-api.patch
> > > elevator completion API
> > >
> > > as-iosched.patch
> > > anticipatory I/O scheduler
> > > AS: pgbench improvement
> > > AS: discrete read fifo batches
> > > AS sync/async batches
> > > AS: hash removal fix
> > > AS jumbo patch (for SCSI and TCQ)
> > > AS: fix stupid thinko
> > > AS: no batch-antic-limit
> > > AS: autotune write batches
> > > AS: divide by zero fix
> > > AS: more HZ != 1000 fixes
> > > AS: update_write_batch tuning
> > > AS locking
> > > AS HZ fixes
> > >
> > > as-double-free-and-debug.patch
> > > AS: fix a leak + more debugging
> > >
> > > as-fix-seek-estimation.patch
> > > AS: maybe repair performance drop of random read O_DIRECT
> > >
> > > as-fix-seeky-loads.patch
> > > AS: fix IBM's seek load
> > >
> > > unplug-use-kblockd.patch
> > > Use kblockd for running request queues
> > >
> > > per-queue-nr_requests.patch
> > > per queue nr_requests
> > >
> > > blk-invert-watermarks.patch
> > > blk_congestion_wait threshold cleanup
> > >
> > > blk-as-hint.patch
> > > blk-as-hint
> > >
> > > get_request_wait-oom-fix.patch
> > > handle OOM in get_request_wait().
> > >
> > > blk-fair-batches.patch
> > > blk-fair-batches
> > >
> > > blk-fair-batches-2.patch
> > > blk fair batches #2
> > >
> > > generic-io-contexts.patch
> > > generic io contexts
> > >
> > > blk-request-batching.patch
> > > block request batching
> > >
> > > get_io_context-fix.patch
> > > get_io_context fixes
> > >
> > > blk-allocation-commentary.patch
> > > block allocation comments
> > >
> > > blk-batching-throttle-fix.patch
> > > blk batch requests fix
> > >
> > > blk-batching-cleanups.patch
> > > block batching cleanups
> > >
> > > print-build-options-on-oops.patch
> > > print a few config options on oops
> > >
> > > mmap-prefault.patch
> > > prefault of executable mmaps
> > >
> > > bio-debug-trap.patch
> > > BIO debugging patch
> > >
> > > sound-irq-hack.patch
> > >
> > > show_task-free-stack-fix.patch
> > > show_task() fix and cleanup
> > >
> > > put_task_struct-debug.patch
> > >
> > > ia32-mknod64.patch
> > > mknod64 for ia32
> > >
> > > ext2-64-bit-special-inodes.patch
> > > ext2: support for 64-bit device nodes
> > >
> > > ext3-64-bit-special-inodes.patch
> > > ext3: support for 64-bit device nodes
> > >
> > > 64-bit-dev_t-kdev_t.patch
> > > 64-bit dev_t and kdev_t
> > >
> > > oops-dump-preceding-code.patch
> > > i386 oops output: dump preceding code
> > >
> > > lockmeter.patch
> > >
> > > invalidate_mmap_range.patch
> > > Interface to invalidate regions of mmaps
> > >
> > > aio-mm-refcounting-fix.patch
> > > fix /proc mm_struct refcounting bug
> > >
> > > aio-01-retry.patch
> > > AIO: Core retry infrastructure
> > >
> > > io_submit_one-EINVAL-fix.patch
> > > Fix aio process hang on EINVAL
> > >
> > > aio-02-lockpage_wq.patch
> > > AIO: Async page wait
> > >
> > > aio-03-fs_read.patch
> > > AIO: Filesystem aio read
> > >
> > > aio-04-buffer_wq.patch
> > > AIO: Async buffer wait
> > >
> > > aio-05-fs_write.patch
> > > AIO: Filesystem aio write
> > >
> > > aio-05-fs_write-fix.patch
> > >
> > > aio-06-bread_wq.patch
> > > AIO: Async block read
> > >
> > > aio-06-bread_wq-fix.patch
> > >
> > > aio-07-ext2getblk_wq.patch
> > > AIO: Async get block for ext2
> > >
> > > O_SYNC-speedup-2.patch
> > > speed up O_SYNC writes
> > >
> > > aio-09-o_sync.patch
> > > aio O_SYNC
> > >
> > > aio-10-BUG-fix.patch
> > > AIO: fix a BUG
> > >
> > > aio-11-workqueue-flush.patch
> > > AIO: flush workqueues before destroying ioctx'es
> > >
> > > aio-12-readahead.patch
> > > AIO: readahead fixes
> > >
> > > aio-dio-no-readahead.patch
> > > aio O_DIRECT no readahead
> > >
> > > lock_buffer_wq-fix.patch
> > > lock_buffer_wq fix
> > >
> > > unuse_mm-locked.patch
> > > AIO: hold the context lock across unuse_mm
> > >
> > > aio-take-task_lock.patch
> > > From: Suparna Bhattacharya <[email protected]>
> > > Subject: Re: 2.5.72-mm1 - Under heavy testing with AIO,.. vmstat seems to blow the kernel
> > >
> > > vfsmount_lock.patch
> > > From: Maneesh Soni <[email protected]>
> > > Subject: [patch 1/2] vfsmount_lock
> > >
> > > sched-hot-balancing-fix.patch
> > > fix for CPU scheduler load distribution
> > >
> > > truncate-pagefault-race-fix.patch
> > > Fix vmtruncate race and distributed filesystem race
> > >
> > > truncate-pagefault-race-fix-fix.patch
> > > Make sure truncate fix has no race
> > >
> > > sleepometer.patch
> > > sleep instrumentation
> > >
> > > time-goes-backwards.patch
> > > demonstrate do_gettimeofday() going backwards
> > >
> > > skip-apic-ids-on-boot.patch
> > > skip apicids on boot
> > >
> > > printk-oops-mangle-fix.patch
> > > disentangle printk's whilst oopsing on SMP
> > >
> > > 20-odirect_enable.patch
> > >
> > > 21-odirect_cruft.patch
> > >
> > > 22-read_proc.patch
> > >
> > > 23-write_proc.patch
> > >
> > > 24-commit_proc.patch
> > >
> > > 25-odirect.patch
> > >
> > > nfs-O_DIRECT-always-enabled.patch
> > > Force CONFIG_NFS_DIRECTIO
> > >
> > > seqcount-locking.patch
> > > i_size atomic access: infrastructure
> > >
> > > i_size-atomic-access.patch
> > > i_size atomic access
> > >
> > > aha152x-oops-fix.patch
> > > aha152X oops fixes
> > >
> > > security_vm_enough_memory.patch
> > > Security hook for vm_enough_memory
> > >
> > > nbd-cleanups.patch
> > > NBD: cosmetic cleanups
> > >
> > > nbd-enhanced-diagnostics.patch
> > > nbd: enhanced diagnostics support
> > >
> > > nbd-remove-blksize-bits.patch
> > > nbd: remove unneeded blksize_bits field
> > >
> > > nbd-kobject-oops-fix.patch
> > > nbd: initialise the embedded kobject
> > >
> > > nbd-paranioa-cleanups.patch
> > > nbd: cleanup PARANOIA usage & code
> > >
> > > nbd-locking-fixes.patch
> > > nbd: fix locking issues with ioctl UI
> > >
> > > nbd-ioctl-compat.patch
> > > nbd: add compatibility with previous ioctl user interface
> > >
> > > rename-timer-A1.patch
> > > timer renaming and cleanups
> > >
> > > lost-tick-speedstep-fix-A1.patch
> > > fix lost_tick detector for speedstep
> > >
> > > lost-tick-corner-fix-A0.patch
> > > fix lost-tick compensation corner-case
> > >
> > > lowmem_page_address-cleanup.patch
> > > cleanup and generalise lowmem_page_address
> > >
> > > acpismp-fix.patch
> > > ACPI_HT_ONLY acpismp=force
> > >
> > > div64-cleanup.patch
> > > Kill div64.h dupes and parenthesize do_div() parameters
> > >
> > > ext2_new_inode-race-fix.patch
> > > ext2: inode allocation race fix
> > >
> > > oomkill-if-free-swap.patch
> > > Don't skip oomkilling if there's free swap
> > >
> > > exec_mmap-is-the-point-of-no-return.patch
> > > after exec_mmap(), exec cannot fail
> > >
> > > double-mmdrop-fix.patch
> > > fix double mmdrop() on exec path
> > >
> > > cciss-hang-fix.patch
> > > cciss: fix io hang
> > >
> > > journal_release_buffer-race-fix.patch
> > > ext3: fix journal_release_buffer() race
> > >
> > >
> > >
> > > -
> > > 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/
> > --
> > piet@http://www.piet.net
> >
> > -
> > 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/
> --
> piet@http://www.piet.net
>
> -
> 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/
--
piet@http://www.piet.net

2003-07-10 02:59:32

by Piet Delaney

[permalink] [raw]
Subject: Re: 2.5.73-mm3 vs. linux-2.5.74-mm1

On Wed, 2003-07-09 at 19:32, Piet Delaney wrote:
...

> I'll try 2.5.74-mm3...

I tried 2.5.74-mm3 and had a problem with apm_save_cpus()
definition returning a 0. This isn't a pointer to an array.
Perhaps something like this would be better in arch/i386/kernel/apm.c:

527 /*
528 * No CPU lockdown needed on a uniprocessor
529 *
530 * #define apm_save_cpus() 0 Need ptr to array
531 */
532 static cpumask_t apm_save_cpus(void)
533 {
534 cpumask_t x = current->cpus_allowed;
535 return x;
536 }

It gets around the compile problem.
-piet

>
> -piet
>
>
> > ------------------------------------------------------------
> > CC [M] arch/i386/kernel/cpu/cpufreq/p4-clockmod.o
> > arch/i386/kernel/cpu/cpufreq/p4-clockmod.c: In function
> > `cpufreq_p4_setdc':
> > arch/i386/kernel/cpu/cpufreq/p4-clockmod.c:67: incompatible types in
> > assignment
> > arch/i386/kernel/cpu/cpufreq/p4-clockmod.c:78: incompatible type for
> > argument 2 of `set_cpus_allowed'
> > arch/i386/kernel/cpu/cpufreq/p4-clockmod.c:90: incompatible type for
> > argument 2 of `set_cpus_allowed'
> > arch/i386/kernel/cpu/cpufreq/p4-clockmod.c:131: incompatible type for
> > argument 2 of `set_cpus_allowed'
> > ----------------------------------------------------------------------------
> > I thought maybe I pulled the 2.5.74-mm1 before it was ready for use.
> >
> > I'll go back to 2.5.73-mm3; just curious what I did wrong.
> >
> > -piet
> >
> > >
> > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.5/2.5.73/2.5.73-mm3/
> > >
> > > . The ext2 "free inodes corrupted" problem which Martin saw should be
> > > fixed.
> > >
> > > . The ext3 assertion failure which Maneesh hit should be fixed (I can't
> > > reproduce this, please retest?)
> > >
> > > . A patch from Neil which will hopefully fix the RAID "bio too big" bug.
> > > Neil cannot reproduce that, so we are asking anyone who _can_ make this
> > > happen to test this out.
> > >
> > > . The weird behaviour with time-n-date on SpeedStep machines should be
> > > fixed. Some of the weird behaviour, at least.
> > >
> > > . A tweak to the oom killer here may cause earlier oom-killings. I was
> > > able to trigger just the one. Keep an eye on that please.
> > >
> > >
> > > And on a personal note: The OSDL will now be sponsoring my kernel work at
> > > Digeo. This means that I shall become [email protected]. [email protected] still
> > > will work. Many thanks to the OSDL and Digeo teams who put this together.
> > >
> > >
> > >
> > >
> > >
> > >
> > > Changes since 2.5.73-mm2:
> > >
> > >
> > >
> > > -handle-no-readpage-2.patch
> > > -pppoe-revert.patch
> > > -ppc64-fixes-2.patch
> > > -ppc64-bat-initialisation-fix.patch
> > > -reiserfs-unmapped-buffer-fix.patch
> > > -pcmcia-event-20030623-1.patch
> > > -pcmcia-event-20030623-2.patch
> > > -pcmcia-event-20030623-3.patch
> > > -pcmcia-event-20030623-4.patch
> > > -pcmcia-event-20030623-5.patch
> > > -pcmcia-event-20030623-6.patch
> > > -sym2-bus_addr-fix.patch
> > > -lost-tick-speedstep-fix.patch
> > > -sym2-remove-broken-bios-check.patch
> > > -syslog-efault-reporting.patch
> > > -dvd-ram-rw-fix.patch
> > > -mixcomwd-update.patch
> > > -arc-rimi-race-fix.patch
> > > -slab-drain-all-objects-fix.patch
> > > -ext3-remove-version.patch
> > > -cdrom-eject-hang-fix.patch
> > >
> > > Merged
> > >
> > > -numa-memory-reporting-fix.patch
> > > +numa-memory-reporting-fix-2.patch
> > >
> > > Updated
> > >
> > > +ramfs-use-generic_file_llseek.patch
> > > +inode_change_ok-remove-lock_kernel.patch
> > > +nommu-vmtruncate-no_lock_kernel.patch
> > > +proc-lock_kernel-removal.patch
> > > +fops-flush-no-lock_kernel.patch
> > > +block_llseek-no-lock_kernel.patch
> > >
> > > lock_kernel()ectomy
> > >
> > > +intel8x0-cleanup.patch
> > >
> > > Small driver cleanup
> > >
> > > +TC35815-config-fix.patch
> > >
> > > Build fix
> > >
> > > +CLONE_DETACHED-exit-fix.patch
> > >
> > > Report CLONE_DETACHED threads to gdb
> > >
> > > +bio-too-big-fix.patch
> > >
> > > Might fix the RAID "bio too big" problems.
> > >
> > > -linux-isp.patch
> > > -isp-update-1.patch
> > > -isp-remove-pci_detect.patch
> > > -feral-fix.patch
> > > +linux-isp-2.patch
> > >
> > > Slightly updated feral qlogic driver.
> > >
> > > +aio-dio-no-readahead.patch
> > >
> > > Don't do readahead for AIO-over-direct-io
> > >
> > > +nbd-ioctl-compat.patch
> > >
> > > NBD userspace compatibility.
> > >
> > > -rename-timer.patch
> > > +rename-timer-A1.patch
> > > +lost-tick-speedstep-fix-A1.patch
> > > +lost-tick-corner-fix-A0.patch
> > >
> > > Updated timer patches. Mainly for addressing odd behaviour on SpeedStep
> > > machines.
> > >
> > > -init_timer-debug-trap.patch
> > >
> > > Dropped due to lack of interest.
> > >
> > > +ext2_new_inode-race-fix.patch
> > >
> > > Fix a race which causes ext2 to bogusly claim that the free inodes count
> > > was corrupted.
> > >
> > > +oomkill-if-free-swap.patch
> > >
> > > Remove bogus test in the oom-killer.
> > >
> > > +exec_mmap-is-the-point-of-no-return.patch
> > >
> > > Fix execve() bug
> > >
> > > +double-mmdrop-fix.patch
> > >
> > > Fix another execve() bug
> > >
> > > +cciss-hang-fix.patch
> > >
> > > cciss fix
> > >
> > > +journal_release_buffer-race-fix.patch
> > >
> > > Fix ext3 assertion failure (?)
> > >
> > >
> > >
> > >
> > >
> > > All 133 patches:
> > >
> > >
> > > linus.patch
> > >
> > > mm.patch
> > > add -mmN to EXTRAVERSION
> > >
> > > kgdb-ga.patch
> > > kgdb stub for ia32 (George Anzinger's one)
> > >
> > > kgdb-use-ggdb.patch
> > >
> > > kgdb-ga-docco-fixes.patch
> > > kgdb doc. edits/corrections
> > >
> > > HZ-100.patch
> > >
> > > config_spinline.patch
> > > uninline spinlocks for profiling accuracy.
> > >
> > > ppc64-pci-update.patch
> > >
> > > ppc64-reloc_hide.patch
> > >
> > > ppc64-semaphore-reimplementation.patch
> > > ppc64: use the ia32 semaphore implementation
> > >
> > > sym-do-160.patch
> > > make the SYM driver do 160 MB/sec
> > >
> > > x86_64-fixes.patch
> > > x86_64 fixes
> > >
> > > irqreturn-snd-via-fix.patch
> > > via sound irqreturn fix
> > >
> > > config-PAGE_OFFSET.patch
> > > Configurable kenrel/user memory split
> > >
> > > lru_cache_add-check.patch
> > > lru_cache_add debug check
> > >
> > > delay-ksoftirqd-fallback.patch
> > > Try harded in IRQ context before falling back to ksoftirqd
> > >
> > > fb-image-depth-fix.patch
> > > fbdev image depth fix
> > >
> > > move_vma-VM_LOCKED-fix.patch
> > > move_vma() make_pages_present() fix
> > >
> > > ds-09-vicam-usercopy-fix.patch
> > > vicam usercopy fix
> > >
> > > buffer-debug.patch
> > > buffer.c debugging
> > >
> > > e100-use-after-free-fix.patch
> > >
> > > 3-unmap-page-debugging.patch
> > > page unmappng debug patch
> > >
> > > VM_RESERVED-check.patch
> > > VM_RESERVED check
> > >
> > > ipcsem-speedup.patch
> > > ipc semaphore optimization
> > >
> > > rcu-stats.patch
> > > RCU statistics reporting
> > >
> > > mtrr-hang-fix.patch
> > > Fix mtrr-related hang
> > >
> > > reslabify-pgds-and-pmds.patch
> > > re-slabify i386 pgd's and pmd's
> > >
> > > numa-memory-reporting-fix-2.patch
> > > NUMA mamory reporting fix
> > >
> > > ramfs-use-generic_file_llseek.patch
> > > ramfs: use ramfs-use-generic_file_llseek
> > >
> > > inode_change_ok-remove-lock_kernel.patch
> > > inode_change_ok(): remove lock_kernel()
> > >
> > > nommu-vmtruncate-no_lock_kernel.patch
> > > nommu vmtruncate: remove lock_kernel()
> > >
> > > proc-lock_kernel-removal.patch
> > > procfs: remove some unneeded lock_kernel()s
> > >
> > > fops-flush-no-lock_kernel.patch
> > > remove lock_kernel() from file_ops.flush()
> > >
> > > block_llseek-no-lock_kernel.patch
> > > block_llseek(): remove lock_kernel()
> > >
> > > intel8x0-cleanup.patch
> > > intel8x0 cleanups
> > >
> > > TC35815-config-fix.patch
> > > Make CONFIG_TC35815 depend on CONFIG_TOSHIBA_JMR3927
> > >
> > > CLONE_DETACHED-exit-fix.patch
> > > Report detached thread exit to the debugger
> > >
> > > bio-too-big-fix.patch
> > > Fix raid "bio too big" failures
> > >
> > > linux-isp-2.patch
> > >
> > > list_del-debug.patch
> > > list_del debug check
> > >
> > > airo-schedule-fix.patch
> > > airo.c: don't sleep in atomic regions
> > >
> > > resurrect-batch_requests.patch
> > > bring back the batch_requests function
> > >
> > > kblockd.patch
> > > Create `kblockd' workqueue
> > >
> > > cfq-infrastructure.patch
> > >
> > > elevator-completion-api.patch
> > > elevator completion API
> > >
> > > as-iosched.patch
> > > anticipatory I/O scheduler
> > > AS: pgbench improvement
> > > AS: discrete read fifo batches
> > > AS sync/async batches
> > > AS: hash removal fix
> > > AS jumbo patch (for SCSI and TCQ)
> > > AS: fix stupid thinko
> > > AS: no batch-antic-limit
> > > AS: autotune write batches
> > > AS: divide by zero fix
> > > AS: more HZ != 1000 fixes
> > > AS: update_write_batch tuning
> > > AS locking
> > > AS HZ fixes
> > >
> > > as-double-free-and-debug.patch
> > > AS: fix a leak + more debugging
> > >
> > > as-fix-seek-estimation.patch
> > > AS: maybe repair performance drop of random read O_DIRECT
> > >
> > > as-fix-seeky-loads.patch
> > > AS: fix IBM's seek load
> > >
> > > unplug-use-kblockd.patch
> > > Use kblockd for running request queues
> > >
> > > per-queue-nr_requests.patch
> > > per queue nr_requests
> > >
> > > blk-invert-watermarks.patch
> > > blk_congestion_wait threshold cleanup
> > >
> > > blk-as-hint.patch
> > > blk-as-hint
> > >
> > > get_request_wait-oom-fix.patch
> > > handle OOM in get_request_wait().
> > >
> > > blk-fair-batches.patch
> > > blk-fair-batches
> > >
> > > blk-fair-batches-2.patch
> > > blk fair batches #2
> > >
> > > generic-io-contexts.patch
> > > generic io contexts
> > >
> > > blk-request-batching.patch
> > > block request batching
> > >
> > > get_io_context-fix.patch
> > > get_io_context fixes
> > >
> > > blk-allocation-commentary.patch
> > > block allocation comments
> > >
> > > blk-batching-throttle-fix.patch
> > > blk batch requests fix
> > >
> > > blk-batching-cleanups.patch
> > > block batching cleanups
> > >
> > > print-build-options-on-oops.patch
> > > print a few config options on oops
> > >
> > > mmap-prefault.patch
> > > prefault of executable mmaps
> > >
> > > bio-debug-trap.patch
> > > BIO debugging patch
> > >
> > > sound-irq-hack.patch
> > >
> > > show_task-free-stack-fix.patch
> > > show_task() fix and cleanup
> > >
> > > put_task_struct-debug.patch
> > >
> > > ia32-mknod64.patch
> > > mknod64 for ia32
> > >
> > > ext2-64-bit-special-inodes.patch
> > > ext2: support for 64-bit device nodes
> > >
> > > ext3-64-bit-special-inodes.patch
> > > ext3: support for 64-bit device nodes
> > >
> > > 64-bit-dev_t-kdev_t.patch
> > > 64-bit dev_t and kdev_t
> > >
> > > oops-dump-preceding-code.patch
> > > i386 oops output: dump preceding code
> > >
> > > lockmeter.patch
> > >
> > > invalidate_mmap_range.patch
> > > Interface to invalidate regions of mmaps
> > >
> > > aio-mm-refcounting-fix.patch
> > > fix /proc mm_struct refcounting bug
> > >
> > > aio-01-retry.patch
> > > AIO: Core retry infrastructure
> > >
> > > io_submit_one-EINVAL-fix.patch
> > > Fix aio process hang on EINVAL
> > >
> > > aio-02-lockpage_wq.patch
> > > AIO: Async page wait
> > >
> > > aio-03-fs_read.patch
> > > AIO: Filesystem aio read
> > >
> > > aio-04-buffer_wq.patch
> > > AIO: Async buffer wait
> > >
> > > aio-05-fs_write.patch
> > > AIO: Filesystem aio write
> > >
> > > aio-05-fs_write-fix.patch
> > >
> > > aio-06-bread_wq.patch
> > > AIO: Async block read
> > >
> > > aio-06-bread_wq-fix.patch
> > >
> > > aio-07-ext2getblk_wq.patch
> > > AIO: Async get block for ext2
> > >
> > > O_SYNC-speedup-2.patch
> > > speed up O_SYNC writes
> > >
> > > aio-09-o_sync.patch
> > > aio O_SYNC
> > >
> > > aio-10-BUG-fix.patch
> > > AIO: fix a BUG
> > >
> > > aio-11-workqueue-flush.patch
> > > AIO: flush workqueues before destroying ioctx'es
> > >
> > > aio-12-readahead.patch
> > > AIO: readahead fixes
> > >
> > > aio-dio-no-readahead.patch
> > > aio O_DIRECT no readahead
> > >
> > > lock_buffer_wq-fix.patch
> > > lock_buffer_wq fix
> > >
> > > unuse_mm-locked.patch
> > > AIO: hold the context lock across unuse_mm
> > >
> > > aio-take-task_lock.patch
> > > From: Suparna Bhattacharya <[email protected]>
> > > Subject: Re: 2.5.72-mm1 - Under heavy testing with AIO,.. vmstat seems to blow the kernel
> > >
> > > vfsmount_lock.patch
> > > From: Maneesh Soni <[email protected]>
> > > Subject: [patch 1/2] vfsmount_lock
> > >
> > > sched-hot-balancing-fix.patch
> > > fix for CPU scheduler load distribution
> > >
> > > truncate-pagefault-race-fix.patch
> > > Fix vmtruncate race and distributed filesystem race
> > >
> > > truncate-pagefault-race-fix-fix.patch
> > > Make sure truncate fix has no race
> > >
> > > sleepometer.patch
> > > sleep instrumentation
> > >
> > > time-goes-backwards.patch
> > > demonstrate do_gettimeofday() going backwards
> > >
> > > skip-apic-ids-on-boot.patch
> > > skip apicids on boot
> > >
> > > printk-oops-mangle-fix.patch
> > > disentangle printk's whilst oopsing on SMP
> > >
> > > 20-odirect_enable.patch
> > >
> > > 21-odirect_cruft.patch
> > >
> > > 22-read_proc.patch
> > >
> > > 23-write_proc.patch
> > >
> > > 24-commit_proc.patch
> > >
> > > 25-odirect.patch
> > >
> > > nfs-O_DIRECT-always-enabled.patch
> > > Force CONFIG_NFS_DIRECTIO
> > >
> > > seqcount-locking.patch
> > > i_size atomic access: infrastructure
> > >
> > > i_size-atomic-access.patch
> > > i_size atomic access
> > >
> > > aha152x-oops-fix.patch
> > > aha152X oops fixes
> > >
> > > security_vm_enough_memory.patch
> > > Security hook for vm_enough_memory
> > >
> > > nbd-cleanups.patch
> > > NBD: cosmetic cleanups
> > >
> > > nbd-enhanced-diagnostics.patch
> > > nbd: enhanced diagnostics support
> > >
> > > nbd-remove-blksize-bits.patch
> > > nbd: remove unneeded blksize_bits field
> > >
> > > nbd-kobject-oops-fix.patch
> > > nbd: initialise the embedded kobject
> > >
> > > nbd-paranioa-cleanups.patch
> > > nbd: cleanup PARANOIA usage & code
> > >
> > > nbd-locking-fixes.patch
> > > nbd: fix locking issues with ioctl UI
> > >
> > > nbd-ioctl-compat.patch
> > > nbd: add compatibility with previous ioctl user interface
> > >
> > > rename-timer-A1.patch
> > > timer renaming and cleanups
> > >
> > > lost-tick-speedstep-fix-A1.patch
> > > fix lost_tick detector for speedstep
> > >
> > > lost-tick-corner-fix-A0.patch
> > > fix lost-tick compensation corner-case
> > >
> > > lowmem_page_address-cleanup.patch
> > > cleanup and generalise lowmem_page_address
> > >
> > > acpismp-fix.patch
> > > ACPI_HT_ONLY acpismp=force
> > >
> > > div64-cleanup.patch
> > > Kill div64.h dupes and parenthesize do_div() parameters
> > >
> > > ext2_new_inode-race-fix.patch
> > > ext2: inode allocation race fix
> > >
> > > oomkill-if-free-swap.patch
> > > Don't skip oomkilling if there's free swap
> > >
> > > exec_mmap-is-the-point-of-no-return.patch
> > > after exec_mmap(), exec cannot fail
> > >
> > > double-mmdrop-fix.patch
> > > fix double mmdrop() on exec path
> > >
> > > cciss-hang-fix.patch
> > > cciss: fix io hang
> > >
> > > journal_release_buffer-race-fix.patch
> > > ext3: fix journal_release_buffer() race
> > >
> > >
> > >
> > > -
> > > 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/
> > --
> > piet@http://www.piet.net
> >
> > -
> > 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/
> --
> piet@http://www.piet.net
>
> -
> 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/
--
piet@http://www.piet.net