Re: [Linux-usb-users] [REGRESSION] 2.6.23-rc1: uhci_hcd. irq 4: nobody cared

2007-07-29 Thread Mark Hindley
On Sun, Jul 29, 2007 at 11:19:47AM -0400, Alan Stern wrote: > On Sun, 29 Jul 2007, Mark Hindley wrote: > > > Hi, > > > > I have just tried 2.6.23-rc1 on my Acer Aspire 1350. > > > > On boot I get the following error as the uhci_hcd module is loaded: > > > > Jul 28 18:23:20 mercury kernel:

Re: [PATCH] drivers/bluetooth/hci_ldisc.c: fix possible NULL dereferences

2007-07-29 Thread Marcel Holtmann
Hi Eugene, > Commit 22ad42033b7d2b3d7928fba9f89d1c7f8a3c9581 did not completely fix all > the possible NULL dereferences. Besides hci_uart_close(), we also need to > make sure that hdev is valid before calling hci_{unregister,free}_dev(). I don't see any issue. Without HCI_UART_PROTO_SET, the

Re: [-mm patch] kernel/printk.c: make 2 variables static

2007-07-29 Thread Randy Dunlap
On Sun, 29 Jul 2007 16:59:18 +0200 Adrian Bunk wrote: > On Wed, Jul 25, 2007 at 04:03:04AM -0700, Andrew Morton wrote: > >... > > Changes since 2.6.22-rc6-mm1: > >... > > +slow-down-printk-during-boot.patch > >... > > Misc > >... > > This patch makes two needlessly global variables static. > >

Re: Reading a bad sector does not report failure as 'read error' but hangs PC with 'Machine Check Exception'

2007-07-29 Thread Hendrik .
> > HARDWARE ERROR > > CPU 0: Machine Check Exception: 4 Bank 4: > > b2070f0f > > TSC b7d4a144d0 > > This is not a software problem! > > Run through mcelog --ascii to decode and contact > your > > hardware vendor > > Kernel panic - not syncing: Machine check > > You should run this

Re: [PATCH] Fix compilation for non CONFIG_HOTPLUG case

2007-07-29 Thread Sergei Shtylyov
Hello. Niklaus Giger wrote: Fixes compilation issues for embedded boards which do not support HOTPLUG Signed-off-by: Niklaus Giger <[EMAIL PROTECTED]> diff --git a/drivers/base/core.c b/drivers/base/core.c index 3599ab2..a09bfc8 100644 --- a/drivers/base/core.c +++ b/drivers/base/core.c

Re: [2.6 patch] unexport pm_power_off_prepare

2007-07-29 Thread Rafael J. Wysocki
On Sunday, 29 July 2007 16:59, Adrian Bunk wrote: > This patch removes the unused EXPORT_SYMBOL(pm_power_off_prepare). > > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Acked-by: Rafael J. Wysocki <[EMAIL PROTECTED]> > --- > --- linux-2.6.23-rc1-mm1/kernel/sys.c.old 2007-07-28

Re: [2.6 patch] drivers/base/power/: make 2 functions static

2007-07-29 Thread Rafael J. Wysocki
On Sunday, 29 July 2007 16:56, Adrian Bunk wrote: > suspend_device() and resume_device() can now become static. > > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> > > --- Acked-by: Rafael J. Wysocki <[EMAIL PROTECTED]> > drivers/base/power/power.h |6 -- >

Re: TCP SACK issue, hung connection, tcpdump included

2007-07-29 Thread Ilpo Järvinen
On Sun, 29 Jul 2007, Willy Tarreau wrote: > On Sun, Jul 29, 2007 at 12:28:04PM +0300, Ilpo Järvinen wrote: > > > [...snip...] > > > > > BTW, some information are missing. It would have been better if the trace > > > had been read with tcpdump -Svv. We would have got seq numbers and ttl. > > >

checkpatch.pl false positive on exported pointers

2007-07-29 Thread Dan Williams
WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable #563: FILE: drivers/scsi/iioc34x/iioc34x_sas.c:58: +EXPORT_SYMBOL(iioc34x_transport_template); drivers/scsi/iioc34x/iioc34x_sas.c:57 struct scsi_transport_template *iioc34x_transport_template;

Re: [2.6 patch] make kernel/power/main.c:suspend_enter() static

2007-07-29 Thread Rafael J. Wysocki
On Sunday, 29 July 2007 16:57, Adrian Bunk wrote: > suspend_enter() can now become static. > > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> > > --- Acked-by: Rafael J. Wysocki <[EMAIL PROTECTED]> > kernel/power/main.c |2 +- > kernel/power/power.h |1 - > 2 files changed, 1

Re: [lm-sensors] [2.6 patch] make abituguru3_read_increment_offset() static

2007-07-29 Thread Hans de Goede
Adrian Bunk wrote: abituguru3_read_increment_offset() can become static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Looks good, good catch. Acked-by: Hans de Goede <[EMAIL PROTECTED]> --- --- linux-2.6.23-rc1-mm1/drivers/hwmon/abituguru3.c.old 2007-07-26 08:56:33.0 +0200 +++

