[PATCH] Fix find_next_best_node (Re: [BUG] 2.6.23-rc3-mm1 Kernel panic - not syncing: DMA: Memory would be corrupted)

2007-08-23 Thread Yasunori Goto
I found find_next_best_node() was wrong. I confirmed boot up by the following patch. Mel-san, Kamalesh-san, could you try this? Bye. --- Fix decision of memoryless node in find_next_best_node(). This can be cause of SW-IOMMU's allocation failure. This patch is for 2.6.23-rc3-mm1. Signed-off-by

Re: [PATCH] Fix preemptible lazy mode bug

2007-08-23 Thread Jeremy Fitzhardinge
Zachary Amsden wrote: > I recently sent off a fix for lazy vmalloc faults which can happen > under paravirt when lazy mode is enabled. Unfortunately, I jumped the > gun a bit on fixing this. I neglected to notice that since the new > call to flush the MMU update queue is called from the page faul

[PATCH v2] MAINTTAINERS: update DCO info

2007-08-23 Thread Randy Dunlap
From: Randy Dunlap <[EMAIL PROTECTED]> Drop the URL for DCO (URL is invalid). Also, point to SubmittingPatches for the current DCO. Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]> --- MAINTAINERS |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) --- linux-2.6.23-rc3-git6.orig/MAIN

Re: [Cbe-oss-dev] [PATCH] PS3: Update MAINTAINERS

2007-08-23 Thread Hugh Blemings
Hiya Satyam, All, > > > [PATCH] PS3: Update MAINTAINERS > > > > > > Cell Broadband Engine OSS Development <[EMAIL PROTECTED]> is an > > > subscribers-only mailing list. > > > > > > Signed-off-by: Satyam Sharma <[EMAIL PROTECTED]> > > > > > > [...] > > > > As per recent discussions... > > > > T

Re: [-mm patch] enforce noreplace-smp in alternative_instructions()

