Re: [2.6 patch] let USB_USBNET always select MII

2007-11-07 Thread David Miller
From: Adrian Bunk [EMAIL PROTECTED] Date: Thu, 1 Nov 2007 23:25:24 +0100 All this USB_USBNET_MII trickery is simply not worth it considering how few code it saves. As a side effect, this also fixes the following compile error reported by Toralf Förster: -- snip -- ... LD

[PATCH 1/2] libata: Support PIO polling-only hosts.

2007-11-07 Thread Paul Mundt
By default ata_host_activate() expects a valid IRQ in order to successfully register the host. This patch enables a special case for registering polling-only hosts that either don't have IRQs or have buggy IRQ generation (either in terms of handling or sensing), which otherwise work fine. Hosts

[PATCH 2/2] libata: pata_platform: Support polling-mode configuration.

2007-11-07 Thread Paul Mundt
Some SH boards (old R2D-1 boards) have generally not had working CF under libata, due to both buswidth issues (handled by Aoi Shinkai in 43f4b8c7578b928892b6f01d374346ae14e5eb70), and buggy interrupt controllers. For these sorts of boards simply disabling the IRQ and polling ends up working fine.

Re: [kvm-devel] include files for kvmclock

2007-11-07 Thread Akio Takebe
Hi, Glauber This is interesting facility. :-) +#define KVM_HCALL_REGISTER_CLOCK 1 + +union kvm_hv_clock { + struct { + u64 tsc_mult; + u64 now_ns; + /* That's the wall clock, not the water closet */ + u64 wc_sec; + u64

Re: build #337 failed for 2.6.24-rc1-gb1d08ac In function `usbnet_set_settings':

2007-11-07 Thread David Miller
David, I hate to say this and point you out like this, but you are a real cancer for bug fixes to USB things in the kernel, and I'm very tired of seeing things stuck in the mud (and engineering resources wasted) because of how you handle things. It's very bad for Linux, and the USB code in

[PATCH] kernel: Removing duplicit #includes

2007-11-07 Thread Jiri Olsa
Removing duplicit #includes for kernel/ Signed-off-by: Jiri Olsa [EMAIL PROTECTED] --- kernel/printk.c |1 - kernel/profile.c |2 -- kernel/sysctl.c |1 - 3 files changed, 0 insertions(+), 4 deletions(-) diff --git a/kernel/printk.c b/kernel/printk.c index a30fe33..3f06748 100644 ---

Re: [ofa-general] Re: problem in follow_hugetlb_page on ppc64 architecture with get_user_pages

2007-11-07 Thread Christoph Raisch
[EMAIL PROTECTED] wrote on 06.11.2007 23:31:19: We should cut this down to the bare necessary and fold it into the libhugetlbfs testsuite. Well, this testcase is already pretty close to the bare minimum what's needed to run IB/RDMA queues. You can compare this to for example ibv_rc_pingpong

Re: [patch 00/23] Slab defragmentation V6

2007-11-07 Thread Peter Zijlstra
On Tue, 2007-11-06 at 17:11 -0800, Christoph Lameter wrote: Slab defragmentation I thought we had agreed that: targeted reclaim, was a more suitable term for this work as it does not do compaction. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

Re: [patch 1/4] x86: FIFO ticket spinlocks

2007-11-07 Thread Nick Piggin
On Fri, Nov 02, 2007 at 04:33:32PM +0100, Ingo Molnar wrote: * Nick Piggin [EMAIL PROTECTED] wrote: Anyway, if this can make its way to the x86 tree, I think it will get pulled into -mm (?) and get some exposure... ok, we can certainly try it there. Anything particular I have to do

Re: [patch 04/23] dentries: Extract common code to remove dentry from lru