[PATCH] ac97/ac97_codec.c: make 2 functions stacic

2007-07-29 Thread Mariusz Kozlowski
Hello, Fix sparc64 warnings. sound/pci/ac97/ac97_patch.h:86: warning: 'snd_ac97_restore_status' declared 'static' but never defined sound/pci/ac97/ac97_patch.h:87: warning: 'snd_ac97_restore_iec958' declared 'static' but never defined Signed-off-by: Mariusz Kozlowski <[EMAIL

Re: TCP SACK issue, hung connection, tcpdump included

2007-07-29 Thread Willy Tarreau
On Sun, Jul 29, 2007 at 12:28:04PM +0300, Ilpo Järvinen wrote: (...) > > > Limitation for 48 byte segments? You have to be kidding... :-) But yes, > > > it seems that one of the directions is dropping packets for some reason > > > though I would not assume MTU limitation... Or did you mean some

Re: nvidia installer DIW with 2.6.23-rc1

2007-07-29 Thread Stefan Richter
Jan Engelhardt wrote: > On Jul 29 2007 10:57, Gene Heskett wrote: >> /tmp/selfgz9678/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c: In >> function >> ‘nvidia_init_module’: >> /tmp/selfgz9678/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c:1326: >> error: >> too many arguments to

Re: RFT: updatedb "morning after" problem [was: Re: -mm merge plans for 2.6.23]

2007-07-29 Thread Ray Lee
On 7/29/07, Rene Herman <[EMAIL PROTECTED]> wrote: > On 07/29/2007 05:20 PM, Ray Lee wrote: > This seems to be now fixing the different problem of swap-space filling up. > I'm quite willing to for now assume I've got plenty free. I was trying to point out that currently, as an example, memory

Re: 2.6.23-rc1-mm1

2007-07-29 Thread Grant Wilson
On Wed, 25 Jul 2007 04:03:04 -0700 Andrew Morton <[EMAIL PROTECTED]> wrote: > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc1/2.6.23-rc1-mm1/ > Hi, I get an oops when trying to mount an ISO file using the loopback device. If I revert the patch

Re: [PATCH 0/3] core_pattern: cleaned up repost/continuing post of core_pattern enhancements

2007-07-29 Thread Martin Pitt
Hi Eugene, Eugene Teo [2007-07-29 21:03 +0800]: > >> Also, it is probably good to think how we can "drop privileges" while > >> piping > >> the core dump output to an external program. A malicious user can > >> potentially > >> use it as a possible backdoor since anything that is executed by >

Re: 2.6.23-rc1-mm1 compile error in function `acpi_pci_choose_state':

2007-07-29 Thread Gabriel C
Berck E. Nash wrote: > drivers/built-in.o: In function `acpi_pci_choose_state': > pci-acpi.c:(.text+0xdccf): undefined reference to > `acpi_pm_device_sleep_state' > drivers/built-in.o: In function `pnpacpi_suspend': > core.c:(.text+0x35a7c): undefined reference to `acpi_pm_device_sleep_state'

Re: crash with 2.6.22.1 crash:ll_rw_blk.c blk_remove_plug()

2007-07-29 Thread walter harms
On 7/22/07, walter harms <[EMAIL PROTECTED]> wrote: > hello all, > on my asus notebook tm620 there is a crash with 2.6.22 and 2.6.21 Did this happen when you were resuming from a suspend-to-ram/disk? [ I ask because I see swsusp in the trace below, linux-pm added to Cc: ]

Re: nvidia installer DIW with 2.6.23-rc1

2007-07-29 Thread Alistair John Strachan
On Sunday 29 July 2007 15:57:33 Gene Heskett wrote: > Is this a known problem? Do I need to report it to nvidia somehow? It > looks to me like it may be their problem, and I have submitted it, but if > anyone has a better idea, please advise. System is FC6, uptodate as of > yesterday. Gene,

Re: IRQF_DISABLED problem

2007-07-29 Thread Robert Hancock
David Miller wrote: From: Arjan van de Ven <[EMAIL PROTECTED]> Date: Fri, 27 Jul 2007 13:11:56 -0700 On Thu, 2007-07-26 at 16:17 -0700, Linus Torvalds wrote: On Thu, 26 Jul 2007, Linus Torvalds wrote: (c) "one IRQF_DISABLED means that everything runs disabled". This is quite possibly

Re: [v4l-dvb-maintainer] [2.6 patch] make struct dvb_pll_fcv1236d static

2007-07-29 Thread Michael Krufky
Adrian Bunk wrote: > struct dvb_pll_fcv1236d can become static. > > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> > > --- > --- linux-2.6.23-rc1-mm1/drivers/media/dvb/frontends/dvb-pll.c.old > 2007-07-26 09:04:23.0 +0200 > +++ linux-2.6.23-rc1-mm1/drivers/media/dvb/frontends/dvb-pll.c

Re: [RFC: 2.6 patch] remove the broken SCSI_ACORNSCSI_3 driver