2007-08-23 Thread Jeremy Fitzhardinge
Frederik Deweerdt wrote: > That means that even when you specify noreplace_smp, some replacing > takes place anyway. One of the consequences, besides noreplace_smp not > working as expected, is that lguest crashes when you feed it an SMP kernel > (I suspect that you can not replace alternatives for

Re: [Cbe-oss-dev] [PATCH] PS3: Update MAINTAINERS

2007-08-23 Thread Satyam Sharma
On Fri, 24 Aug 2007, Hugh Blemings wrote: > Hi Satyam, All, > > > [PATCH] PS3: Update MAINTAINERS > > > > Cell Broadband Engine OSS Development <[EMAIL PROTECTED]> is an > > subscribers-only mailing list. > > > > Signed-off-by: Satyam Sharma <[EMAIL PROTECTED]> > > > > [...] > > As per recen

Re: [Cbe-oss-dev] [PATCH] PS3: Update MAINTAINERS

2007-08-23 Thread Hugh Blemings
Hi Satyam, All, > [PATCH] PS3: Update MAINTAINERS > > Cell Broadband Engine OSS Development <[EMAIL PROTECTED]> is an > subscribers-only mailing list. > > Signed-off-by: Satyam Sharma <[EMAIL PROTECTED]> > > [...] As per recent discussions... The list is moderated for SPAM prevention, messages

Re: [BUG] 2.6.23-rc3-mm1 kernel BUG at mm/page_alloc.c:2876!

2007-08-23 Thread Kamalesh Babulal
Christoph Lameter wrote: On Thu, 23 Aug 2007, Kamalesh Babulal wrote: After applying the patch, the call trace is gone but the kernel bug is still hit Yes that is what we expected. We need more information to figure out why the kmalloc_node fails there. It should walk through all nod

Re: [-mm patch] enforce noreplace-smp in alternative_instructions()

2007-08-23 Thread Frederik Deweerdt
On Thu, Aug 23, 2007 at 04:16:17PM -0700, Jeremy Fitzhardinge wrote: > Frederik Deweerdt wrote: > > On Wed, Aug 22, 2007 at 02:06:48AM -0700, Andrew Morton wrote: > > > >> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc3/2.6.23-rc3-mm1/ > >> > >> > > Hi Jeremy, > > >

Re: [patch] CFS scheduler, -v20, for v2.6.22.5, v2.6.21.7, v2.6.20.16

2007-08-23 Thread Ingo Molnar
* Bruce Ashfield <[EMAIL PROTECTED]> wrote: > On 8/23/07, Ingo Molnar <[EMAIL PROTECTED]> wrote: > > > > By popular demand, here is release -v20 of the CFS scheduler. It is a > > full backport of the latest & greatest v2.6.23-rc3 CFS code to > > v2.6.22.5, v2.6.21.7 and v2.6.20.16. The patches ca

Re: [PATCH v2 -mm 4/7] I/OAT: Split PCI startup from DMA handling code

2007-08-23 Thread Randy Dunlap
On Thu, 23 Aug 2007 17:15:12 -0700 Shannon Nelson wrote: > Split the general PCI startup from the DMA handling code in order to > prepare for adding support for DCA services and future versions of the > ioatdma device. > > Signed-off-by: Shannon Nelson <[EMAIL PROTECTED]> > Acked-by: David S. Mil

Re: [-mm patch] enforce noreplace-smp in alternative_instructions()

2007-08-23 Thread Frederik Deweerdt
On Thu, Aug 23, 2007 at 02:50:38PM -0700, Andrew Morton wrote: > On Wed, 22 Aug 2007 22:25:51 +0200 > Frederik Deweerdt <[EMAIL PROTECTED]> wrote: > > > On Wed, Aug 22, 2007 at 02:06:48AM -0700, Andrew Morton wrote: > > > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-

Re: what does this mean: "kernel: 7.0.0.1:53 L=79 S=0x00 I=39869 F=0x4000 T=64"

2007-08-23 Thread martin f krafft
also sprach Alexander E. Patrakov <[EMAIL PROTECTED]> [2007.08.23.1847 +0200]: > However, the style does look similar to a message in ipw2100.c: > > IPW_DEBUG_TX("TX%d V=%p P=%04X T=%04X L=%d\n", i, > &txq->drv[i], > (u32) (txq->nic + i * sizeof(struct ipw2100_bd)), >

Re: [PATCH] sched: Reduce overhead in balance_tasks()

2007-08-23 Thread Ingo Molnar
* Peter Williams <[EMAIL PROTECTED]> wrote: > At the moment, balance_tasks() provides low level functionality for > both > move_tasks() and move_one_task() (indirectly) via the load_balance() > function (in the sched_class interface) which also provides dual > functionality. This dual functi

Re: [PATCH v2 -mm 6/7] DCA: Add Direct Cache Access driver

2007-08-23 Thread Randy Dunlap
On Thu, 23 Aug 2007 17:15:22 -0700 Shannon Nelson wrote: > Signed-off-by: Shannon Nelson <[EMAIL PROTECTED]> > Acked-by: David S. Miller <[EMAIL PROTECTED]> > --- > > drivers/Kconfig |2 + > drivers/Makefile|1 > drivers/dca/Kconfig | 11 +++ > drivers/dca/Makefile

Re: [PATCH] PS3: Update MAINTAINERS

2007-08-23 Thread Hugh Blemings
Hi Matt, All, > The drawback is mostly in getting the rejection/moderation message. > > Whitelisting is fine. If you configure the list to not send the > moderation warning to legitimate non-subscribers, you'll eliminate 99% > of the annoyance. Good call, have changed the configuration according

[PATCH] Fix preemptible lazy mode bug

2007-08-23 Thread Zachary Amsden
I recently sent off a fix for lazy vmalloc faults which can happen under paravirt when lazy mode is enabled. Unfortunately, I jumped the gun a bit on fixing this. I neglected to notice that since the new call to flush the MMU update queue is called from the page fault handler, it can be pre-e

Re: [patch 1/1] md: Software Raid autodetect dev list not array

2007-08-23 Thread Michael Evans
I'll look at this again on my next weekend and make the changes. If it exists I'd rather it functioned without issues. My initrds are created by gentoo's genkernel script, which places dmraid on them. I'm not sure if it supports autodetect or not. On 8/24/07, Neil Brown <[EMAIL PROTECTED]> wrote

Re: [PATCH (take 2)] request_irq fix DEBUG_SHIRQ handling Re: 2.6.23-rc2-mm1: rtl8139 inconsistent lock state

2007-08-23 Thread Jarek Poplawski
On Thu, Aug 23, 2007 at 10:44:30AM +0200, Jarek Poplawski wrote: > Andrew Morton pointed out that my changelog was unusable. Sorry! > Here is a second try with the changelog and kernel version changed. ... > >(take 2) > > Subject: request_irq() - fix DEBUG_SHIRQ handling ... > Signed-o

Re: [PATCH v2 -mm 3/7] I/OAT: code cleanup from checkpatch output

2007-08-23 Thread Randy Dunlap
On Thu, 23 Aug 2007 17:15:06 -0700 Shannon Nelson wrote: > Take care of a bunch of little code nits in ioatdma files > > Signed-off-by: Shannon Nelson <[EMAIL PROTECTED]> > Acked-by: David S. Miller <[EMAIL PROTECTED]> > --- > > drivers/dma/ioat_dma.c | 200 > +++--

Re: 2.6.22.5 forcedeth timeout hang

2007-08-23 Thread Willy Tarreau
On Thu, Aug 23, 2007 at 06:48:23PM -0500, Mr. Berkley Shands wrote: > 100% reproducible hang on xmit timeout. > Just do a "make -j4 modules" on an nfs mounted kernel source. Most likely you also had the problem with 2.6.22.2 (maybe you have not tested this one, though). There were bug fixes for fo

Re: [patch] CFS scheduler, -v20, for v2.6.22.5, v2.6.21.7, v2.6.20.16

2007-08-23 Thread Willy Tarreau
Hi Ingo, On Thu, Aug 23, 2007 at 11:43:46AM +0200, Ingo Molnar wrote: > > By popular demand, here is release -v20 of the CFS scheduler. It is a > full backport of the latest & greatest v2.6.23-rc3 CFS code to > v2.6.22.5, v2.6.21.7 and v2.6.20.16. Great, thanks a lot ! I had been grepping 2.6.

Re: [PATCH] Fix rmmod of asus_laptop

2007-08-23 Thread Len Brown
Applied. thanks, -Len On Thursday 16 August 2007 12:18, Guillaume Chazarain wrote: > [Resent, with a bigger recipients list] > > Hi, > > The asus laptop driver conditionnaly registers leds in asus_led_register() > depending on their availability, but unconditionnaly registers them all at > exit

Re: [patch 04/14] Convert from class_device to device for drivers/macintosh

2007-08-23 Thread Benjamin Herrenschmidt
On Mon, 2007-08-20 at 15:48 -0700, [EMAIL PROTECTED] wrote: > -- > Content-Disposition: inline; filename=macintosh.patch > > Convert from class_device to device for macintosh. This is part of the > work to eliminate struct class_device. Good. That stuff shouldn't have been a class in the first

Re: [PATCH take #2] MAINTAINTERS: use our mail list as Blackfin arch maintainters.

2007-08-23 Thread Matt Mackall
On Fri, Aug 24, 2007 at 12:04:47PM +0800, Bryan Wu wrote: > On Thu, 2007-08-23 at 19:24 -0500, Matt Mackall wrote: > > On Wed, Aug 22, 2007 at 10:55:11PM +0800, Bryan Wu wrote: > > > -L: [EMAIL PROTECTED] (subscribers-only) > > > +L: [EMAIL PROTECTED] > > > > Does your list generate a

Re: [Tech-board-discuss] Re: [Ksummit-2007-discuss] Re: Linux Foundation Technical Advisory Board Elections

2007-08-23 Thread Adrian Bunk
On Thu, Aug 23, 2007 at 08:55:04PM -0600, Matthew Wilcox wrote: > On Thu, Aug 23, 2007 at 09:52:54PM -0500, Matt Mackall wrote: > > The other part of the puzzle is including the wider Linux community. > > As I said; what's wrong with just using SPI membership? It's not like > it is remotely hard

Re: [PATCH 28/30] jfs: avoid pointless casts of kmalloc() return val

2007-08-23 Thread Dave Kleikamp
Thanks, but Jack Stone submitted the same patch a few weeks ago. It's already in the jfs git tree and the -mm kernel. Shaggy On Fri, 2007-08-24 at 02:36 +0200, Jesper Juhl wrote: > There's no need to cast the, void *, return value of kmalloc() when > assigning to a pointer variable. > > Signed-

Re: [PATCH take #2] MAINTAINTERS: use our mail list as Blackfin arch maintainters.

2007-08-23 Thread Bryan Wu
On Thu, 2007-08-23 at 19:24 -0500, Matt Mackall wrote: > On Wed, Aug 22, 2007 at 10:55:11PM +0800, Bryan Wu wrote: > > -L: [EMAIL PROTECTED] (subscribers-only) > > +L: [EMAIL PROTECTED] > > Does your list generate a complaint message back to the sender if a > non-subscriber posts to it? If so, it

Re: [PATCH] lguest should depend on CONFIG_FUTEX

2007-08-23 Thread Rusty Russell
On Thu, 2007-08-23 at 17:25 +0400, Alexey Dobriyan wrote: > It uses get_futex_key(). > > Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> Good catch. Thanks, sent to Linus. Cheers, Rusty. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [E

Re: [RFC 2/9] Use NOMEMALLOC reclaim to allow reclaim if PF_MEMALLOC is set

2007-08-23 Thread Nick Piggin
On Thu, Aug 23, 2007 at 11:26:48AM +0200, Peter Zijlstra wrote: > On Thu, 2007-08-23 at 05:38 +0200, Nick Piggin wrote: > > On Tue, Aug 21, 2007 at 04:07:15PM +0200, Peter Zijlstra wrote: > > > On Tue, 2007-08-21 at 02:39 +0200, Nick Piggin wrote: > > > > > > > > Although interestingly, we are not

[PATCH 2/2] sysctl: For irda update sysctl_checks list of binary paths.

2007-08-23 Thread Eric W. Biederman
It turns out that the net/irda code didn't register any of it's binary paths in the global sysctl.h header file so I missed them completely when making an authoritative list of binary sysctl paths in the kernel. So add them to the list of valid binary sysctl paths. Signed-off-by: Eric W. Biederm

[PATCH 1/2] sysctl: Properly register the irda binary sysctl numbers.

2007-08-23 Thread Eric W. Biederman
Grumble. These numbers should have been in sysctl.h from the beginning if we ever expected anyone to use them. Oh well put them there now so we can find them and make maintenance easier. Signed-off-by: Eric W. Biederman <[EMAIL PROTECTED]> --- include/linux/sysctl.h | 20

Re: 2.6.23-rc3-mm1 - irda goes belly up

2007-08-23 Thread Eric W. Biederman
Andrew Morton <[EMAIL PROTECTED]> writes: > > Yes, the ENOMEM is bogus. But irda_sysctl_register() saw a NULL return > from register_sysctl_table() and simply has no clue why it failed, and is > forced to assume ENOMEM. That's a design shortcoming in > register_sysctl_table(), whcih should have r

[PATCH] clean up exports in fs/{open,read_write}.c

2007-08-23 Thread Eugene Teo
Takashi-san fixed sound/isa/wavefront/wavefront_synth.c to use request_firmware instead of sys_*. Since that is the last driver in the kernel that uses sys_{read,close}, this patch kills these exports. sys_open is left exported for sparc64 only. Cc: Takashi Iwai <[EMAIL PROTECTED]> Cc: Christoph H

Re: [patch 1/1] md: Software Raid autodetect dev list not array

2007-08-23 Thread Neil Brown
On Wednesday August 22, [EMAIL PROTECTED] wrote: > From: Michael J. Evans <[EMAIL PROTECTED]> > > In current release kernels the md module (Software RAID) uses a static array > (dev_t[128]) to store partition/device info temporarily for autostart. > > This patch replaces that static array with a

Re: [Tech-board-discuss] Re: [Ksummit-2007-discuss] Re: Linux Foundation Technical Advisory Board Elections

2007-08-23 Thread Matt Mackall
On Thu, Aug 23, 2007 at 08:55:04PM -0600, Matthew Wilcox wrote: > On Thu, Aug 23, 2007 at 09:52:54PM -0500, Matt Mackall wrote: > > The other part of the puzzle is including the wider Linux community. > > As I said; what's wrong with just using SPI membership? It's not like > it is remotely hard

Re: 2.6.23-rc3-mm1 - irda goes belly up

2007-08-23 Thread Eric W. Biederman
Andrew Morton <[EMAIL PROTECTED]> writes: > > Cute. Eric, can you please suggest what we should do here? Grumble. Ok. This is a two sided bug. The NET_IRDA define as not put in sysctl.h where it belongs so I missed it, when making the list of all existing binary sysctls. So really I need to p

[PATCH][resend] fix IDE legacy mode resources

2007-08-23 Thread Yoichi Yuasa
Hi, I got the following error on MIPS Cobalt. PCI: Unable to reserve I/O region #1:[EMAIL PROTECTED] for device :00:09.1 pata_via :00:09.1: failed to request/iomap BARs for port 0 (errno=-16) PCI: Unable to reserve I/O region #3:[EMAIL PROTECTED] for device :00:09.1 pata_via :00:0

Re: [Tech-board-discuss] Re: [Ksummit-2007-discuss] Re: Linux Foundation Technical Advisory Board Elections

2007-08-23 Thread Matthew Wilcox
On Thu, Aug 23, 2007 at 09:52:54PM -0500, Matt Mackall wrote: > The other part of the puzzle is including the wider Linux community. As I said; what's wrong with just using SPI membership? It's not like it is remotely hard for kernel hackers to gain membership in SPI. And somebody else takes car

Re: [Tech-board-discuss] Re: [Ksummit-2007-discuss] Re: Linux Foundation Technical Advisory Board Elections

2007-08-23 Thread Matt Mackall
On Thu, Aug 23, 2007 at 09:34:34PM -0500, Josh Boyer wrote: > On 8/23/07, Andy Isaacson <[EMAIL PROTECTED]> wrote: > > On Wed, Aug 22, 2007 at 08:35:07PM -0500, James Bottomley wrote: > > > > While I think that's laudable, we definitely don't have the resources > > > > for that, as everyone on the

Possible problems reading a DVD-RAM disc

2007-08-23 Thread TheOneKEA
While doing a long mega-copy from one side of a DVD-RAM disc formatted with the vfat filesystem to an smbfs network share, I got lots and lots of these in the dmesg: Buffer I/O error on device sr0, logical block 4396 lost page write due to I/O error on sr0 sr 6:0:0:0: [sr0] Result: hostbyte=0x00 d

Re: [PATCH 4/9] s2io, rename BIT macro

2007-08-23 Thread Richard Knutsson
Jiri Slaby wrote: s2io, rename BIT macro BIT macro will be global definiton of (1< --- [snip] cnt++; if (cnt == 5) diff --git a/drivers/net/s2io.h b/drivers/net/s2io.h index 92983ee..448f899 100644 --- a/drivers/net/s2io.h +++ b/drivers/net/s

Re: [Tech-board-discuss] Re: [Ksummit-2007-discuss] Re: Linux Foundation Technical Advisory Board Elections

2007-08-23 Thread Josh Boyer
On 8/23/07, Andy Isaacson <[EMAIL PROTECTED]> wrote: > On Wed, Aug 22, 2007 at 08:35:07PM -0500, James Bottomley wrote: > > > While I think that's laudable, we definitely don't have the resources > > > for that, as everyone on the TAB already has a full workload. And it > > > hardly seems worth the

Re: [Ecryptfs-devel] [PATCH] eCryptfs: fix possible fault in ecryptfs_sync_page

2007-08-23 Thread Ryusuke Konishi
On Thu, 23 Aug 2007, Michael Halcrow write: >Note that there are other outstanding issues with eCryptfs on NFS. For >instance, prepare_write()/commit_write() have gone away in -mm, >leading to an oops when eCryptfs tries to call them directly Yes, I certainly encountered the problem during testing

Re: [PATCH] sigqueue_free: fix the race with collect_signal()

2007-08-23 Thread taoyue
Oleg Nesterov wrote: Spotted by taoyue <[EMAIL PROTECTED]> and Jeremy Katz <[EMAIL PROTECTED]>. collect_signal: sigqueue_free: list_del_init(&first->list); if (!list_empty(&q->list)) {

Re: [PATCH] memchr (trivial) optimization

2007-08-23 Thread Matt Mackall
On Thu, Aug 23, 2007 at 06:03:29PM -0700, Jeremy Fitzhardinge wrote: > Matt Mackall wrote: > > 6e: 38 08 cmp%cl,(%eax) > > 70: 74 07 je 79 > > 72: 40 inc%eax > > > It's a bit gross that the compiler is using inc he

Re: Ideas on column length in kernel "problem"?

2007-08-23 Thread Bron Gondwana
On Wed, Aug 22, 2007 at 11:54:41PM -0400, Scott Thompson wrote: > Many free (and not-free) mail clients wordwrap. Hushmail wraps at > 68 (verified), Yahoo has options to wrap at a max of 99, and Gmail > was somewhere around 85-90 as I recall. Not sure on other free / > inexpensive clients.

Re: [BUG]: posix timer: slab error 'double free'

2007-08-23 Thread taoyue
Oleg Nesterov wrote: (maintainers cc'ed) On 08/21, taoyue wrote: I write a simple stress test program for posix timer subsystem, to reproduce the problem in the lastest mainline kernel. My test program creates 200 threads, and each thread does the following job: Please see my test program

Re: [PATCH 20/30] scsi: In the Advansys driver, do not cast allocation function return values

2007-08-23 Thread Matthew Wilcox
On Fri, Aug 24, 2007 at 02:16:12AM +0200, Jesper Juhl wrote: > There's no reason to cast void pointers returned by the generic > memory allocation functions. I think I fixed all these already; please check scsi-misc. -- "Bill, look, we understand that you're interested in selling us this operati

Re: [patch] CFS scheduler, -v20, for v2.6.22.5, v2.6.21.7, v2.6.20.16

2007-08-23 Thread Bruce Ashfield
On 8/23/07, Ingo Molnar <[EMAIL PROTECTED]> wrote: > > By popular demand, here is release -v20 of the CFS scheduler. It is a > full backport of the latest & greatest v2.6.23-rc3 CFS code to > v2.6.22.5, v2.6.21.7 and v2.6.20.16. The patches can be downloaded from > the usual place: Ingo, Great to

Re: [PATCH] CIFS: fix unbalanced calls to Get/FreeXid

2007-08-23 Thread Steve French
merged into cifs-2.6.git tree On 8/23/07, Cyrill Gorcunov <[EMAIL PROTECTED]> wrote: > This patch fixes unbalanced calls to GetXid/FreeXid. > > Signed-off-by: Cyrill Gorcunov <[EMAIL PROTECTED]> > --- > > fs/cifs/cifsfs.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --gi

Re: sysfs_dir_cache growing out of control

2007-08-23 Thread Gabriel C
Greg KH wrote: > On Thu, Aug 23, 2007 at 08:44:10PM -0400, Joel Fuster wrote: >> Greg KH wrote: >>> On Wed, Aug 22, 2007 at 11:56:44PM -0400, Joel Fuster wrote: Joel Fuster wrote: > Hi, > I am running 2.6.22.3. For reasons that escape me, over time (days) the > sysfs_dir_cache, d

Re: [Tech-board-discuss] Re: [Ksummit-2007-discuss] Re: Linux Foundation Technical Advisory Board Elections

2007-08-23 Thread Andy Isaacson
On Wed, Aug 22, 2007 at 08:35:07PM -0500, James Bottomley wrote: > > While I think that's laudable, we definitely don't have the resources > > for that, as everyone on the TAB already has a full workload. And it > > hardly seems worth the trouble for a once-a-year election. > > Exactly ... we want

RE: division and cpu usage

2007-08-23 Thread David Schwartz
> Hello. > > I'm new to kernel development and have some questions. > > 1. Why can't I divide with regular casting to double ((double)a / > (double)b)? It gives me strange errors when compiling: > > WARNING: "__divdf3" [/root] undefined! > WARNING: "__addf3" [/root/...] undefined! > WARNING: "

Re: [PATCH] memchr (trivial) optimization

2007-08-23 Thread Jeremy Fitzhardinge
Matt Mackall wrote: > 6e: 38 08 cmp%cl,(%eax) > 70: 74 07 je 79 > 72: 40 inc%eax > It's a bit gross that the compiler is using inc here rather than lea or add, but still... Er, something's spending 30% of its time

Re: sysfs_dir_cache growing out of control

2007-08-23 Thread Greg KH
On Thu, Aug 23, 2007 at 08:44:10PM -0400, Joel Fuster wrote: > Greg KH wrote: >> On Wed, Aug 22, 2007 at 11:56:44PM -0400, Joel Fuster wrote: >>> Joel Fuster wrote: Hi, I am running 2.6.22.3. For reasons that escape me, over time (days) the sysfs_dir_cache, dentry, and inode_cache

Re: [PATCH 0/30] Remove unneeded casts of [kv][mzc]alloc() return values

2007-08-23 Thread Jesper Juhl
On 24/08/07, Jesper Juhl <[EMAIL PROTECTED]> wrote: [snip] > The patches in this series are > Damn, I managed to mess up that list. Here's how it should have looked : [PATCH 01/30] ia64: Remove unnecessary cast of allocation return value in sn_hwperf_enum_objects() [PATCH 02/30] cris: Remove

[PATCH 30/30] emu10k1: There's no need to cast vmalloc() return value in snd_emu10k1_create()

2007-08-23 Thread Jesper Juhl
vmalloc() returns void *. no need to cast. Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- sound/pci/emu10k1/emu10k1_main.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/pci/emu10k1/emu10k1_main.c b/sound/pci/emu10k1/emu10k1_main.c index 404ae1b..91d986b 100

Re: sysfs_dir_cache growing out of control

2007-08-23 Thread Joel Fuster
Greg KH wrote: On Wed, Aug 22, 2007 at 11:56:44PM -0400, Joel Fuster wrote: Joel Fuster wrote: Hi, I am running 2.6.22.3. For reasons that escape me, over time (days) the sysfs_dir_cache, dentry, and inode_cache SLUB entries grow until they consume all the memory on my system, requiring a re

[PATCH 29/30] mm: No need to cast vmalloc() return value in zone_wait_table_init()

2007-08-23 Thread Jesper Juhl
vmalloc() returns a void pointer, so there's no need to cast its return value in mm/page_alloc.c::zone_wait_table_init(). Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- mm/page_alloc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c

[PATCH 28/30] jfs: avoid pointless casts of kmalloc() return val

2007-08-23 Thread Jesper Juhl
There's no need to cast the, void *, return value of kmalloc() when assigning to a pointer variable. Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- fs/jfs/jfs_dtree.c |8 ++-- 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/fs/jfs/jfs_dtree.c b/fs/jfs/jfs_dtree.c index

[PATCH 27/30] usb: avoid redundant cast of kmalloc() return value in OTi-6858 driver

2007-08-23 Thread Jesper Juhl
In drivers/usb/serial/oti6858.c::pl2303_buf_alloc() the return value of kmalloc() is being cast to "struct pl2303_buf *", but that need not be done here since kmalloc() returns "void *". Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- drivers/usb/serial/oti6858.c |2 +- 1 files changed, 1

Re: Fork Bombing Patch

2007-08-23 Thread Tom Spink
On 23/08/07, Krzysztof Halasa <[EMAIL PROTECTED]> wrote: > Chris Snook <[EMAIL PROTECTED]> writes: > > > Wrapping a single printk that's unrelated to debugging in an #ifdef > > CONFIG_* or a sysctl strikes me as abuse of those configuration > > facilities. > > Abuse, probably not (if a thing is req

Re: [PATCH 04/30] powerpc: Don't cast kmalloc return value in ibmebus.c

2007-08-23 Thread Joachim Fenkes
> kmalloc() returns a void pointer so there is absolutely no need to > cast it in ibmebus_chomp(). > > Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> Acked-By: Joachim Fenkes <[EMAIL PROTECTED]> - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

[PATCH 26/30] md: vmalloc() returns void pointer so we don't need to cast it in dm-ioctl

2007-08-23 Thread Jesper Juhl
In drivers/md/dm-ioctl.c::copy_params() there's a call to vmalloc() where we currently cast the return value, but that's pretty pointles given that vmalloc() returns "void *". Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- drivers/md/dm-ioctl.c |2 +- 1 files changed, 1 insertions(+), 1 d

[PATCH 25/30] tty: dont needlessly cast kmalloc() return value

2007-08-23 Thread Jesper Juhl
kmalloc() hands us a void pointer, we don't need to cast it. Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- drivers/char/tty_io.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/char/tty_io.c b/drivers/char/tty_io.c index 51ea93c..9c867cf 100644 --- a/dri

[PATCH 24/30] dvb: remove some unneeded vmalloc() return value casts from av7110

2007-08-23 Thread Jesper Juhl
vmalloc() returns void * - no need to cast it. Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- drivers/media/dvb/ttpci/av7110.c|2 +- drivers/media/dvb/ttpci/av7110_ir.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/dvb/ttpci/av7110.c b/drivers

[PATCH 23/30] video: Remove pointless kmalloc() return value cast in Zoran PCI controller driver

2007-08-23 Thread Jesper Juhl
No need to cast the void pointer returned by kmalloc() in drivers/media/video/zoran_driver.c::v4l_fbuffer_alloc(). Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- drivers/media/video/zoran_driver.c |5 + 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/drivers/media/video

Re: [PATCH take #2] MAINTAINTERS: use our mail list as Blackfin arch maintainters.

2007-08-23 Thread Matt Mackall
On Wed, Aug 22, 2007 at 10:55:11PM +0800, Bryan Wu wrote: > -L: [EMAIL PROTECTED] (subscribers-only) > +L: [EMAIL PROTECTED] Does your list generate a complaint message back to the sender if a non-subscriber posts to it? If so, it qualifies as a subscribers-only list. -- Mathematics is the s

Re: [linux-usb-devel] [GIT PATCH] USB fixes for 2.6.23-rc3

2007-08-23 Thread Greg KH
On Fri, Aug 24, 2007 at 01:31:39AM +0200, Adrian Bunk wrote: > On Thu, Aug 23, 2007 at 04:28:31PM -0700, Greg KH wrote: > > On Thu, Aug 23, 2007 at 04:18:15PM -0700, Randy Dunlap wrote: > > > On Thu, 23 Aug 2007 15:49:56 -0700 Greg KH wrote: > > > > > > > On Fri, Aug 24, 2007 at 12:43:47AM +0200,

[PATCH 22/30] ivtv: kzalloc() returns void pointer, no need to cast

2007-08-23 Thread Jesper Juhl
Since kzalloc() returns a void pointer, we don't need to cast the return value in drivers/media/video/ivtv/ivtv-queue.c Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- drivers/media/video/ivtv/ivtv-queue.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/medi

[PATCH 20/30] scsi: In the Advansys driver, do not cast allocation function return values

2007-08-23 Thread Jesper Juhl
There's no reason to cast void pointers returned by the generic memory allocation functions. Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- drivers/scsi/advansys.c |9 +++-- 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/scsi/advansys.c b/drivers/scsi/advansys.

[PATCH 21/30] oss: Remove unneeded vmalloc() return value casts in OSS

2007-08-23 Thread Jesper Juhl
vmalloc() returns a void pointer that we don't need to cast. This patch should clean this up in sound/oss/. Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- sound/oss/midibuf.c |4 ++-- sound/oss/pss.c |6 +++--- sound/oss/sequencer.c |4 ++-- sound/oss/sscape.c|2 +-

Re: [PATCH 03/30] um: Don't unnecessarily cast allocation return value in ubd_kern.c

2007-08-23 Thread Jeff Dike
On Fri, Aug 24, 2007 at 01:43:49AM +0200, Jesper Juhl wrote: > vmalloc() returns a void pointer, so casting to (void *) is pretty pointless. Righto, I'll take care of this. Jeff -- Work email - jdike at linux dot intel dot com - To unsubscribe from this list: send the li

[PATCH 19/30] scsi: Remove explicit casts of [kv]alloc return values in osst driver

2007-08-23 Thread Jesper Juhl
[kv]alloc() return void *. No need to cast the return value. Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- drivers/scsi/osst.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/scsi/osst.c b/drivers/scsi/osst.c index 08060fb..3ad9d49 100644 --- a/drivers

[PATCH v2 -mm 6/7] DCA: Add Direct Cache Access driver

2007-08-23 Thread Shannon Nelson
Direct Cache Access (DCA) is a method for warming the CPU cache before data is used, with the intent of lessening the impact of cache misses. This patch adds a manager and interface for matching up client requests for DCA services with devices that offer DCA services. In order to use DCA, a modul

[PATCH v2 -mm 7/7] I/OAT: Add DCA services

2007-08-23 Thread Shannon Nelson
Add code to connect to the DCA driver and provide cpu tags for use by drivers that would like to use Direct Cache Access hints. [Adrian Bunk]Several Kconfig cleanup items [Andrew Morten, Chris Leech] fix for using cpu_physical_id() even when

[PATCH v2 -mm 4/7] I/OAT: Split PCI startup from DMA handling code

2007-08-23 Thread Shannon Nelson
Split the general PCI startup from the DMA handling code in order to prepare for adding support for DCA services and future versions of the ioatdma device. Signed-off-by: Shannon Nelson <[EMAIL PROTECTED]> Acked-by: David S. Miller <[EMAIL PROTECTED]> --- drivers/dma/Makefile |2 driver

[PATCH v2 -mm 5/7] I/OAT: Add support for MSI and MSI-X

2007-08-23 Thread Shannon Nelson
Add support for MSI and MSI-X interrupt handling, including the ability to choose the desired interrupt method. Signed-off-by: Shannon Nelson <[EMAIL PROTECTED]> Acked-by: David S. Miller <[EMAIL PROTECTED]> --- drivers/dma/ioat_dma.c | 353 --- driv

[PATCH v2 -mm 2/7] I/OAT: Rename the source file

2007-08-23 Thread Shannon Nelson
Rename the ioatdma.c file in preparation for splitting into multiple files, which will allow for easier adding new functionality. Signed-off-by: Shannon Nelson <[EMAIL PROTECTED]> Acked-by: David S. Miller <[EMAIL PROTECTED]> --- drivers/dma/Makefile |1 drivers/dma/ioat_dma.c | 828

[PATCH v2 -mm 3/7] I/OAT: code cleanup from checkpatch output

2007-08-23 Thread Shannon Nelson
Take care of a bunch of little code nits in ioatdma files Signed-off-by: Shannon Nelson <[EMAIL PROTECTED]> Acked-by: David S. Miller <[EMAIL PROTECTED]> --- drivers/dma/ioat_dma.c | 200 +++- 1 files changed, 111 insertions(+), 89 deletions(-) diff

[PATCH v2 -mm 1/7] I/OAT: New device ids

2007-08-23 Thread Shannon Nelson
Add device ids for new revs of the Intel I/OAT DMA engine Signed-off-by: Shannon Nelson <[EMAIL PROTECTED]> Acked-by: David S. Miller <[EMAIL PROTECTED]> --- drivers/dma/ioatdma.c |5 +++-- include/linux/pci_ids.h |2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/dr

[PATCH 18/30] isdn: eicon - get rid of a pointless vmalloc() return value cast

2007-08-23 Thread Jesper Juhl
vmalloc() returns void*. No need to cast in drivers/isdn/hardware/eicon/platform.h::diva_os_malloc() Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- drivers/isdn/hardware/eicon/platform.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/isdn/hardware/eicon/plat

[PATCH v2 -mm 0/7] I/OAT: Add support for DCA - Direct Cache Access

2007-08-23 Thread Shannon Nelson
Andrew, Here's a new rev of the IOAT DCA patches that are currently in -mm. These patches include updates based on feedback on the first set, as well as a couple of other fixes we found internally. These were originally posted on 20-Jul-2007 - see http://marc.info/?l=linux-kernel&m=1184892374273

[PATCH 17/30] isdn: Get rid of some pointless allocation casts in common and bsd comp.

2007-08-23 Thread Jesper Juhl
vmalloc() returns a void pointer - no need to cast the return value. Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- drivers/isdn/i4l/isdn_bsdcomp.c |5 ++--- drivers/isdn/i4l/isdn_common.c |2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/isdn/i4l/isdn_bsd

Re: [PATCH] memchr (trivial) optimization

2007-08-23 Thread Matt Mackall
On Thu, Aug 23, 2007 at 02:13:20AM +0200, Ingo Oeser wrote: > On Wednesday 22 August 2007, lode leroy wrote: > > While profiling something completely unrelated, I noticed > > that on the workloads I used memchr for, I saw a 30%-40% improvement > > in performance, with the following trivial changes.

Re: 2.6.23-rc3-mm1 - memory layout change? - lost support for MAP_32BIT? - mono crashes

2007-08-23 Thread Jiri Kosina
(some more CCs added) On Thu, 23 Aug 2007, Andrew Morton wrote: > It is quite unobvious to me that the whole pie-randomization thing is > worth merging. Why shouldn't we just drop the lot? Hi Andrew, well, whenever it comes to address space layout randomization, there usually follows a huge

[PATCH 16/30] net: Avoid pointless allocation casts in BSD compression module

2007-08-23 Thread Jesper Juhl
The general kernel memory allocation functions return void pointers and there is no need to cast their return values. Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- drivers/net/bsd_comp.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/net/bsd_comp.c b/dr

[PATCH 14/30] net: Kill some unneeded allocation return value casts in libertas

2007-08-23 Thread Jesper Juhl
kmalloc() and friends return void*, no need to cast it. Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- drivers/net/wireless/libertas/debugfs.c |2 +- drivers/net/wireless/libertas/ethtool.c |3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/net/wireless/lib

2.6.22.5 forcedeth timeout hang

2007-08-23 Thread Mr. Berkley Shands
100% reproducible hang on xmit timeout. Just do a "make -j4 modules" on an nfs mounted kernel source. attached is the messages log berkley -- // E. F. Berkley Shands, MSc// ** Exegy Inc.** 349 Marshall Road, Suite 100 St. Louis , MO 63119 Direct: (314) 218-3600 X450 Cell: (314) 303-2546

[PATCH 09/30] mtd: Don't cast kmalloc() return value in drivers/mtd/maps/pmcmsp-flash.c

2007-08-23 Thread Jesper Juhl
kmalloc() returns a void pointer. No need to cast it. Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- drivers/mtd/maps/pmcmsp-flash.c | 13 + 1 files changed, 5 insertions(+), 8 deletions(-) diff --git a/drivers/mtd/maps/pmcmsp-flash.c b/drivers/mtd/maps/pmcmsp-flash.c index 7e0

[PATCH 10/30] irda: Do not do pointless kmalloc return value cast in KingSun driver

2007-08-23 Thread Jesper Juhl
kmalloc() returns a void pointer, so there is no need to cast it in drivers/net/irda/kingsun-sir.c::kingsun_probe(). Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- drivers/net/irda/kingsun-sir.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/irda/king

[PATCH 08/30] mtd: Avoid a pointless kmalloc() return value cast in TQM8xxL mapping handling code

2007-08-23 Thread Jesper Juhl
In drivers/mtd/maps/tqm8xxl.c::init_tqm_mtd() it is pointless casting the return value of kmalloc() since it returns void*. Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- drivers/mtd/maps/tqm8xxl.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/maps/tqm

Re: 2.6.23-rc3-mm1 - memory layout change? - lost support for MAP_32BIT? - mono crashes

2007-08-23 Thread Andrew Morton
On Thu, 23 Aug 2007 11:28:25 +0200 (CEST) Jiri Kosina <[EMAIL PROTECTED]> wrote: > Handle MAP_32BIT flags properly in x86_64 flexmmap > > We need to handle MAP_32BIT flags of mmap() properly for 64bit > applications with filexible mmap layout. > > This patch introduces x86_64-specific version o

[PATCH 07/30] mtd: Get rid of pointless cast of kzalloc() return value in AT26xxx driver

2007-08-23 Thread Jesper Juhl
kzalloc() returns a void pointer - no need to cast it in drivers/mtd/devices/at91_dataflash26.c::add_dataflash() Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- drivers/mtd/devices/at91_dataflash26.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/device

[PATCH 06/30] i2o: No need to cast kmalloc() return value in cfg_open()

2007-08-23 Thread Jesper Juhl
In drivers/message/i2o/i2o_config.c::cfg_open() there's a completely pointless cast of kmalloc()'s return value. This patch removes it. Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- drivers/message/i2o/i2o_config.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/

[PATCH 05/30] atm: No need to cast vmalloc() return value

2007-08-23 Thread Jesper Juhl
vmalloc() returns void*, no need to cast it in drivers/atm/lanai.c Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- drivers/atm/lanai.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/atm/lanai.c b/drivers/atm/lanai.c index 144a49f..59e7dde 100644 --- a/drivers

[PATCH 04/30] powerpc: Don't cast kmalloc return value in ibmebus.c

2007-08-23 Thread Jesper Juhl
kmalloc() returns a void pointer so there is absolutely no need to cast it in ibmebus_chomp(). Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- arch/powerpc/kernel/ibmebus.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/kernel/ibmebus.c b/arch/powerpc/k

[PATCH 03/30] um: Don't unnecessarily cast allocation return value in ubd_kern.c

2007-08-23 Thread Jesper Juhl
vmalloc() returns a void pointer, so casting to (void *) is pretty pointless. Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- arch/um/drivers/ubd_kern.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/um/drivers/ubd_kern.c b/arch/um/drivers/ubd_kern.c index 0eabe

[PATCH 02/30] cris: Remove unnecessary cast of allocation return value in intmem.c

2007-08-23 Thread Jesper Juhl
kmalloc() returns a void pointer so there's no need to cast the return value. Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- arch/cris/arch-v32/mm/intmem.c | 10 -- 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/arch/cris/arch-v32/mm/intmem.c b/arch/cris/arch-v32/mm/

  1   2   3   4   5   >