2007-11-07 Thread Johannes Weiner
Hi Christoph, On Tue, Nov 06, 2007 at 05:11:34PM -0800, Christoph Lameter wrote: @@ -613,11 +606,7 @@ static void shrink_dcache_for_umount_sub spin_lock(dcache_lock); list_for_each_entry(loop, dentry-d_subdirs,

Re: [patch] ia64: remove per_cpu_offset()

2007-11-07 Thread Simon Horman
On Wed, Nov 07, 2007 at 02:55:24PM +0800, Luming Yu wrote: NAK for now. I'm trying to add lockdep , so please don't delete it until it could be proved really useless... Please don't hurry... Ok, in that case I Re-ack your typo fix patch. Sorry for the noise. -- Horms H:

[PATCH] kernel: Removing duplicit #includes

2007-11-07 Thread Jiri Olsa
Removing duplicit #includes for kernel/ Signed-off-by: Jiri Olsa [EMAIL PROTECTED] --- kernel/printk.c |1 - kernel/profile.c |2 -- kernel/sysctl.c |1 - 3 files changed, 0 insertions(+), 4 deletions(-) diff --git a/kernel/printk.c b/kernel/printk.c index a30fe33..3f06748 100644

Re: [PATCH] Add the macro to test if exactly_one_bit_set to log2.h.

2007-11-07 Thread Boaz Harrosh
On Tue, Nov 06 2007 at 20:53 +0200, Robert P. J. Day [EMAIL PROTECTED] wrote: On Tue, 6 Nov 2007, Boaz Harrosh wrote: On Tue, Nov 06 2007 at 18:38 +0200, Robert P. J. Day [EMAIL PROTECTED] wrote: While this macro is defined in terms of is_power_of_2 and is therefore functionally

Re: [Cluster-devel] Re: [2.6 patch] fs/dlm/: proper prototypes

2007-11-07 Thread Steven Whitehouse
Hi, I've added this to the GFS2 -nmw git tree and since Linus has released -rc2, I've rebased it to that at the same time. Thanks, Steve. On Mon, 2007-11-05 at 08:42 -0600, David Teigland wrote: On Sat, Nov 03, 2007 at 01:04:30AM +0100, Adrian Bunk wrote: This patch adds a proper prototype

[patch] tweak driver documentation for rtc periodic

2007-11-07 Thread Mike Frysinger
The max_user_freq member is not really meant for RTC drivers to modify, so update the rtc documentation so drivers writers know what is expected of them when handling periodic events. Signed-off-by: Mike Frysinger [EMAIL PROTECTED] --- diff --git a/Documentation/rtc.txt b/Documentation/rtc.txt

Re: [PATCH] kernel: Removing duplicit #includes

2007-11-07 Thread Jiri Olsa
sorry, the patch is mangled, I will resend another Jiri Olsa wrote: Removing duplicit #includes for kernel/ Signed-off-by: Jiri Olsa [EMAIL PROTECTED] --- kernel/printk.c |1 - kernel/profile.c |2 -- kernel/sysctl.c |1 - 3 files changed, 0 insertions(+), 4 deletions(-)

Re: [patch 07/23] SLUB: Add defrag_ratio field and sysfs support.

2007-11-07 Thread Johannes Weiner
Hi Christoph, On Tue, Nov 06, 2007 at 05:11:37PM -0800, Christoph Lameter wrote: --- linux-2.6.orig/include/linux/slub_def.h 2007-11-06 12:36:28.0 -0800 +++ linux-2.6/include/linux/slub_def.h2007-11-06 12:37:44.0 -0800 @@ -53,6 +53,13 @@ struct kmem_cache {

all of the aforementioned kernel cleanup script output in one place

2007-11-07 Thread Robert P. J. Day
enjoy. http://www.crashcourse.ca/wiki/index.php/Kernel_cleanup rday -- Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry Waterloo, Ontario, CANADA http://crashcourse.ca

Re: [PATCH 1/3]: tty - fix network driver interactions with TCGET/SET calls

2007-11-07 Thread David Miller
From: Alan Cox [EMAIL PROTECTED] Date: Fri, 2 Nov 2007 15:33:29 + Dave Miller noted various cases where line disciplines for things like ppp go poking around in termios themselves in ways that broke with the new termios code. Rather than have them all learning about termios internals

Re: [PATCH 3/3] tty - fix tty network driver interactions with TCGET/TCSET calls

2007-11-07 Thread David Miller
From: Alan Cox [EMAIL PROTECTED] Date: Fri, 2 Nov 2007 16:00:39 + From: Dave Miller [EMAIL PROTECTED] And to go with it Dave's type checking x86 termios headers. I've updated these as the original sent by Dave had some wrong types in it. Signed-off-by: Alan Cox [EMAIL PROTECTED]

Re: [patch 12/23] SLUB: Trigger defragmentation from memory reclaim

2007-11-07 Thread Johannes Weiner
Hi Christoph, On Tue, Nov 06, 2007 at 05:11:42PM -0800, Christoph Lameter wrote: Index: linux-2.6/include/linux/slab.h === --- linux-2.6.orig/include/linux/slab.h 2007-11-06 12:37:51.0 -0800 +++

Re: [PATCH 2/3] tty - fix tty network driver interactions with TCGET/TCSET calls

2007-11-07 Thread David Miller
From: Alan Cox [EMAIL PROTECTED] Date: Fri, 2 Nov 2007 16:02:52 + We conciously make a change here - we permit mode and speed setting to be done in things like SLIP mode. There isn't actually a technical reason to disallow this. It's usually a silly thing to do but we can do it and

Re: Massive slowdown when re-querying large nfs dir

2007-11-07 Thread Al Boldi
Neil Brown wrote: On Tuesday November 6, [EMAIL PROTECTED] wrote: On Tue, 6 Nov 2007 14:28:11 +0300 Al Boldi [EMAIL PROTECTED] wrote: Al Boldi wrote: There is a massive (3-18x) slowdown when re-querying a large nfs dir (2k+ entries) using a simple ls -l. On 2.6.23 client and

Re: 2.6.24-rc1-git15 Kernel build fails on powerpc - Unrecognized opcode: `dssall'

2007-11-07 Thread Johannes Berg
So that sounds like a Kconfig problem then? That HIBERATION requires ALITIVEC and yet does not depend on it or set it. Yes. I'm guessing that it broke with Rafael's hibernation/suspend Kconfig changes but will take a look. I think it used to depend on powermac. johannes signature.asc

[PATCH] CRISv10 Fix timer interrupt parameters

2007-11-07 Thread Jesper Nilsson
Fix timer interrupt parameters for CRIS v10. - irq_handler_t only takes two arguments, use get_irq_regs to get regs for profiling. - Call update_process_times. - Remove CVS tag. Signed-off-by: Jesper Nilsson [EMAIL PROTECTED] --- time.c | 11 +++ 1 file changed, 7 insertions(+), 4

Re: [patch 04/23] dentries: Extract common code to remove dentry from lru

2007-11-07 Thread Jörn Engel
On Wed, 7 November 2007 09:50:27 +0100, Johannes Weiner wrote: On Tue, Nov 06, 2007 at 05:11:34PM -0800, Christoph Lameter wrote: @@ -613,11 +606,7 @@ static void shrink_dcache_for_umount_sub spin_lock(dcache_lock); list_for_each_entry(loop,

Re: Module init call vs symbols exporting race?

2007-11-07 Thread Jan Glauber
Hi Rusty, I've seen a symbol-resolving race on s390. The qeth module uses symbols from qdio and although the loading order seems correct and the qdio symbols should be available the following error appears: qdio: loading QDIO base support version 2 qeth: Unknown symbol qdio_synchronize qeth:

Re: [patch 14/23] inodes: Support generic defragmentation

2007-11-07 Thread Jörn Engel
On Tue, 6 November 2007 17:11:44 -0800, Christoph Lameter wrote: +void *get_inodes(struct kmem_cache *s, int nr, void **v) +{ + int i; + + spin_lock(inode_lock); + for (i = 0; i nr; i++) { + struct inode *inode = v[i]; + + if (inode-i_state

Re: [patch 14/23] inodes: Support generic defragmentation

2007-11-07 Thread Jörn Engel
On Wed, 7 November 2007 11:35:13 +0100, Andreas Schwab wrote: The fact that all pointers get changed makes me a bit uneasy: struct foo_inode v[20]; ... fs_get_inodes(..., v, ...); ... v[0].foo_field = bar; No warning, but spectacular fireworks. You'l

Re: [patch 14/23] inodes: Support generic defragmentation

2007-11-07 Thread Jörn Engel
On Wed, 7 November 2007 11:17:48 +0100, Jörn Engel wrote: +/* + * Function for filesystems that embedd struct inode into their own + * structures. The offset is the offset of the struct inode in the fs inode. + */ +void *fs_get_inodes(struct kmem_cache *s, int nr, void **v, +

Re: [patch 14/23] inodes: Support generic defragmentation

2007-11-07 Thread Andreas Schwab
Jörn Engel [EMAIL PROTECTED] writes: On Tue, 6 November 2007 17:11:44 -0800, Christoph Lameter wrote: +/* + * Function for filesystems that embedd struct inode into their own + * structures. The offset is the offset of the struct inode in the fs inode. + */ +void *fs_get_inodes(struct

Re: [2.6 patch] remove Documentation/networking/pt.txt

2007-11-07 Thread David Miller
From: Alan Cox [EMAIL PROTECTED] Date: Mon, 5 Nov 2007 17:17:57 + On Mon, 5 Nov 2007 18:05:57 +0100 Adrian Bunk [EMAIL PROTECTED] wrote: There's no no point in keeping documentation for a driver that was removed many years ago. Signed-off-by: Adrian Bunk [EMAIL PROTECTED]

Re: [2.6 patch] remove Documentation/networking/routing.txt

2007-11-07 Thread David Miller
From: Adrian Bunk [EMAIL PROTECTED] Date: Mon, 5 Nov 2007 18:06:01 +0100 This file is so outdated that I can't see any value in keeping it. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Agreed, and applied. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: [2.6 patch] remove Documentation/networking/ncsa-telnet

2007-11-07 Thread David Miller
From: Adrian Bunk [EMAIL PROTECTED] Date: Mon, 5 Nov 2007 18:05:46 +0100 Newsflash: There once was a version of NCSA telnet that had some bug. Spotted by Pekka Pietikainen. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Applied. - To unsubscribe from this list: send the line unsubscribe

[PATCH] create /sys/.../power when CONFIG_PM is set

2007-11-07 Thread Daniel Drake
The CONFIG_SUSPEND changes in 2.6.23 caused a regression under certain configuration conditions (SUSPEND=n, USB_AUTOSUSPEND=y) where all USB device attributes in sysfs (idVendor, idProduct, ...) silently disappeared, causing udev breakage and more. The cause of this is that the /sys/.../power

Re: [2.6 patch] remove Documentation/networking/Configurable

2007-11-07 Thread David Miller
From: Adrian Bunk [EMAIL PROTECTED] Date: Mon, 5 Nov 2007 18:05:11 +0100 After more than 11 years this file does no longer contain much useful information. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Applied. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the

Re: [2.6 patch] remove comx driver docs

2007-11-07 Thread David Miller
From: Alan Cox [EMAIL PROTECTED] Date: Mon, 5 Nov 2007 17:18:37 + On Mon, 5 Nov 2007 18:04:45 +0100 Adrian Bunk [EMAIL PROTECTED] wrote: The drivers have already been removed 3.5 years ago. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Acked-by: Alan Cox [EMAIL PROTECTED]

Re: [PATCH] fix up perfmon to build on -mm

2007-11-07 Thread Stephane Eranian
Greg, On Tue, Nov 06, 2007 at 04:34:54PM -0800, Greg KH wrote: Here's a patch against my current tree that gets the perfmon code building and hopefully working. Thanks for your quick help. Note, it needs the kobject_create_and_register() patch which is in my tree, but I do not think it

Re: 2.6.23.1: mdadm/raid5 hung/d-state

2007-11-07 Thread BERTRAND Joël
Dan Williams wrote: On Tue, 2007-11-06 at 03:19 -0700, BERTRAND Joël wrote: Done. Here is obtained ouput : Much appreciated. [ 1260.969314] handling stripe 7629696, state=0x14 cnt=1, pd_idx=2 ops=0:0:0 [ 1260.980606] check 5: state 0x6 toread read

[PATCH] Fix isspace() and other ctype.h functions to ignore chars 128-255

2007-11-07 Thread Kyle Moffett
Originally isspace() and other similar functions in ctype.h ignored any character with the high bit set; however this was changed during the linux 2.1 days to map Latin-1. As following Latin-1 will most likely break UTF-8 any any *other* encoding that is backwards- compatible with

sata NCQ blacklist entry

2007-11-07 Thread Florian La Roche
Hello all, I've taking email addresses from the last NCQ blacklist changes going into the kernel. This Fujitsu drive also gives me spurious command completions. Detailed output also available at https://bugzilla.redhat.com/show_bug.cgi?id=366181. Let me know if you need more info or anything

2.6.24-rc2=another train wreck with amanda

2007-11-07 Thread Gene Heskett
Greetings; I have this line in my /etc/modprobe.conf: options dm-mod major=238 And I had a fsckup while building 2.6.24-rc2 cuz I thought it needed to be based on 2.6.23.1 that has made 2.6.24-rc2 the only kernel that will boot without a panic, killing init message. I can survive that, but

Re: [RFC] [PATCH 3/3] Recursive mtime for ext3

2007-11-07 Thread Jan Kara
On Tue 06-11-07 10:04:47, H. Peter Anvin wrote: Arjan van de Ven wrote: On Tue, 6 Nov 2007 18:19:45 +0100 Jan Kara [EMAIL PROTECTED] wrote: Implement recursive mtime (rtime) feature for ext3. The feature works as follows: In each directory we keep a flag EXT3_RTIME_FL (modifiable by a

[PATCH] sched: avoid large irq-latencies in smp-balancing

2007-11-07 Thread Peter Zijlstra
Subject: sched: avoid large irq-latencies in smp-balancing SMP balancing is done with IRQs disabled and can iterate the full rq. When rqs are large this can cause large irq-latencies. Limit the nr of iterations on each run. Signed-off-by: Peter Zijlstra [EMAIL PROTECTED] CC: Peter Williams

Re: [PATCH] sched: avoid large irq-latencies in smp-balancing

2007-11-07 Thread Peter Zijlstra
Bah, missed a hunk --- Subject: sched: avoid large irq-latencies in smp-balancing SMP balancing is done with IRQs disabled and can iterate the full rq. When rqs are large this can cause large irq-latencies. Limit the nr of iterations on each run. Signed-off-by: Peter Zijlstra [EMAIL PROTECTED]

Re: Re: BUG in: Driver core: convert block from raw kobjects to core devices (fwd)

2007-11-07 Thread Hannes Reinecke
Alan Stern wrote: On Mon, 5 Nov 2007, Greg KH wrote: On Mon, Nov 05, 2007 at 04:49:21PM -0500, Alan Stern wrote: Greg: So what's our status? Do you think it's worthwhile adding the drop reference to parent kobject at remove time instead of release time patch? No. I still need to

Re: sata NCQ blacklist entry

2007-11-07 Thread Tejun Heo
Florian La Roche wrote: Hello all, I've taking email addresses from the last NCQ blacklist changes going into the kernel. This Fujitsu drive also gives me spurious command completions. Detailed output also available at https://bugzilla.redhat.com/show_bug.cgi?id=366181. Let me know if

Re: [Patch] Allocate sparse vmemmap block above 4G

2007-11-07 Thread Dave Hansen
On Wed, 2007-11-07 at 15:07 +0800, Zou Nan hai wrote: Try to allocate sparse vmemmap block above 4G on x64 system. On some single node x64 system with huge amount of physical memory e.g 64G. the memmap size maybe very big. Could we just change the default bootmem behavior to allocate

Re: mm snapshot broken-out-2007-11-06-02-32 - ACPI functions broken

2007-11-07 Thread Kamalesh Babulal
Jean Delvare wrote: Hi Kamalesh, Le mardi 06 novembre 2007, Kamalesh Babulal a écrit : Hi Andrew, The kernel build fails, on powerpc while compiling the kernel with allyesconfig option drivers/hwmon/w83627hf.c:1631: error: implicit declaration of function

Re: [PATCH] fix up perfmon to build on -mm

2007-11-07 Thread Greg KH
On Wed, Nov 07, 2007 at 02:34:49AM -0800, Stephane Eranian wrote: Greg, On Tue, Nov 06, 2007 at 04:34:54PM -0800, Greg KH wrote: Here's a patch against my current tree that gets the perfmon code building and hopefully working. Thanks for your quick help. Note, it needs the

Re: [PATCH] fix up perfmon to build on -mm

2007-11-07 Thread Greg KH
On Wed, Nov 07, 2007 at 05:42:55AM -0800, Stephane Eranian wrote: Greg, Perfmon sysfs document has been updated following your adivce. you can check out in my perfmon tree the following commit: e83278f879e52ecee025effe9ad509fd51e4a516 Where is this git tree located? On

Re: [patch 04/23] dentries: Extract common code to remove dentry from lru

2007-11-07 Thread Christoph Lameter
On Wed, 7 Nov 2007, Jörn Engel wrote: Looks like it. Once this is fixed, feel free to add Acked-by: Joern Engel [EMAIL PROTECTED] Its in the slab defrag git now. I added the spelling fix and this one as a result of the discussions today. From: Christoph Lameter [EMAIL PROTECTED] Subject:

Re: [patch 14/23] inodes: Support generic defragmentation

2007-11-07 Thread Jörn Engel
On Wed, 7 November 2007 10:40:55 -0800, Christoph Lameter wrote: On Wed, 7 Nov 2007, Jörn Engel wrote: On Tue, 6 November 2007 17:11:44 -0800, Christoph Lameter wrote: +void *get_inodes(struct kmem_cache *s, int nr, void **v) +{ + int i; + + spin_lock(inode_lock); + for

Re: [PATCH] sched: avoid large irq-latencies in smp-balancing

2007-11-07 Thread Peter Zijlstra
On Wed, 2007-11-07 at 10:27 -0800, Andrew Morton wrote: On Wed, 07 Nov 2007 13:17:00 +0100 Peter Zijlstra [EMAIL PROTECTED] wrote: + { + .ctl_name = CTL_UNNUMBERED, + .procname = sched_nr_migrate, + .data = sysctl_sched_nr_migrate,

Re: [patch 04/23] dentries: Extract common code to remove dentry from lru

2007-11-07 Thread Jörn Engel
On Wed, 7 November 2007 10:55:09 -0800, Christoph Lameter wrote: From: Christoph Lameter [EMAIL PROTECTED] Subject: dcache: use the correct variable. We need to use loop instead of dentry Acked-by: Joern Engel [EMAIL PROTECTED] Signed-off-by: Christoph Lameter [EMAIL PROTECTED]

Re: [patch 14/23] inodes: Support generic defragmentation

2007-11-07 Thread Christoph Lameter
On Wed, 7 Nov 2007, Jörn Engel wrote: The pointer is for communication between the get and kick methods. get() can modify kick() behavior by returning a pointer to a data structure or using the pointer to set a flag. F.e. get() may discover that there is an unreclaimable object and

Re: [patch 04/23] dentries: Extract common code to remove dentry from lru

2007-11-07 Thread Christoph Lameter
On Wed, 7 Nov 2007, Jörn Engel wrote: Acked-by: Joern Engel [EMAIL PROTECTED] Signed-off-by: Christoph Lameter [EMAIL PROTECTED] Index: linux-2.6/fs/dcache.c === --- linux-2.6.orig/fs/dcache.c 2007-11-07

Re: [PATCH] fix incorrect test in trident_ac97_set(); sound/oss/trident.c

2007-11-07 Thread Ray Lee
On Nov 7, 2007 10:50 AM, Roel Kluin [EMAIL PROTECTED] wrote: If count reaches zero, the loop ends, but the postfix decrement still subtracts: testing for 'count == 0' will not work. Signed-off-by: Roel Kluin [EMAIL PROTECTED] --- diff --git a/sound/oss/trident.c b/sound/oss/trident.c

[PATCH] dmaengine: Fix broken device refcounting

2007-11-07 Thread Dan Williams
From: Haavard Skinnemoen [EMAIL PROTECTED] When a DMA device is unregistered, its reference count is decremented twice for each channel: Once dma_class_dev_release() and once in dma_chan_cleanup(). This may result in the DMA device driver's remove() function completing before all channels have

Re: [PATCH] fix incorrect test in trident_ac97_set(); sound/oss/trident.c

2007-11-07 Thread Ray Lee
On Nov 7, 2007 10:34 AM, Roel Kluin [EMAIL PROTECTED] wrote: If count reaches zero, the loop ends, but the postfix decrement subtracts it. so, testing for 'count == 0' will not work. Signed-off-by: Roel Kluin [EMAIL PROTECTED] --- diff --git a/sound/oss/trident.c b/sound/oss/trident.c index

Re: x86_64 ten times slower than i386

2007-11-07 Thread Jesse Barnes
On Monday, November 05, 2007 4:26 Andi Kleen wrote: On Mon, Nov 05, 2007 at 08:32:24AM -0800, Ray Lee wrote: (Don't trim cc:s.) On Nov 5, 2007 8:00 AM, Bo Brantén [EMAIL PROTECTED] wrote: Intel Core 2 Quad and I noticed that the 64-bit versions was at least 10 times slower than the

Re: mm snapshot broken-out-2007-11-06-02-32 build failure init/do_mount

2007-11-07 Thread Kamalesh Babulal
Hi Andrew, The kernel build fails with randconfig, with folllowing error init/do_mounts.c: In function ‘name_to_dev_t’: init/do_mounts.c:110: error: implicit declaration of function ‘blk_lookup_devt’ make[1]: *** [init/do_mounts.o] Error 1 make: *** [init] Error 2 This is caused by

[PATCH 1/5] UML - Delete some unused headers

2007-11-07 Thread Jeff Dike
Robert Day noticed a few unused headers in UML, so this gets rid of them. Cc: Robert P. J. Day [EMAIL PROTECTED] Signed-off-by: Jeff Dike [EMAIL PROTECTED] --- arch/um/include/misc_constants.h |6 -- arch/um/include/signal_kern.h| 22 --

[PATCH 3/5] UML - Tidy kern_util.h

2007-11-07 Thread Jeff Dike
Tidy kern_util.h. It turns out that most of the function declarations aren't used, so they can go away. os.h no longer includes kern_util.h, so files which got it through os.h now need to include it directly. A number of other files never needed it, so these includes are deleted. The structure

[PATCH] fix incorrect test in trident_ac97_set(); sound/oss/trident.c

2007-11-07 Thread Roel Kluin
If count reaches zero, the loop ends, but the postfix decrement subtracts it. so, testing for 'count == 0' will not work. Signed-off-by: Roel Kluin [EMAIL PROTECTED] --- diff --git a/sound/oss/trident.c b/sound/oss/trident.c index 96adc47..94b5fb4 100644 --- a/sound/oss/trident.c +++

Re: [patch 07/23] SLUB: Add defrag_ratio field and sysfs support.

2007-11-07 Thread Christoph Lameter
On Wed, 7 Nov 2007, Johannes Weiner wrote: Hi Christoph, On Tue, Nov 06, 2007 at 05:11:37PM -0800, Christoph Lameter wrote: --- linux-2.6.orig/include/linux/slub_def.h 2007-11-06 12:36:28.0 -0800 +++ linux-2.6/include/linux/slub_def.h 2007-11-06 12:37:44.0 -0800

Re: [patch 04/23] dentries: Extract common code to remove dentry from lru

2007-11-07 Thread Christoph Lameter
On Wed, 7 Nov 2007, Johannes Weiner wrote: Hi Christoph, On Tue, Nov 06, 2007 at 05:11:34PM -0800, Christoph Lameter wrote: @@ -613,11 +606,7 @@ static void shrink_dcache_for_umount_sub spin_lock(dcache_lock); list_for_each_entry(loop,

Re: [BUG] Linux 2.6.24-rc2 - oom-killer gets invoked

2007-11-07 Thread Andrew Morton
On Wed, 07 Nov 2007 12:47:16 +0530 Kamalesh Babulal [EMAIL PROTECTED] wrote: Hi, oom-killer got invoked while running ltp-runall on the 2.6.24-rc2 kernel. python invoked oom-killer: gfp_mask=0x1201d2, order=0, oomkilladj=0 Call Trace: [8026b03b] oom_kill_process+0x4f/0xf5

Re: [RFC PATCH 0/10] split anon and file LRUs

2007-11-07 Thread Rik van Riel
On Wed, 7 Nov 2007 09:59:45 -0800 Andrew Morton [EMAIL PROTECTED] wrote: On Tue, 6 Nov 2007 21:51:27 -0500 Rik van Riel [EMAIL PROTECTED] wrote: Which is why we need to greatly reduce the number of pages scanned to free a page. In all workloads. It strikes me that splitting one list

Re: [PATCH] slab: fix typo in allocation failure handling

2007-11-07 Thread Christoph Lameter
Very very strange code. Acked-by: Christoph Lameter [EMAIL PROTECTED] - 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

Re: [RFC PATCH 3/10] define page_file_cache

2007-11-07 Thread Christoph Lameter
On Wed, 7 Nov 2007, Rik van Riel wrote: How exactly can an anonymous page ever become file backed? When they get assigned a swap entry. Do ramfs pages count as memory backed? Since ramfs pages cannot be evicted from memory at all, they should go into the noreclaim page set. Which LRU do

Re: [patch 00/23] Slab defragmentation V6

2007-11-07 Thread Christoph Lameter
On Wed, 7 Nov 2007, Peter Zijlstra wrote: On Tue, 2007-11-06 at 17:11 -0800, Christoph Lameter wrote: Slab defragmentation I thought we had agreed that: targeted reclaim, was a more suitable term for this work as it does not do compaction. It does compaction by removing less populated

Re: [PATCH 1/1] V4L: stk11xx, add a new webcam driver

2007-11-07 Thread Mauro Carvalho Chehab
Seem that something in git-dvb (or mainline) broke this driver: drivers/media/video/stk11xx-core.c: In function 'show_contrast': drivers/media/video/stk11xx-core.c:707: warning: initialization from incompatible pointer type drivers/media/video/stk11xx-core.c: In function

Re: pxeboot broken by commit x86 setup: handle boot loaders which set up the stack incorrectly

2007-11-07 Thread H. Peter Anvin
Yinghai Lu wrote: good to know. everyone need to update to 3.52 now... but i still can not understand why that mcp55 system works but the ck804 based doesn't on 3.10 The bug is that syslinux incorrectly positions the stack above the command line (but not the stack pointer register; hence

Re: [PATCH 1/2] Suppress A.OUT library support in ELF binfmt if !CONFIG_BINFMT_AOUT [try #3]

2007-11-07 Thread Mike Frysinger
On 11/7/07, David Howells [EMAIL PROTECTED] wrote: arch/blackfin/kernel/bfin_ksyms.c |1 - arch/blackfin/kernel/process.c |7 +-- include/asm-blackfin/a.out.h|6 -- include/asm-blackfin/processor.h|4 we're going to opt to simply delete any

[PATCH 0/2] MN10300: Add the MN10300 architecture to Linux kernel [try #3]

2007-11-07 Thread David Howells
These patches add the MEI/Panasonic MN10300/AM33 architecture to the Linux kernel. The first patch suppresses AOUT support in the kernel if CONFIG_BINFMT_AOUT=n and CONFIG_IA32_AOUT=n. MN10300 does not support the AOUT binfmt, so the ELF binfmt should not be permitted to go looking for AOUT

Re: PATCH [2/8] scsi: megaraid_sas - add module param fast_load

2007-11-07 Thread Christoph Hellwig
On Tue, Nov 06, 2007 at 12:04:31PM -0700, Yang, Bo wrote: I see that scsi_scan_host_selected is in scsi_priv.h and currently is not used by any other driver. The scsi_priv.h is not part of the include dir (/include/scsi). One of the major Linux distro's don't even include this file in

Re: [PATCH] fix up perfmon to build on -mm

2007-11-07 Thread Andrew Morton
On Wed, 7 Nov 2007 09:08:20 -0800 Greg KH [EMAIL PROTECTED] wrote: On Wed, Nov 07, 2007 at 05:42:55AM -0800, Stephane Eranian wrote: Greg, Perfmon sysfs document has been updated following your adivce. you can check out in my perfmon tree the following commit:

Re: Use of virtio device IDs

2007-11-07 Thread Anthony Liguori
Rusty Russell wrote: On Wednesday 07 November 2007 16:40:13 Avi Kivity wrote: Gregory Haskins wrote: but FWIW: This is a major motivation for the reason that the IOQ stuff I posted a while back used strings for device identification instead of a fixed length, centrally managed

[PATCH] x86: fix compile error if !CONFIG_ACPI

2007-11-07 Thread Andreas Herrmann
Following patch is against cleanup branch of the x86 tree. Regards, Andreas -- [PATCH] x86: fix compile error if !CONFIG_ACPI arch/x86/kernel/setup_64.c: In setup_: arch/x86/kernel/setup_64.c:412: error: implicit declaration of function early_ quirks Move declaration of early_quirks to

Re: [PATCH] virtio config_ops refactoring

2007-11-07 Thread Anthony Liguori
Rusty Russell wrote: After discussion with Anthony, the virtio config has been simplified. We lose some minor features (the virtio_net address must now be 6 bytes) but it turns out to be a wash in terms of complexity, while simplifying PCI. Hi Rusty, Thanks for posting this! It's really

Re: [PATCH] frv: Remove bogus NO_IRQ = -1 define

2007-11-07 Thread David Howells
Alan Cox [EMAIL PROTECTED] wrote: The old NO_IRQ define some platforms had was long ago declared obsolete and wrong. FRV should therefore not be re-introducing this, especially as IRQs are usually unsigned in the kernel. The no IRQ case is defined to be zero and Linus made this rather clear

Re: r8169: NFG in 2.6.24-rc2

2007-11-07 Thread Mark Lord
Mark Lord wrote: My ASUS board has one of these: 01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01) Subsystem: ASUSTeK Computer Inc. Unknown device 81aa Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV-

Re: [RFC/PATCH] AVR32: Oprofile support

2007-11-07 Thread Philippe Elie
On Wed, 07 Nov 2007 at 15:05 +, Haavard Skinnemoen wrote: This adds the necessary architecture code to run oprofile on AVR32 using the performance counters documented by the AVR32 Architecture Manual. Did you post the user space change to [EMAIL PROTECTED] ? -- regards, Phe - To

Re: [to-be-posted-soon] Multiple handlers per marker

2007-11-07 Thread Mathieu Desnoyers
* Mike Mason ([EMAIL PROTECTED]) wrote: Mathieu Desnoyers wrote: * Mike Mason ([EMAIL PROTECTED]) wrote: Mathieu Desnoyers wrote: * Mathieu Desnoyers ([EMAIL PROTECTED]) wrote: * Mathieu Desnoyers ([EMAIL PROTECTED]) wrote: * Mike Mason ([EMAIL PROTECTED]) wrote: Hi Mathieu, Are you aware

Re: [PATCH] create /sys/.../power when CONFIG_PM is set

2007-11-07 Thread Alan Stern
On Wed, 7 Nov 2007, Daniel Drake wrote: The CONFIG_SUSPEND changes in 2.6.23 caused a regression under certain configuration conditions (SUSPEND=n, USB_AUTOSUSPEND=y) where all USB device attributes in sysfs (idVendor, idProduct, ...) silently disappeared, causing udev breakage and more.

Re: [RFC] [PATCH] PNP: request ioport and iomem resources used by active devices

2007-11-07 Thread Bjorn Helgaas
On Wednesday 07 November 2007 06:22:48 am Maciej W. Rozycki wrote: On Mon, 29 Oct 2007, Bjorn Helgaas wrote: -001f : dma1-- built-in resource includes 2 controllers -000f : 00:02 -- PNP reports only one DMA controller [...] 0060-006f :

Re: [ANN] Squashfs 3.3 released

2007-11-07 Thread Phillip Lougher
maximilian attems wrote: On Mon, Nov 05, 2007 at 11:13:14AM +, Phillip Lougher wrote: The next stage after this release is to fix the one remaining blocking issue (filesystem endianness), and then try to get Squashfs mainlined into the Linux kernel again. that would be very cool! Yes,

Re: Linux 2.6.24-rc2 build fails: implicit declaration of function ‘smp_call_function_mask'

2007-11-07 Thread Randy Dunlap
On Wed, 7 Nov 2007 10:55:55 +0100 Matthias Kaehlcke wrote: v2.6.24-rc2 fails to build on my box with the following error: CC [M] drivers/kvm/kvm_main.o drivers/kvm/kvm_main.c: In function ‘kvm_flush_remote_tlbs’: drivers/kvm/kvm_main.c:220: error: implicit declaration of function

[PATCH] x86 - 32-bit ptrace emulation mishandles 6th arg

2007-11-07 Thread Jeff Dike
From: Chuck Ebbert [EMAIL PROTECTED] [ jdike - Pushing Chuck's patch - see http://lkml.org/lkml/2005/9/16/261 for some history and a test program. UML is also broken without this patch - its processes get SIGBUS from the corrupt 6th argument to mmap being interpretted as a file offset ] When

Re: Re: BUG in: Driver core: convert block from raw kobjects to core devices (fwd)

2007-11-07 Thread Alan Stern
On Wed, 7 Nov 2007, Hannes Reinecke wrote: Alan Stern wrote: Thus we have a cycle: 12: request_queue isn't released before scsi_device; 3: scsi_device isn't released before gendisk; 4: gendisk isn't released before request_queue. The dependency in 12 is

Re: [patch] audit support for SH

2007-11-07 Thread Steve Grubb
On Wednesday 07 November 2007 12:04:46 am Yuichi Nakamura wrote: I found syscall audit does not work on SH(SuperH). I made patch to support syscall audit for SH. I think this is close, but it looks like you missed the syscall classification piece. You can find an example here:

2.6.24-rc1: pata_amd fails to detect 80-pin wire

2007-11-07 Thread Thomas Lindroth
After upgrading to 2.6.24-rc1 I get the message ata6.00: limited to UDMA/33 due to 40-wire cable. The 2.6.23 kernel does not complain and activates DMA for the channel. I'm using an nforce 4 board with the following ata devices: channel1, master: disk IC35L120AVVA07-0 120gig channel1, slave:

Re: SC1200 failure in 2.6.23 and 2.6.24-rc1-git10

2007-11-07 Thread Mark Lord
WRAP ~ #./hdparm -I /dev/hda /dev/hda: ATAPI Write-once device, with non-removable media Model Number: SanDisk SDP3B-16 Serial Number: 24313671615 Firmware Revision: vdd 1.00 Standards: Likely used: 3 Configuration: DRQ response: 50us.

Re: [PATCH] Smackv10: Smack rules grammar + their stateful parser

2007-11-07 Thread Alan Cox
Users are used to work on characters, not on bytes. Absolutely true - but completely missing the point. When I open a UTF-8 file name as displayed by nautilus the kernel does byte comparisons. The kernel doesn't care what character set is in use. So you either implement match one byte, or

Re: [PATCH] fat: silence warning for 64KB PAGE_SIZE builds

2007-11-07 Thread OGAWA Hirofumi
Olof Johansson [EMAIL PROTECTED] writes: Annoying gcc warning: fs/fat/inode.c: In function 'fat_fill_super': fs/fat/inode.c:1222: warning: comparison is always false due to limited range of data type Change it to compare with 4K instead of PAGE_CACHE_SIZE, as suggested by OGAWA-san.

Re: [RFC] [PATCH 3/3] Recursive mtime for ext3

2007-11-07 Thread Jan Kara
On Tue 06-11-07 18:01:00, Al Viro wrote: On Tue, Nov 06, 2007 at 06:19:45PM +0100, Jan Kara wrote: Implement recursive mtime (rtime) feature for ext3. The feature works as follows: In each directory we keep a flag EXT3_RTIME_FL (modifiable by a user) whether rtime should be updated. In

Re: [PATCH 1/2] libata: Support PIO polling-only hosts.

2007-11-07 Thread Paul Mundt
On Wed, Nov 07, 2007 at 09:09:30AM -0500, Mark Lord wrote: Paul Mundt wrote: On Wed, Nov 07, 2007 at 01:09:40PM +, Alan Cox wrote: On Wed, 7 Nov 2007 17:10:52 +0900 Paul Mundt [EMAIL PROTECTED] wrote: By default ata_host_activate() expects a valid IRQ in order to successfully register

Re: Linux 2.6.24-rc2 build fails: implicit declaration of function ‘smp_call_function_mask'

2007-11-07 Thread Miguel Botón
On Wednesday 07 November 2007 10:55:55 Matthias Kaehlcke wrote: v2.6.24-rc2 fails to build on my box with the following error: CC [M] drivers/kvm/kvm_main.o drivers/kvm/kvm_main.c: In function ???kvm_flush_remote_tlbs???: drivers/kvm/kvm_main.c:220: error: implicit declaration of function

Re: 2.6.24-rc1-git15 Kernel build fails on powerpc - Unrecognized opcode: `dssall'

2007-11-07 Thread Johannes Berg
On Wed, 2007-11-07 at 10:38 +0100, Johannes Berg wrote: So that sounds like a Kconfig problem then? That HIBERATION requires ALITIVEC and yet does not depend on it or set it. Yes. I'm guessing that it broke with Rafael's hibernation/suspend Kconfig changes but will take a look. I think

  1   2   3   4   5   6   7   8   >