2007-07-29 Thread Russell King
On Sun, Jul 29, 2007 at 04:59:15PM +0200, Adrian Bunk wrote: > The SCSI_ACORNSCSI_3 driver: > - has been marked as BROKEN for more than one year and > - is still marked as BROKEN. > > Drivers that had been marked as BROKEN for such a long time seem to be > unlikely to be revived in the forseeable

Re: RFT: updatedb "morning after" problem [was: Re: -mm merge plans for 2.6.23]

2007-07-29 Thread Rene Herman
On 07/29/2007 05:20 PM, Ray Lee wrote: I understand what log structure is generally, but how does it help swapin? Look at the swap out case first. Right now, when swapping out the kernel places whatever it can wherever it can inside the swap space. The closer you are to filling your swap

Re: TCP SACK issue, hung connection, tcpdump included

2007-07-29 Thread Phil Oester
On Sun, Jul 29, 2007 at 06:59:26AM +0100, Darryl L. Miles wrote: > The problems start around time index 09:21:39.860302 when the CLIENT issues > a TCP packet with SACK option set (seemingly for a data segment which has > already been seen) from that point on the connection hangs. I'd say most

Re: Reading a bad sector does not report failure as 'read error' but hangs PC with 'Machine Check Exception'

2007-07-29 Thread Robert Hancock
Hendrik . wrote: Last night I discovered a problem in my RAID5 array and finally after a lot of tests I narrowed it down to a bad sector on one of the hard disks and some goofy kernels. I just yesterday build a new PC using an existing array of 5 disks in RAID 5. I did build the array with only

ttyS1: LSR safety check engaged! - misidentification?

2007-07-29 Thread Christian P. Schmidt
Hi all, Ever since Kernel 2.6.21(rc) or so I'm plagued with this message, disabling my serial ports that have been working perfectly from 2.6.14 till that day (and are still doing so, given that I continuously remove the code from the source). Actually I cannot blame the code, but it seems that

[PATCH] BLOCK=n , LGUEST=m/y compile error

2007-07-29 Thread Gabriel C
Hi Rusty, Lguest should depend on BLOCK too , without BLOCK set I get this error: ... drivers/block/lguest_blk.c: In function 'end_entire_request': drivers/block/lguest_blk.c:80: error: implicit declaration of function 'end_that_request_first' drivers/block/lguest_blk.c:80: error:

Re: Linus 2.6.23-rc1

2007-07-29 Thread Volker Armin Hemmann
On Sonntag, 29. Juli 2007, Kasper Sandberg wrote: > On Sun, 2007-07-29 at 01:41 +0200, Volker Armin Hemmann wrote: > > Hi, > > > > I never tried Con's patchset, for two reasons: > > I tried his 2.4 patches ones, and I never saw any improvements. So when > > people were reporting huge improvements

Re: RFT: updatedb "morning after" problem [was: Re: -mm merge plans for 2.6.23]

2007-07-29 Thread Ray Lee
On 7/29/07, Rene Herman <[EMAIL PROTECTED]> wrote: > On 07/29/2007 04:58 PM, Ray Lee wrote: > > On 7/29/07, Rene Herman <[EMAIL PROTECTED]> wrote: > >> Right over my head. Why does log-structure help anything? > > > > Log structured disk layouts allow for better placement of writeout, so > > that

2.6.23-rc1-mm1 compile error in function `acpi_pci_choose_state':

2007-07-29 Thread Berck E. Nash
drivers/built-in.o: In function `acpi_pci_choose_state': pci-acpi.c:(.text+0xdccf): undefined reference to `acpi_pm_device_sleep_state' drivers/built-in.o: In function `pnpacpi_suspend': core.c:(.text+0x35a7c): undefined reference to `acpi_pm_device_sleep_state' Config file attached. # #

Re: [Linux-usb-users] [REGRESSION] 2.6.23-rc1: uhci_hcd. irq 4: nobody cared

2007-07-29 Thread Alan Stern
On Sun, 29 Jul 2007, Mark Hindley wrote: > Hi, > > I have just tried 2.6.23-rc1 on my Acer Aspire 1350. > > On boot I get the following error as the uhci_hcd module is loaded: > > Jul 28 18:23:20 mercury kernel: ACPI: PCI Interrupt :00:10.0[A] -> Link > [LNKA] -> GSI 4 (level, low) -> IRQ

Re: nvidia installer DIW with 2.6.23-rc1

2007-07-29 Thread Jan Engelhardt
On Jul 29 2007 10:57, Gene Heskett wrote: > /tmp/selfgz9678/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c: In >function > ‘nvidia_init_module’: > /tmp/selfgz9678/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c:1326: >error: > too many arguments to function ‘kmem_cache_create’ >Is

Re: request for patches: showing mount options

2007-07-29 Thread Jan Engelhardt
[cc trim on purpose, just autofs interest here] On Jul 28 2007 14:45, Ian Kent wrote: > >Oh .. sorry, I wasn't paying enough attention. > >But now might be a good time to propose the removal of autofs and rename >autofs4 to autofs. I would need to provide some way to map autofs4 >module load

Reading a bad sector does not report failure as 'read error' but hangs PC with 'Machine Check Exception'

2007-07-29 Thread Hendrik .
Last night I discovered a problem in my RAID5 array and finally after a lot of tests I narrowed it down to a bad sector on one of the hard disks and some goofy kernels. I just yesterday build a new PC using an existing array of 5 disks in RAID 5. I did build the array with only 4 out of 5 disks

[PATCH] usb-serial: Fix edgeport regression on non-EPiC devices

2007-07-29 Thread Adam Kropelin
Fix serious regression on non-EPiC edgeport usb-serial devices. Baud rate and MCR/LCR registers are not being written on these models due to apparent copy-n-paste errors introduced with EPiC support. Failure reported by Nick Pasich <[EMAIL PROTECTED]>. Signed-off-by: Adam Kropelin <[EMAIL

Re: Linus 2.6.23-rc1

2007-07-29 Thread Ingo Molnar
hi Kasper, * Kasper Sandberg <[EMAIL PROTECTED]> wrote: > Im still not so keen about this, Ingo never did get CFS to match SD in > smoothness for 3d applications, where my test subjects are quake(s), > world of warcraft via wine, unreal tournament 2004. And this is > despite many patches he

[2.6 patch] mm/vmstat.c: cleanups

2007-07-29 Thread Adrian Bunk
This patch contains the following cleanups: - make the needlessly global setup_vmstat() static - remove the unused refresh_vm_stats() Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Acked-by: Christoph Lameter <[EMAIL PROTECTED]> --- This patch has been sent on: - 9 Jul 2007 mm/vmstat.c | 19

[2.6 patch] mm/: remove unused exports

2007-07-29 Thread Adrian Bunk
This patch removes the following unused EXPORT_SYMBOL's: - migrate.c: migrate_page - mmap.c: get_unmapped_area - nommu.c: get_unmapped_area Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- This patch has been sent on: - 13 Jul 2007 mm/migrate.c |1 - mm/mmap.c|2 -- mm/nommu.c

[2.6 patch] mm/mempolicy.c: cleanups

2007-07-29 Thread Adrian Bunk
This patch contains the following cleanups: - every file should include the headers containing the prototypes for its global functions - make the follosing needlessly global functions static: - migrate_to_node() - do_mbind() - sp_alloc() - mpol_rebind_policy() Signed-off-by: Adrian Bunk

[2.6 patch] mm/migrate.c: cleanups

2007-07-29 Thread Adrian Bunk
This patch contains the following cleanups: - every file should include the headers containing the prototypes for its global functions - make the needlessly global putback_lru_pages() static Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Acked-by: Christoph Lameter <[EMAIL PROTECTED]> ---

[2.6 patch] kernel/sched.c: make code static

2007-07-29 Thread Adrian Bunk
This patch makes the following needlessly global code static: - arch_reinit_sched_domains() - struct attr_sched_mc_power_savings - struct attr_sched_smt_power_savings Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- This patch has been sent on: - 6 Jul 2007 include/linux/cpu.h |2 -

[2.6 patch] mm/shmem.c: make 3 functions static

2007-07-29 Thread Adrian Bunk
This patch makes three needlessly global functions static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- This patch has been sent on: - 6 Jul 2007 include/linux/mm.h | 15 --- mm/shmem.c | 10 +- 2 files changed, 5 insertions(+), 20 deletions(-) ---

[2.6 patch] i386: no need to make enable_cpu_hotplug a variable

2007-07-29 Thread Adrian Bunk
As long as there's no write access to this variable there's no reason to let gcc check it at runtime. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- This patch has been sent on: - 6 Jul 2007 arch/i386/kernel/topology.c |2 -- include/asm-i386/cpu.h |2 +- 2 files changed, 1

[2.6 patch] ipc/shm.c: make 2 functions static

2007-07-29 Thread Adrian Bunk
This patch makes two needlessly global functions static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- This patch has been sent on: - 6 Jul 2007 ipc/shm.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- linux-2.6.22-rc6-mm1/ipc/shm.c.old 2007-07-05 16:08:24.0

[2.6 patch] arch/i386/mm/discontig.c: make some variables static

2007-07-29 Thread Adrian Bunk
This patch makes some needlessly global variables static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- This patch has been sent on: - 6 Jul 2007 arch/i386/mm/discontig.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) ---

[2.6 patch] lib/ioremap.c should #include

2007-07-29 Thread Adrian Bunk
Every file should include the headers containing the prototypes for its global functions (in this case ioremap_page_range()). Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Acked-by: Haavard Skinnemoen <[EMAIL PROTECTED]> --- This patch has been sent on: - 6 Jul 2007 ---

[2.6 patch] kernel/audit.c: change the exports to EXPORT_SYMBOL_GPL

2007-07-29 Thread Adrian Bunk
This patch changes some completely unused audit exports from EXPORT_SYMBOL to EXPORT_SYMBOL_GPL. They are still completely unused, but hopefully some of the theoretical code that might use it will appear in the kernel in the near future... Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>

[2.6 patch] fs/afs/: possible cleanups

2007-07-29 Thread Adrian Bunk
This patch contains the following possible cleanups: - make the following needlessly global functions static: - rxrpc.c: afs_send_pages() - vlocation.c: afs_vlocation_queue_for_updates() - write.c: afs_writepages_region() - make the following needlessly global variables static: - mntpt.c:

[RFC: 2.6 patch] allow disabling DNOTIFY without EMBEDDED

2007-07-29 Thread Adrian Bunk
This patch allows disabling DNOTIFY with CONFIG_EMBEDDED=n. I'm currently running a kernel with dnotify disabled and I haven't run into any problem. Is there any popular application left that breaks without dnotify support in the kernel? Note that this patch does not remove dnotify support, it

[2.6 patch] drivers/scsi/constants.c: make 2 functions static

2007-07-29 Thread Adrian Bunk
This patch makes two needlessly global functions static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- This patch has been sent on: - 24 Mar 2007 drivers/scsi/constants.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- linux-2.6.21-rc4-mm1/drivers/scsi/constants.c.old

[2.6 patch] remove fs/jffs2/ioctl.c

2007-07-29 Thread Adrian Bunk
fs/jffs2/ioctl.c is already for so long in the "might be used later" state that I doubt it will ever be actually used... And if it will ever be used, reverting this patch will be trivial. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- fs/jffs2/Makefile |2 +- fs/jffs2/dir.c |

[2.6 patch] parisc: "extern inline" -> "static inline"

2007-07-29 Thread Adrian Bunk
"extern inline" will have different semantics with gcc 4.3, and "static inline" is correct here. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- arch/parisc/lib/memcpy.c |4 ++-- include/asm-parisc/io.h|2 +- include/asm-parisc/pci.h |2 +-

[2.6 patch] include/linux/Kbuild: remove duplicate entries

2007-07-29 Thread Adrian Bunk
This patch removes three headers from header-y that were also listed as unifdef-y. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- include/linux/Kbuild |3 --- 1 file changed, 3 deletions(-) --- linux-2.6.23-rc1-mm1/include/linux/Kbuild.old 2007-07-28 17:15:01.0 +0200

Re: RFT: updatedb "morning after" problem [was: Re: -mm merge plans for 2.6.23]

2007-07-29 Thread Rene Herman
On 07/29/2007 04:58 PM, Ray Lee wrote: On 7/29/07, Rene Herman <[EMAIL PROTECTED]> wrote: On 07/29/2007 03:12 PM, Alan Cox wrote: More radically if anyone wants to do real researchy type work - how about log structured swap with a cleaner ? Right over my head. Why does log-structure

[2.6 patch] drivers/scsi/scsi_error.c should #include "scsi_transport_api.h"

2007-07-29 Thread Adrian Bunk
Every file should #include the headers containing the prototypes for its global functions (in this case for scsi_schedule_eh()). Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- --- linux-2.6.23-rc1-mm1/drivers/scsi/scsi_error.c.old 2007-07-28 17:10:48.0 +0200 +++

Re: How can we make page replacement smarter

2007-07-29 Thread Rik van Riel
Alan Cox wrote: Files are different. File content tends to be grouped in large related chunks, both logically in the file and on disk. Generally there is a lot more file data on a system than what fits in memory. Binary paging patterns don't always look like that unfortunately although I

[-mm patch] security/ cleanups

2007-07-29 Thread Adrian Bunk
This patch contains the following cleanups that are now possible: - remove the unused security_operations->inode_xattr_getsuffix - remove the no longer used security_operations->unregister_security - remove some no longer required exit code - remove a bunch of no longer used exports

[2.6.23 regression fix] acpi_ec_remove(): fix use-after-free

2007-07-29 Thread Adrian Bunk
This patch fixes an obvious use-after-free introduced by commit 837012ede14a8fc088be3682c964da7fc6af026b. Spotted by the Coverity checker. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- --- linux-2.6.23-rc1-mm1/drivers/acpi/ec.c.old 2007-07-28 07:59:49.0 +0200 +++

acpi_battery_add(): use-after-free

2007-07-29 Thread Adrian Bunk
The Coverity checker spotted the following use-after-free in acpi_battery_add(): <-- snip --> ... static int acpi_battery_add(struct acpi_device *device) { ... if (result) { acpi_battery_remove_fs(device); kfree(battery); }

[2.6 patch] unexport pm_power_off_prepare

2007-07-29 Thread Adrian Bunk
This patch removes the unused EXPORT_SYMBOL(pm_power_off_prepare). Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- --- linux-2.6.23-rc1-mm1/kernel/sys.c.old 2007-07-28 07:38:45.0 +0200 +++ linux-2.6.23-rc1-mm1/kernel/sys.c 2007-07-28 07:38:59.0 +0200 @@ -104,7 +104,6

[2.6 patch] unexport fb_prepare_logo

2007-07-29 Thread Adrian Bunk
The logo code is not and should not be used by modules. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- --- linux-2.6.23-rc1-mm1/drivers/video/fbmem.c.old 2007-07-28 07:48:45.0 +0200 +++ linux-2.6.23-rc1-mm1/drivers/video/fbmem.c 2007-07-28 07:49:09.0 +0200 @@ -1653,7

[-mm patch] kernel/pid.c: remove unused exports

2007-07-29 Thread Adrian Bunk
On Wed, Jul 25, 2007 at 04:03:04AM -0700, Andrew Morton wrote: >... > Changes since 2.6.22-rc6-mm1: >... > +pid-namespaces-define-is_global_init-and-is_container_init.patch >... > pid namespaces >... This patch removes two unused exports. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> ---

[-mm patch] export v4l2_int_device_{,un}register

2007-07-29 Thread Adrian Bunk
On Wed, Jul 25, 2007 at 04:03:04AM -0700, Andrew Morton wrote: >... > Changes since 2.6.22-rc6-mm1: >... > git-dvb.patch >... > git trees >... This patch fixes the following build error: <-- snip --> ... MODPOST 2135 modules ERROR: "v4l2_int_device_register"

[-mm patch] kernel/printk.c: make 2 variables static

2007-07-29 Thread Adrian Bunk
On Wed, Jul 25, 2007 at 04:03:04AM -0700, Andrew Morton wrote: >... > Changes since 2.6.22-rc6-mm1: >... > +slow-down-printk-during-boot.patch >... > Misc >... This patch makes two needlessly global variables static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- ---

[2.6 patch] backlight: make 2 structs static

2007-07-29 Thread Adrian Bunk
This patch makes two needlessly global structs static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- drivers/video/backlight/backlight.c |2 +- drivers/video/backlight/lcd.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ---

[2.6 patch] drivers/usb/serial/sierra.c: make 3 functions static

2007-07-29 Thread Adrian Bunk
This patch makes three needlessly global functions static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- drivers/usb/serial/sierra.c |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) --- linux-2.6.23-rc1-mm1/drivers/usb/serial/sierra.c.old2007-07-26

[-mm patch] USB: make dev_attr_authorized_default static

2007-07-29 Thread Adrian Bunk
On Wed, Jul 25, 2007 at 04:03:04AM -0700, Andrew Morton wrote: >... > Changes since 2.6.22-rc6-mm1: >... > +gregkh-usb-usb-add-the-concept-of-default-authorization-to-usb-hosts.patch >... > USB tree updates >... dev_attr_authorized_default can become static. Signed-off-by: Adrian Bunk <[EMAIL

[2.6 patch] net/unix/af_unix.c: make code static

2007-07-29 Thread Adrian Bunk
The following code can now become static: - struct unix_socket_table - unix_table_lock Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- include/net/af_unix.h | 29 - net/unix/af_unix.c| 30 -- 2 files changed, 28 insertions(+),

[-mm patch] make scsi_host_link_pm_policy() static

2007-07-29 Thread Adrian Bunk
On Wed, Jul 25, 2007 at 04:03:04AM -0700, Andrew Morton wrote: >... > Changes since 2.6.22-rc6-mm1: >... > +ata-ahci-alpm-expose-power-management-policy-option-to-users.patch >... > ata things >... scsi_host_link_pm_policy() can become static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> ---

[2.6 patch] make nf_ct_ipv6_skip_exthdr() static

2007-07-29 Thread Adrian Bunk
nf_ct_ipv6_skip_exthdr() can now become static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- include/net/netfilter/ipv6/nf_conntrack_ipv6.h |3 --- net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c |4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) ---

[2.6 patch] make pktgen.c:get_ipsec_sa() static and non-inline

2007-07-29 Thread Adrian Bunk
Non-static inline code usually doesn't makes sense. In this case making is static and non-inline is the correct solution. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- --- linux-2.6.23-rc1-mm1/net/core/pktgen.c.old 2007-07-26 20:12:01.0 +0200 +++

[-mm patch] MTD onenand_sim.c: make struct info static

2007-07-29 Thread Adrian Bunk
On Wed, Jul 25, 2007 at 04:03:04AM -0700, Andrew Morton wrote: >... > Changes since 2.6.22-rc6-mm1: >... > git-mtd.patch >... > git trees >... This patch makes the needlessly global struct info static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- ---

[-mm patch] e1000: #if 0 two functions

2007-07-29 Thread Adrian Bunk
e1000_{read,write}_pci_cfg() are no longer used. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- This patch has been sent on: - 1 Jul 2007 - 5 Jun 2007 drivers/net/e1000/e1000_hw.h |2 -- drivers/net/e1000/e1000_main.c |4 2 files changed, 4 insertions(+), 2 deletions(-)

[-mm patch] make struct sdio_dev_attrs[] static

2007-07-29 Thread Adrian Bunk
On Wed, Jul 25, 2007 at 04:03:04AM -0700, Andrew Morton wrote: >... > Changes since 2.6.22-rc6-mm1: >... > git-mmc.patch >... > git trees >... sdio_dev_attrs[] can become static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- --- linux-2.6.23-rc1-mm1/drivers/mmc/core/sdio_bus.c.old

[2.6 patch] make struct sony_nc_ids[] static

2007-07-29 Thread Adrian Bunk
sony_nc_ids[] can become static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- --- linux-2.6.23-rc1-mm1/drivers/misc/sony-laptop.c.old 2007-07-26 16:05:54.0 +0200 +++ linux-2.6.23-rc1-mm1/drivers/misc/sony-laptop.c 2007-07-26 16:06:05.0 +0200 @@ -845,7 +845,7 @@ };

[2.6 patch] remove mm/filemap.c:file_send_actor()

2007-07-29 Thread Adrian Bunk
This patch removes the no longer used file_send_actor(). Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- include/linux/fs.h |1 - mm/filemap.c | 20 2 files changed, 21 deletions(-) --- linux-2.6.23-rc1-mm1/include/linux/fs.h.old 2007-07-26

[2.6 patch] fs/nfsd/export.c: make 3 functions static

2007-07-29 Thread Adrian Bunk
This patch makes the following needlessly global functions static: - exp_get_by_name() - exp_parent() - exp_find() Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- fs/nfsd/export.c| 17 - include/linux/nfsd/export.h | 11 --- 2 files changed, 8

[2.6 patch] mm/page_alloc.c: make code static

2007-07-29 Thread Adrian Bunk
This patch makes needlessly global code static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- mm/page_alloc.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- linux-2.6.23-rc1-mm1/mm/page_alloc.c.old2007-07-26 15:09:24.0 +0200 +++

Re: RFT: updatedb "morning after" problem [was: Re: -mm merge plans for 2.6.23]

2007-07-29 Thread Ray Lee
On 7/29/07, Rene Herman <[EMAIL PROTECTED]> wrote: > On 07/29/2007 03:12 PM, Alan Cox wrote: > > More radically if anyone wants to do real researchy type work - how about > > log structured swap with a cleaner ? > > Right over my head. Why does log-structure help anything? Log structured disk

[2.6 patch] kernel/rtmutex-debug.c: cleanups

2007-07-29 Thread Adrian Bunk
This patch contains the following cleanups: - make the needlessly global variable rt_trace_on static - remove the unused global function deadlock_trace_off() Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- This patch has been sent on: - 1 Jul 2007 - 4 Apr 2007 ---

[2.6 patch] make kernel/power/main.c:suspend_enter() static

2007-07-29 Thread Adrian Bunk
suspend_enter() can now become static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- kernel/power/main.c |2 +- kernel/power/power.h |1 - 2 files changed, 1 insertion(+), 2 deletions(-) --- linux-2.6.23-rc1-mm1/kernel/power/power.h.old 2007-07-26 14:49:29.0 +0200

[-mm patch] fs/ecryptfs/: make code static

2007-07-29 Thread Adrian Bunk
On Wed, Jul 25, 2007 at 04:03:04AM -0700, Andrew Morton wrote: >... > Changes since 2.6.22-rc6-mm1: >... > +ecryptfs-add-key-list-structure-search-keyring.patch >... > ecryptfs feature work >... This patch makes some needlessly global code static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>

[-mm patch] make hugetlbfs_read() static

2007-07-29 Thread Adrian Bunk
On Wed, Jul 25, 2007 at 04:03:04AM -0700, Andrew Morton wrote: >... > Changes since 2.6.22-rc6-mm1: >... > +hugetlbfs-read-support.patch >... > More MM things >... hugetlbfs_read() can become static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- ---

nvidia installer DIW with 2.6.23-rc1

2007-07-29 Thread Gene Heskett
Greetings; I got around to building the 2.6.23-rc1 tree, updated to yesterday with git from the linus tree. The build was fairly clean, but when I rebooted to it, the latest nvidia installer fails, with these messages: nvidia-installer log file '/var/log/nvidia-installer.log' creation time:

[2.6 patch] #if 0 v9fs_fid_lookup_remove()

2007-07-29 Thread Adrian Bunk
This patch #if 0's the unused v9fs_fid_lookup_remove(). Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- fs/9p/fid.c |2 ++ fs/9p/fid.h |1 - 2 files changed, 2 insertions(+), 1 deletion(-) --- linux-2.6.23-rc1-mm1/fs/9p/fid.h.old2007-07-26 13:22:00.0 +0200 +++

[2.6 patch] make struct dvb_pll_fcv1236d static

2007-07-29 Thread Adrian Bunk
struct dvb_pll_fcv1236d can become static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- --- linux-2.6.23-rc1-mm1/drivers/media/dvb/frontends/dvb-pll.c.old 2007-07-26 09:04:23.0 +0200 +++ linux-2.6.23-rc1-mm1/drivers/media/dvb/frontends/dvb-pll.c 2007-07-26

[2.6 patch] drivers/i2c/i2c-core.c: make code static

2007-07-29 Thread Adrian Bunk
After the i2c-isa removal some code can become static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- drivers/i2c/i2c-core.c |7 +++ include/linux/i2c.h|2 -- 2 files changed, 3 insertions(+), 6 deletions(-) --- linux-2.6.23-rc1-mm1/include/linux/i2c.h.old

[2.6 patch] make abituguru3_read_increment_offset() static

2007-07-29 Thread Adrian Bunk
abituguru3_read_increment_offset() can become static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- --- linux-2.6.23-rc1-mm1/drivers/hwmon/abituguru3.c.old 2007-07-26 08:56:33.0 +0200 +++ linux-2.6.23-rc1-mm1/drivers/hwmon/abituguru3.c 2007-07-26 08:57:00.0 +0200 @@

Re: [PATCH] .gitignore update

2007-07-29 Thread Jan Engelhardt
On Jul 26 2007 16:15, Alexey Dobriyan wrote: > >Somehow I ended up with the following in tree: > > $ git status > ... > # Untracked files: > # (use "git add ..." to include in what will be committed) > # > # fs/proc/root.o.FuMxJQ > #

[2.6 patch] radeon_driver_vblank_do_wait() static

2007-07-29 Thread Adrian Bunk
radeon_driver_vblank_do_wait() can become static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- --- linux-2.6.23-rc1-mm1/drivers/char/drm/radeon_irq.c.old 2007-07-26 08:49:12.0 +0200 +++ linux-2.6.23-rc1-mm1/drivers/char/drm/radeon_irq.c 2007-07-26 08:49:46.0 +0200

[2.6 patch] make drivers/acpi/event.c:acpi_event_seqnum static

2007-07-29 Thread Adrian Bunk
This patch makes the needlessly global "acpi_event_seqnum" static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- --- linux-2.6.23-rc1-mm1/drivers/acpi/event.c.old 2007-07-26 02:32:59.0 +0200 +++ linux-2.6.23-rc1-mm1/drivers/acpi/event.c 2007-07-26 02:33:07.0 +0200

[2.6 patch] drivers/base/power/: make 2 functions static

2007-07-29 Thread Adrian Bunk
suspend_device() and resume_device() can now become static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- drivers/base/power/power.h |6 -- drivers/base/power/resume.c |2 +- drivers/base/power/suspend.c |2 +- 3 files changed, 2 insertions(+), 8 deletions(-) ---

[2.6 patch] arch/i386/mach-es7000/es7000plat.c: cleanups

2007-07-29 Thread Adrian Bunk
This patch contains the following cleanups: - make some needlessly global functions static - #if 0 the unused es7000_stop_cpu() Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- This patch has been sent on: - 6 Jul 2007 arch/i386/mach-es7000/es7000plat.c | 12 +++- 1 file changed,

[2.6 patch] i386 alternative.c: really stop MCEs during code patching

2007-07-29 Thread Adrian Bunk
It's CONFIG_X86_MCE, not CONFIG_MCE. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- arch/i386/kernel/alternative.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- linux-2.6.23-rc1-mm1/arch/i386/kernel/alternative.c.old 2007-07-26 01:47:31.0 +0200 +++

[2.6 patch] arch/i386/mach-generic/probe.c: make struct apic_probe static

2007-07-29 Thread Adrian Bunk
This patch makes the needlessly global struct apic_probe static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- This patch has been sent on: - 6 Jul 2007 --- linux-2.6.22-rc6-mm1/arch/i386/mach-generic/probe.c.old 2007-07-05 15:55:40.0 +0200 +++

[2.6 patch] sound/synth/util_mem.c: remove pointless check

2007-07-29 Thread Adrian Bunk
The Coverity checker spotted that if anyone would call this function with "prev == NULL", he would still get an Oops a few lines below. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- --- linux-2.6.22-rc6-mm1/sound/synth/util_mem.c.old 2007-07-24 19:37:50.0 +0200 +++

[2.6 patch] i386: remove -maccumulate-outgoing-args

2007-07-29 Thread Adrian Bunk
Contrary to the comment "newer gccs do it by default", newer gcc versions default to -maccumulate-outgoing-args only with CONFIG_CC_OPTIMIZE_FOR_SIZE=n, and then only with some CPU settings. Measured with an i386 defconfig, gcc 4.2.1 and kernel 2.6.23-rc1 ("orig" is the plain kernel, "changed

[2.6 patch] drivers/net/cxgb3/xgmac.c: remove dead code

2007-07-29 Thread Adrian Bunk
This patch removes dead code ("tx_xcnt" can never be != 0 at this place) spotted by the Coverity checker. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- drivers/net/cxgb3/xgmac.c |5 + 1 file changed, 1 insertion(+), 4 deletions(-) ---

Re: How can we make page replacement smarter

2007-07-29 Thread Al Boldi
Rik van Riel wrote: > Al Boldi wrote: > > Good idea, but unless we understand the problems involved, we are bound > > to repeat it. So my first question would be: Why is swap-in so slow? > > > > As I have posted in other threads, swap-in of consecutive pages suffers > > a 2x slowdown wrt

<    1   2   3   4   5   6   7   8   >