Re: [PATCH] mm: Fix printk format strings

2007-10-10 Thread Andrew Morton
On Thu, 11 Oct 2007 08:47:01 +0200 Vegard Nossum <[EMAIL PROTECTED]> wrote: > This makes sure printk format strings contain no more than a single > line. > > Signed-off-by: Vegard Nossum <[EMAIL PROTECTED]> > --- > mm/page_alloc.c | 20 +++- > 1 files changed, 11 insertions(+),

[PATCH] sched: Rationalize sys_sched_rr_get_interval()

2007-10-10 Thread Peter Williams
At the moment, static_prio_timeslice() is only used in sys_sched_rr_get_interval() and only gives the correct result for SCHED_FIFO and SCHED_RR tasks as the time slice for normal tasks is unrelated to the values returned by static_prio_timeslice(). This patch addresses this problem and in the

Re: [PATCH] IPC: fix error case when idr-cache is empty in ipcget()

2007-10-10 Thread Nadia Derbey
Pierre Peiffer wrote: With the use of idr to store the ipc, the case where the idr cache is empty, when idr_get_new is called (this may happen even if we call idr_pre_get() before), is not well handled: it lets semget()/shmget()/msgget() return ENOSPC when this cache is empty, what 1. does not re

[PATCH] mm: Fix printk format strings

2007-10-10 Thread Vegard Nossum
This makes sure printk format strings contain no more than a single line. Signed-off-by: Vegard Nossum <[EMAIL PROTECTED]> --- mm/page_alloc.c | 20 +++- 1 files changed, 11 insertions(+), 9 deletions(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 1a8c595..96f0b33 1006

[PATCH] sched: Exclude SMP code from non SMP builds

2007-10-10 Thread Peter Williams
At the moment, a lot of load balancing code that is irrelevant to non SMP systems gets included during non SMP builds. This patch addresses this issue and should reduce the binary size on non SMP systems. This patch assumes that the "sched: Reduce overhead in balance_tasks()" (non urgent) pa

LCA 2008 Kernel Miniconf CFP

2007-10-10 Thread Dave Airlie
Call For Presentations == We are happy to announce that the Call for Presentations for LCA Kernel Miniconf is now open. LCA Kernel Miniconf is part of linux.conf.au, the annual Australian Linux & open source developers' conference. When: 29th January 2008 Where: Melbourne Univer

Re: Memory controller merge (was Re: -mm merge plans for 2.6.24)

2007-10-10 Thread Balbir Singh
Rik van Riel wrote: > On Tue, 02 Oct 2007 09:51:11 +0530 > Balbir Singh <[EMAIL PROTECTED]> wrote: > >> I was hopeful of getting the bare minimal infrastructure for memory >> control in mainline, so that review is easy and additional changes >> can be well reviewed as well. > > I am not yet convi

Re: [v4l-dvb-maintainer] [GIT PATCHES] V4L/DVB changes for 2.6.24

2007-10-10 Thread Markus Rechberger
On 10/11/07, Aurelien Jarno <[EMAIL PROTECTED]> wrote: > Markus Rechberger a écrit : > > On 10/11/07, Linus Torvalds <[EMAIL PROTECTED]> wrote: > >> As such, the old and decrepit em28xx driver seems more useful to people, > >> since at least it supports the limited set of hardware on its own. > > >

[PATCH] core dump: remain dumpable

2007-10-10 Thread Roland McGrath
The coredump code always calls set_dumpable(0) when it starts (even if RLIMIT_CORE prevents any core from being dumped). The effect of this (via task_dumpable) is to make /proc/pid/* files owned by root instead of the user, so the user can no longer examine his own process--in a case where there

Re: sata_sil24 broken since 2.6.23-rc4-mm1

2007-10-10 Thread Tejun Heo
Torsten Kaiser wrote: >>> That missing +1 would explain, why the SGE_TRM never gets set. >> Thanks a lot for tracking this down. Does changing the above code fix >> your problem? > > I did not try it. > I'm not an libata expert and while this change looks suspicios, I > can't be 100% sure if that

[PATCH] Fix printk format strings

2007-10-10 Thread Vegard Nossum
This makes sure printk format strings contain no more than a single line. Signed-off-by: Vegard Nossum <[EMAIL PROTECTED]> --- kernel/time/timer_list.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/kernel/time/timer_list.c b/kernel/time/timer_list.c index fdb2e03..

[PATCH] init: Fix printk format strings

2007-10-10 Thread Vegard Nossum
This makes sure printk format strings are string literals containing no more than a single line. Signed-off-by: Vegard Nossum <[EMAIL PROTECTED]> --- init/calibrate.c|4 +++- init/do_mounts_initrd.c |5 - init/main.c |2 +- 3 files changed, 8 insertions(+), 3

Re: [v4l-dvb-maintainer] [GIT PATCHES] V4L/DVB changes for 2.6.24

2007-10-10 Thread Aurelien Jarno
Markus Rechberger a écrit : > On 10/11/07, Linus Torvalds <[EMAIL PROTECTED]> wrote: >> As such, the old and decrepit em28xx driver seems more useful to people, >> since at least it supports the limited set of hardware on its own. > > it does not since it's broken and feature limited. On the other

Re: sata_sil24 broken since 2.6.23-rc4-mm1

2007-10-10 Thread Torsten Kaiser
On 10/11/07, Tejun Heo <[EMAIL PROTECTED]> wrote: > Torsten Kaiser wrote: > > Looking closer at > > http://git.kernel.org/?p=linux/kernel/git/axboe/linux-2.6-block.git;a=commitdiff;h=ec6fdded4d76aa54aa57341e5dfdd61c507b1dcd > > the change to libata.h seems bogus : > > > > in ata_qc_first_sg: > > ol

Re: [PATCH v2] powerpc: don't enable cpu hotplug on mpic-based pseries

2007-10-10 Thread Olof Johansson
On Thu, Oct 11, 2007 at 03:52:04PM +1000, Paul Mackerras wrote: > Olof Johansson writes: > > > Don't allow cpu hotplug on systems lacking XICS interrupt controller, > > since current code is hardcoded for it. > ... > > + for (np = NULL; (np = of_find_node_by_name(np, > > +

Re: [PATCH v2] powerpc: don't enable cpu hotplug on mpic-based pseries

2007-10-10 Thread Paul Mackerras
Olof Johansson writes: > Don't allow cpu hotplug on systems lacking XICS interrupt controller, > since current code is hardcoded for it. ... > + for (np = NULL; (np = of_find_node_by_name(np, > +"interrupt-controller"));) { Looks like for_each_n

Re: [v4l-dvb-maintainer] [GIT PATCHES] V4L/DVB changes for 2.6.24

2007-10-10 Thread Markus Rechberger
On 10/11/07, Andrew Morton <[EMAIL PROTECTED]> wrote: > On Thu, 11 Oct 2007 07:09:47 +0200 "Markus Rechberger" > <[EMAIL PROTECTED]> wrote: > > > On 10/11/07, Andrew Morton <[EMAIL PROTECTED]> wrote: > > > On Thu, 11 Oct 2007 01:00:39 +0200 > > > "Markus Rechberger" <[EMAIL PROTECTED]> wrote: > > >

Re: [v4l-dvb-maintainer] [GIT PATCHES] V4L/DVB changes for 2.6.24

2007-10-10 Thread Andrew Morton
On Thu, 11 Oct 2007 07:09:47 +0200 "Markus Rechberger" <[EMAIL PROTECTED]> wrote: > On 10/11/07, Andrew Morton <[EMAIL PROTECTED]> wrote: > > On Thu, 11 Oct 2007 01:00:39 +0200 > > "Markus Rechberger" <[EMAIL PROTECTED]> wrote: > > > > Please don't send 900 line emails to which you have added onl

Re: [patch] x86_64, vsyscall: fix the oops crash with __pa_vsymbol()

2007-10-10 Thread Vivek Goyal
On Wed, Oct 10, 2007 at 03:36:58PM +0200, Andi Kleen wrote: > On Wednesday 10 October 2007 03:59:22 Siddha, Suresh B wrote: > > Appended patch fixes an oops while changing the vsyscall sysctl. > > I am sure no one tested this code before integrating into mainline :( > > The original code worked, b

Re: pm qos infrastructure and interface

2007-10-10 Thread Andrew Morton
On Thu, 4 Oct 2007 14:51:39 -0700 Mark Gross <[EMAIL PROTECTED]> wrote: > The following patch is a generalization of the latency.c implementation > done by Arjan last year. It provides infrastructure for more than one > parameter, and exposes a user mode interface for processes to register > pm_q

Re: [v4l-dvb-maintainer] [GIT PATCHES] V4L/DVB changes for 2.6.24

2007-10-10 Thread Markus Rechberger
On 10/11/07, Andrew Morton <[EMAIL PROTECTED]> wrote: > On Thu, 11 Oct 2007 01:00:39 +0200 > "Markus Rechberger" <[EMAIL PROTECTED]> wrote: > > Please don't send 900 line emails to which you have added only an additional > paragraph. > > > > drivers/media/video/em28xx/em28xx-core.c |

Re: [v4l-dvb-maintainer] [GIT PATCHES] V4L/DVB changes for 2.6.24

2007-10-10 Thread Markus Rechberger
On 10/11/07, Chuck Ebbert <[EMAIL PROTECTED]> wrote: > On 10/10/2007 07:24 PM, Markus Rechberger wrote: > > > > To point to more changes within the available driver which hasn't been > merged > > within the last 1 1/2 years: > > * it supports non usbaudio based video devices. > > * has support for

Re: [v4l-dvb-maintainer] [GIT PATCHES] V4L/DVB changes for 2.6.24

2007-10-10 Thread Markus Rechberger
On 10/11/07, Linus Torvalds <[EMAIL PROTECTED]> wrote: > > > On Thu, 11 Oct 2007, Markus Rechberger wrote: > > > > the chances of the em28xx are not accepted from my side since the latest > code > > which supports way more hardware is offtree for various reasons. > > Well, I've talked to various pe

[GIT PULL] Blackfin updates for 2.6.24

2007-10-10 Thread Bryan Wu
Hi Linus, (previous email including the whole patch set is too big for the LKML, then here is the new one) This set of commits are for Blackfin architecture updates for 2.6.24 merge window, only thing related with Blackfin arch and some drivers will be sent out later for LKML review - Blackf

Re: sata_sil24 broken since 2.6.23-rc4-mm1

2007-10-10 Thread Tejun Heo
Torsten Kaiser wrote: > Looking closer at > http://git.kernel.org/?p=linux/kernel/git/axboe/linux-2.6-block.git;a=commitdiff;h=ec6fdded4d76aa54aa57341e5dfdd61c507b1dcd > the change to libata.h seems bogus : > > in ata_qc_first_sg: > oldnew > return qc->__sg

Re: 2.6.23 spinlock hang in kswapd under heavy disk write loads

2007-10-10 Thread Nick Piggin
On Friday 12 October 2007 10:56, Berkley Shands wrote: > 100% reproducible on the two motherboards in question. > Does not happen on any other motherboard I have in my possession > (not tyan, not uniwide, not socket 940...) > > No errors, no dmesg, nothing with debug_spinlock set. > shows lots (wh

Re: [PATCH v2] cpuset sched_load_balance flag

2007-10-10 Thread Paul Jackson
> > + doms = kmalloc(sizeof(cpumask_t), GFP_KERNEL); > > + *doms = top_cpuset.cpus_allowed; > > We generally only excuse failure to check kmalloc return value when the > code is called on the bootup path. But this code is called at other times. > > > > > ... > > + doms_cur

Re: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen

2007-10-10 Thread Steen Eugen Poulsen
Greg Cormier skrev: > I've been having issues recently (couple of weeks?) with my server. I > have three WD5000YS (500gb) drives in RAID5, on an Asus A8N > motherboard which is nForce 4. I've even RMA'd one of the drives, but > now I'm thinking the drives are fine. Intel/VIA motherboard and softwa

Re: -rt more realtime scheduling issues

2007-10-10 Thread Mike Kravetz
On Wed, Oct 10, 2007 at 07:50:52AM -0400, Steven Rostedt wrote: > On Tue, Oct 09, 2007 at 11:49:53AM -0700, Mike Kravetz wrote: > > The more I try understand the IPI handling the more confused I get. :( > > At fist I was concerned about an IPI happening in the middle of the > > __schedule routine.

Re: Linux 2.6.23

2007-10-10 Thread Zhang, Yanmin
On Wed, 2007-10-10 at 12:14 +0200, Ingo Molnar wrote: > * Nicholas Miell <[EMAIL PROTECTED]> wrote: > > > Does CFS still generate the following sysbench graphs with 2.6.23, or > > did that get fixed? > > > > http://people.freebsd.org/~kris/scaling/linux-pgsql.png > > http://people.freebsd.org/~k

Re: [PATCH v2] cpuset sched_load_balance flag

2007-10-10 Thread Andrew Morton
On Sat, 06 Oct 2007 02:47:47 -0700 Paul Jackson <[EMAIL PROTECTED]> wrote: > From: Paul Jackson <[EMAIL PROTECTED]> > > Add a new per-cpuset flag called 'sched_load_balance'. > > When enabled in a cpuset (the default value) it tells the kernel > scheduler that the scheduler should provide the no

linux-2.6.23 - acting funny

2007-10-10 Thread poison
Hi :) I have two harddisks with encfs on top of reiserfs between which I could copy data at ~22MB/s before the upgrade from 2.6.22 to 2.6.23. After the upgrade the transfer rate stuck at ~14MB/s and changing nice values did not help anything. And now the funny part: I noticed the transfer rate

[PATCH 1/2 -mm] kexec based hibernation -v5: kexec jump

2007-10-10 Thread Huang, Ying
This patch implements the functionality of jumping between the kexeced kernel and the original kernel. A new flag for sys_kexec_load named KEXEC_JUMP_BACK is added to indicate that the loaded kernel image is used for jumping back. To support jumping between two kernels, before jumping to (executi

[QUESTION] I need advice for writing .suspend/.resume functions

2007-10-10 Thread Maxim Levitsky
Hi, I have few questions about .suspend()/.resume() driver functions and how best to write them. I have written a support for suspend/resume for saa7134 v4l driver. Now looking at code again and again, I found few problems, and I am seeking your advice how to fix them. First of all the .suspen

[PATCH 0/2 -mm] kexec based hibernation -v5

2007-10-10 Thread Huang, Ying
Kexec base hibernation has some potential advantages over uswsusp and TuxOnIce (suspend2). Some most obvious advantages are: 1. The hibernation image size can exceed half of memory size easily. 2. The hibernation image can be written to and read from almost anywhere, such as USB disk, NFS. 3.

[PATCH 2/2 -mm] kexec based hibernation -v5: kexec restore

2007-10-10 Thread Huang, Ying
This patch adds writing support for /dev/oldmem. This is used to restore the memory contents of hibernated system. Signed-off-by: Huang Ying <[EMAIL PROTECTED]> --- Index: linux-2.6.23-rc6/arch/i386/kernel/crash_dump.c === --- linux

Re: [OT] Argument with an OS professor over profile=3

2007-10-10 Thread Russ Dill
On 10/10/07, David Newall <[EMAIL PROTECTED]> wrote: > Russ Dill wrote: > > I've been having a back and forth going for a while with my TA and OS > > professor on the meaning of profile=3 and have been unable to convince > > either of them. The basic question is if profile=3 is passed to kernel > >

Re: [OT] Argument with an OS professor over profile=3

2007-10-10 Thread David Newall
Russ Dill wrote: I've been having a back and forth going for a while with my TA and OS professor on the meaning of profile=3 and have been unable to convince either of them. The basic question is if profile=3 is passed to kernel with an 8MB text section, how big is the allocated profile buffer. H

Re: Linux 2.6.23

2007-10-10 Thread Nicholas Miell
On Wed, 2007-10-10 at 12:14 +0200, Ingo Molnar wrote: > * Nicholas Miell <[EMAIL PROTECTED]> wrote: > > > Does CFS still generate the following sysbench graphs with 2.6.23, or > > did that get fixed? > > > > http://people.freebsd.org/~kris/scaling/linux-pgsql.png > > http://people.freebsd.org/~k

Re: 2.6.23 spinlock hang in kswapd under heavy disk write loads

2007-10-10 Thread Berkley Shands
100% reproducible on the two motherboards in question. Does not happen on any other motherboard I have in my possession (not tyan, not uniwide, not socket 940...) No errors, no dmesg, nothing with debug_spinlock set. shows lots (when it works), but by then too many things are locked up to be of

Re: [PATCH 09/31] IGET: Stop BFS from using iget() and read_inode() [try #3]

2007-10-10 Thread Roel Kluin
It is very well possible that I misunderstand the locking order here, but FWIW: David Howells wrote: > diff --git a/fs/bfs/inode.c b/fs/bfs/inode.c > index f346eb1..76798c9 100644 > --- a/fs/bfs/inode.c > +++ b/fs/bfs/inode.c > @@ -32,25 +32,29 @@ MODULE_LICENSE("GPL"); > > void dump_imap(const

Re: Marvell's 88SE6121 SATA driver in Kernel 2.4

2007-10-10 Thread Robert Hancock
Mike wrote: Hello, Anyone know if Kernel2.4 support the Marvell's 88SE6121 SATA controller? Or any other similar SATA controller follows AHCI? Does Kernel2.4 use libata or CAM-ata? Thanks for any help, Mike There were some libata backports to 2.4, but I think they are quite out of date now

Re: [stable] [patch 09/12] Fix SMP poweroff hangs

2007-10-10 Thread Paul Mackerras
Linus Torvalds writes: > On Wed, 10 Oct 2007, Thomas Gleixner wrote: > > > > Wrapping it into a #ifdef CONFIG_X86 would be sufficient. > > Well, the ppc oops seems to be a ppc bug regardless. Sure. And Milton and Olof have figured out what the problem is and proposed patches to fix it. Howeve

Re: [OT] Argument with an OS professor over profile=3

2007-10-10 Thread Jan Engelhardt
On Oct 11 2007 00:13, Russ Dill wrote: > >/* only text is profiled */ >> prof_len = (unsigned *) &_etext - (unsigned *) &_stext; Uh, that's some evil pointer arithmetic :) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a me

Re: [OT] Argument with an OS professor over profile=3

2007-10-10 Thread Russ Dill
/* only text is profiled */ > prof_len = (unsigned *) &_etext - (unsigned *) &_stext; Crap, sorry, accidentally sent a version I had laying around demonstrating how one *would* get the answer he expects. The correct line is of course: prof_len = (unsigned long) &_e

[OT] Argument with an OS professor over profile=3

2007-10-10 Thread Russ Dill
I've been having a back and forth going for a while with my TA and OS professor on the meaning of profile=3 and have been unable to convince either of them. The basic question is if profile=3 is passed to kernel with an 8MB text section, how big is the allocated profile buffer. His answer is 1MB...

Re: [PATCH] Reserve N process to root

2007-10-10 Thread David Newall
[EMAIL PROTECTED] wrote: What David meant was that "root will always have a slot" doesn't *actually* help unless you *also* have a way to actually *spawn* such a process. In order to do the ps, kill, and so on that you need to recover, you need to already have either a root shell available, or a

Re: [PATCH] usb: Key codes for Microsoft Natural Ergonomic 4000 USB keyboard

2007-10-10 Thread John Zaitseff
Dear Jiri, On Wed, Oct 10, 2007 at 09:55:26AM +0200, Jiri Kosina wrote: > On Wed, 10 Oct 2007, John Zaitseff wrote: > > > The following patch to Linux kernel 2.6.23 enables most of the > > extra keys found on the Microsoft Natural Ergonomic 4000 USB > > keyboard. I had to add one keycode to incl

Re: [v4l-dvb-maintainer] [GIT PATCHES] V4L/DVB changes for 2.6.24

2007-10-10 Thread Linus Torvalds
On Thu, 11 Oct 2007, Markus Rechberger wrote: > > the chances of the em28xx are not accepted from my side since the latest code > which supports way more hardware is offtree for various reasons. Well, I've talked to various people, and none of the main kernel people end up being at all interes

Re: [v4l-dvb-maintainer] [GIT PATCHES] V4L/DVB changes for 2.6.24

2007-10-10 Thread Andrew Morton
On Thu, 11 Oct 2007 01:00:39 +0200 "Markus Rechberger" <[EMAIL PROTECTED]> wrote: Please don't send 900 line emails to which you have added only an additional paragraph. > > drivers/media/video/em28xx/em28xx-core.c |1 - > > drivers/media/video/em28xx/em28xx-input.c |1

Re: [v4l-dvb-maintainer] [GIT PATCHES] V4L/DVB changes for 2.6.24

2007-10-10 Thread Chuck Ebbert
On 10/10/2007 07:24 PM, Markus Rechberger wrote: > > To point to more changes within the available driver which hasn't been merged > within the last 1 1/2 years: > * it supports non usbaudio based video devices. > * has support for dvb-t/atsc > * allows multiple device node access in case of analo

Re: Linux 2.6.23

2007-10-10 Thread Krzysztof Halasa
Ingo Molnar <[EMAIL PROTECTED]> writes: > - an uncommon embedded config combinatio: if CONFIG_EMBEDDED=y and > CONFIG_BLOCK is unset. (a normally useless combination) Uncommon but far from useless - may be pure initramfs-based. -- Krzysztof Halasa - To unsubscribe from this list: send the line

Re: [v4l-dvb-maintainer] [GIT PATCHES] V4L/DVB changes for 2.6.24

2007-10-10 Thread Markus Rechberger
On 10/11/07, Markus Rechberger <[EMAIL PROTECTED]> wrote: > On 10/10/07, Mauro Carvalho Chehab <[EMAIL PROTECTED]> wrote: > > Linus, > > > > Please pull from: > > > ssh://master.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb.git > > master > > > > We have 300+ patches this time, covering lots

[PATCH] AVR32: Fix random segfault with preemption

2007-10-10 Thread Philippe Rétornaz
As explained on: http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=53307 If the current process is preempted before it can copy RAR_SUP and RSR_SUP both register are lost and the process will segfault as soon as it return from the syscall since the return adress will be corrupted.

Re: coding for optimizations (Re: [PATCH 1/2] i386: mce cleanup part1: functional change)

2007-10-10 Thread Adrian Bunk
On Tue, Oct 09, 2007 at 08:30:11PM +0200, Joerg Roedel wrote: >... > But you are right with the redundant mca and mce variables. They are not > needed and I will inline the cpu_has() checks into the condition check. > I'll resubmit tomorrow. Please don't let Oley bring you away from the right path

Re: [ofa-general] Re: [PATCH RFC] RDMA/CMA: Allocate PS_TCP ports from the host TCP port space.

2007-10-10 Thread David Miller
From: Sean Hefty <[EMAIL PROTECTED]> Date: Wed, 10 Oct 2007 14:01:07 -0700 > > The hack to use a socket and bind it to claim the port was just for > > demostrating the idea. The correct solution, IMO, is to enhance the > > core low level 4-tuple allocation services to be more generic (eg: not

Re: [v4l-dvb-maintainer] [GIT PATCHES] V4L/DVB changes for 2.6.24

2007-10-10 Thread Markus Rechberger
On 10/10/07, Mauro Carvalho Chehab <[EMAIL PROTECTED]> wrote: > Linus, > > Please pull from: > ssh://master.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb.git > master > > We have 300+ patches this time, covering lots of drivers improvements and > fixes. > > Also, there are several cor

[PATCH] Make m68k cross compile like every other architecture.

2007-10-10 Thread Rob Landley
From: Rob Landley <[EMAIL PROTECTED]> Rip out hardwired cross compiler name assumption that only m68k makes. Signed-off-by: Rob Landley <[EMAIL PROTECTED]> --- When you cross compile, you have to set the prefix CROSS_COMPILE to your cross compiler prefix. You need to do this for all targets (arm

m68k Kconfig undefined symbol in 2.6.23.

2007-10-10 Thread Rob Landley
The m68k Kconfig tries to select a symbol (APM_EMULATION) that doesn't exist. I did this to fix it, without really understanding the larger problem. (Did APM go away?) Just FYI... Rob diff -r 79f0ea1e0e70 drivers/macintosh/Kconfig --- a/drivers/macintosh/Kconfig Tue Oct 09 21:00:40 2007 +

Re: 2.6.23 spinlock hang in kswapd under heavy disk write loads

2007-10-10 Thread Nick Piggin
On Thursday 11 October 2007 01:33, Berkley Shands wrote: > 2.6.23 with CONFIG_DEBUG_SPINLOCK on does not hang under very high write > loads to either an LSIELP (write rate 1.1GB/Sec) or to a highpoint > RR2340 (write rate 1.0GB/Sec). With CONFIG_DEBUG_SPINLOCK off however, the > system hangs wi

[GIT PATCHES] V4L/DVB changes for 2.6.24

2007-10-10 Thread Mauro Carvalho Chehab
Linus, Please pull from: ssh://master.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb.git master We have 300+ patches this time, covering lots of drivers improvements and fixes. Also, there are several core changes: - Unified support for Hybrid tuners on both V4L and DVB cor

[PATCH 31/31] IGET: Remove iget() and the read_inode() super op as being obsolete [try #3]

2007-10-10 Thread David Howells
Remove the old iget() call and the read_inode() superblock operation it uses as these are really obsolete, and the use of read_inode() does not produce proper error handling (no distinction between ENOMEM and EIO when marking an inode bad). Furthermore, this removes the temptation to use iget() to

Re: [PATCH] i386: remove dead code in pgtable_cache_init

2007-10-10 Thread Jeremy Fitzhardinge
Christoph Lameter wrote: > I believe that virtualization support needed a full pgd. > Yes, Xen requires it for PAE pgds, at least at the moment. But native, lguest, vmi and kvm don't. I'd made it so that the memory overhead was only paid in the Xen case. Allocating a whole page all the time

[PATCH 28/31] IGET: Stop OPENPROMFS from using iget() and read_inode() [try #3]

2007-10-10 Thread David Howells
Stop the OPENPROMFS filesystem from using iget() and read_inode(). Replace openpromfs_read_inode() with openpromfs_iget(), and call that instead of iget(). openpromfs_iget() then uses iget_locked() directly and returns a proper error code instead of an inode in the event of an error. openpromfs_

[PATCH 30/31] IGET: Stop HPPFS from using iget() and read_inode() [try #3]

2007-10-10 Thread David Howells
Stop the HPPFS filesystem from using iget() and read_inode(). Provide an hppfs_iget(), and call that instead of iget(). hppfs_iget() then uses iget_locked() directly and returns a proper error code instead of an inode in the event of an error. hppfs_fill_sb_common() returns any error incurred wh

[PATCH 29/31] IGET: Stop HOSTFS from using iget() and read_inode() [try #3]

2007-10-10 Thread David Howells
Stop the HOSTFS filesystem from using iget() and read_inode(). Provide hostfs_iget(), and call that instead of iget(). hostfs_iget() then uses iget_locked() directly and returns a proper error code instead of an inode in the event of an error. hostfs_fill_sb_common() returns any error incurred w

[PATCH 25/31] IGET: Stop ROMFS from using iget() and read_inode() [try #3]

2007-10-10 Thread David Howells
Stop the ROMFS filesystem from using iget() and read_inode(). Replace romfs_read_inode() with romfs_iget(), and call that instead of iget(). romfs_iget() then uses iget_locked() directly and returns a proper error code instead of an inode in the event of an error. romfs_fill_super() returns any e

[PATCH 27/31] IGET: Stop UFS from using iget() and read_inode() [try #3]

2007-10-10 Thread David Howells
Stop the UFS filesystem from using iget() and read_inode(). Replace ufs_read_inode() with ufs_iget(), and call that instead of iget(). ufs_iget() then uses iget_locked() directly and returns a proper error code instead of an inode in the event of an error. ufs_fill_super() returns any error incur

[PATCH 23/31] IGET: Stop PROCFS from using iget() and read_inode() [try #3]

2007-10-10 Thread David Howells
Stop the PROCFS filesystem from using iget() and read_inode(). Merge procfs_read_inode() into procfs_get_inode(), and have that call iget_locked() instead of iget(). Signed-off-by: David Howells <[EMAIL PROTECTED]> --- fs/proc/inode.c | 60 ++---

[PATCH 26/31] IGET: Stop the SYSV filesystem from using iget() and read_inode() [try #3]

2007-10-10 Thread David Howells
Stop the SYSV filesystem from using iget() and read_inode(). Replace sysv_read_inode() with sysv_iget(), and call that instead of iget(). sysv_iget() then uses iget_locked() directly and returns a proper error code instead of an inode in the event of an error. Signed-off-by: David Howells <[EMAIL

[PATCH 22/31] IGET: Stop the MINIX filesystem from using iget() and read_inode() [try #3]

2007-10-10 Thread David Howells
Stop the MINIX filesystem from using iget() and read_inode(). Replace minix_read_inode() with minix_iget(), and call that instead of iget(). minix_iget() then uses iget_locked() directly and returns a proper error code instead of an inode in the event of an error. minix_fill_super() returns any e

[PATCH 24/31] IGET: Stop QNX4 from using iget() and read_inode() [try #3]

2007-10-10 Thread David Howells
Stop the QNX4 filesystem from using iget() and read_inode(). Replace qnx4_read_inode() with qnx4_iget(), and call that instead of iget(). qnx4_iget() then uses iget_locked() directly and returns a proper error code instead of an inode in the event of an error. qnx4_fill_super() returns any error

[PATCH 20/31] IGET: Stop JFFS2 from using iget() and read_inode() [try #3]

2007-10-10 Thread David Howells
Stop the JFFS2 filesystem from using iget() and read_inode(). Replace jffs2_read_inode() with jffs2_iget(), and call that instead of iget(). jffs2_iget() then uses iget_locked() directly and returns a proper error code instead of an inode in the event of an error. jffs2_do_fill_super() returns an

[PATCH 21/31] IGET: Stop JFS from using iget() and read_inode() [try #3]

2007-10-10 Thread David Howells
Stop the JFS filesystem from using iget() and read_inode(). Replace jfs_read_inode() with jfs_iget(), and call that instead of iget(). jfs_iget() then uses iget_locked() directly and returns a proper error code instead of an inode in the event of an error. jfs_fill_super() returns any error incur

[PATCH 18/31] IGET: Stop HFSPLUS from using iget() and read_inode() [try #3]

2007-10-10 Thread David Howells
Stop the HFSPLUS filesystem from using iget() and read_inode(). Replace hfsplus_read_inode() with hfsplus_iget(), and call that instead of iget(). hfsplus_iget() then uses iget_locked() directly and returns a proper error code instead of an inode in the event of an error. hfsplus_fill_super() ret

[PATCH 19/31] IGET: Stop ISOFS from using read_inode() [try #3]

2007-10-10 Thread David Howells
Stop the ISOFS filesystem from using read_inode(). Make isofs_read_inode() return an error code, and make isofs_iget() pass it on. Signed-off-by: David Howells <[EMAIL PROTECTED]> --- fs/isofs/inode.c | 25 + 1 files changed, 17 insertions(+), 8 deletions(-) diff --gi

[PATCH 15/31] IGET: Stop FAT from using iget() and read_inode() [try #3]

2007-10-10 Thread David Howells
Stop the FAT filesystem from using iget() and read_inode(). Replace the call to iget() with a call to ilookup(). Signed-off-by: David Howells <[EMAIL PROTECTED]> --- fs/fat/inode.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/fs/fat/inode.c b/fs/fat/inode.c inde

[PATCH 16/31] IGET: Stop FreeVXFS from using iget() and read_inode() [try #3]

2007-10-10 Thread David Howells
Stop the FreeVXFS filesystem from using iget() and read_inode(). Replace vxfs_read_inode() with vxfs_iget(), and call that instead of iget(). vxfs_iget() then uses iget_locked() directly and returns a proper error code instead of an inode in the event of an error. vxfs_fill_super() returns any er

[PATCH 17/31] IGET: Stop FUSE from using iget() and read_inode() [try #3]

2007-10-10 Thread David Howells
Stop the FUSE filesystem from using read_inode(), which it doesn't use anyway. Signed-off-by: David Howells <[EMAIL PROTECTED]> --- fs/fuse/inode.c |6 -- 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c index 5448f62..2986654 100644 --- a/

[PATCH 13/31] IGET: Stop EXT3 from using iget() and read_inode() [try #3]

2007-10-10 Thread David Howells
Stop the EXT3 filesystem from using iget() and read_inode(). Replace ext3_read_inode() with ext3_iget(), and call that instead of iget(). ext3_iget() then uses iget_locked() directly and returns a proper error code instead of an inode in the event of an error. ext3_fill_super() returns any error

[PATCH 14/31] IGET: Stop EXT4 from using iget() and read_inode() [try #3]

2007-10-10 Thread David Howells
Stop the EXT4 filesystem from using iget() and read_inode(). Replace ext4_read_inode() with ext4_iget(), and call that instead of iget(). ext4_iget() then uses iget_locked() directly and returns a proper error code instead of an inode in the event of an error. ext4_fill_super() returns any error

[PATCH 12/31] IGET: Stop EXT2 from using iget() and read_inode() [try #3]

2007-10-10 Thread David Howells
Stop the EXT2 filesystem from using iget() and read_inode(). Replace ext2_read_inode() with ext2_iget(), and call that instead of iget(). ext2_iget() then uses iget_locked() directly and returns a proper error code instead of an inode in the event of an error. ext2_fill_super() returns any error

[PATCH 10/31] IGET: Stop CIFS from using iget() and read_inode() [try #3]

2007-10-10 Thread David Howells
Stop the CIFS filesystem from using iget() and read_inode(). Replace cifs_read_inode() with cifs_iget(), and call that instead of iget(). cifs_iget() then uses iget_locked() directly and returns a proper error code instead of an inode in the event of an error. cifs_read_super() now returns any er

[PATCH 11/31] IGET: Stop EFS from using iget() and read_inode() [try #3]

2007-10-10 Thread David Howells
Stop the EFS filesystem from using iget() and read_inode(). Replace efs_read_inode() with efs_iget(), and call that instead of iget(). efs_iget() then uses iget_locked() directly and returns a proper error code instead of an inode in the event of an error. efs_fill_super() returns any error incur

[PATCH 08/31] IGET: Stop BEFS from using iget() and read_inode() [try #3]

2007-10-10 Thread David Howells
Stop the BEFS filesystem from using iget() and read_inode(). Replace befs_read_inode() with befs_iget(), and call that instead of iget(). befs_iget() then uses iget_locked() directly and returns a proper error code instead of an inode in the event of an error. befs_fill_super() returns any error

[PATCH 09/31] IGET: Stop BFS from using iget() and read_inode() [try #3]

2007-10-10 Thread David Howells
Stop the BFS filesystem from using iget() and read_inode(). Replace bfs_read_inode() with bfs_iget(), and call that instead of iget(). bfs_iget() then uses iget_locked() directly and returns a proper error code instead of an inode in the event of an error. bfs_fill_super() returns any error incur

[PATCH 06/31] IGET: Stop AFFS from using iget() and read_inode() [try #3]

2007-10-10 Thread David Howells
Stop the AFFS filesystem from using iget() and read_inode(). Replace affs_read_inode() with affs_iget(), and call that instead of iget(). affs_iget() then uses iget_locked() directly and returns a proper error code instead of an inode in the event of an error. affs_fill_super() returns any error

[PATCH 07/31] IGET: Stop autofs from using iget() and read_inode() [try #3]

2007-10-10 Thread David Howells
Stop the autofs filesystem from using iget() and read_inode(). Replace autofs_read_inode() with autofs_iget(), and call that instead of iget(). autofs_iget() then uses iget_locked() directly and returns a proper error code instead of an inode in the event of an error. Signed-off-by: David Howells

[PATCH 05/31] IGET: Use iget_failed() in GFS2 [try #3]

2007-10-10 Thread David Howells
Use iget_failed() in GFS2 to kill a failed inode. Signed-off-by: David Howells <[EMAIL PROTECTED]> --- fs/gfs2/inode.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/gfs2/inode.c b/fs/gfs2/inode.c index 34f7bcd..498844f 100644 --- a/fs/gfs2/inode.c +++ b/fs/gfs2/ino

[PATCH 00/31] Remove iget() and read_inode() [try #3]

2007-10-10 Thread David Howells
Hi Christoph, Al, Here's a set of patches that remove all calls to iget() and all read_inode() functions. They should be removed for two reasons: firstly they don't lend themselves to good error handling, and secondly their presence is a temptation for code outside a filesystem to call iget() t

[PATCH 04/31] IGET: Use iget_failed() in AFS [try #3]

2007-10-10 Thread David Howells
Use iget_failed() in AFS to kill a failed inode. Signed-off-by: David Howells <[EMAIL PROTECTED]> --- fs/afs/inode.c |5 + 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/fs/afs/inode.c b/fs/afs/inode.c index d196840..ca9b02f 100644 --- a/fs/afs/inode.c +++ b/fs/afs/inode.

[PATCH 03/31] IGET: Introduce a function to register iget failure [try #3]

2007-10-10 Thread David Howells
Introduce a function to register failure in an inode construction path. This includes marking the inode under construction as bad, unlocking it and releasing it. Signed-off-by: David Howells <[EMAIL PROTECTED]> --- Documentation/filesystems/porting | 18 +- fs/bad_inode.c

[PATCH 02/31] Convert ERR_PTR(PTR_ERR(p)) instances to ERR_CAST(p) [try #3]

2007-10-10 Thread David Howells
Convert instances of ERR_PTR(PTR_ERR(p)) to ERR_CAST(p) using: perl -spi -e 's/ERR_PTR[(]PTR_ERR[(](.*)[)][)]/ERR_CAST(\1)/' `grep -rl 'ERR_PTR[(]*PTR_ERR' fs crypto net security` Signed-off-by: David Howells <[EMAIL PROTECTED]> --- crypto/cbc.c |2 +- crypto/cryptd.c

[PATCH 01/31] Add an ERR_CAST() macro to complement ERR_PTR and co. [try #3]

2007-10-10 Thread David Howells
Add an ERR_CAST() macro to complement ERR_PTR and co. for the purposes of casting an error entyped as one pointer type to an error of another pointer type whilst making it explicit as to what is going on. This provides a replacement for the ERR_PTR(PTR_ERR(p)) construct. Signed-off-by: David Howe

Re: parisc arch makefile clean-up needed [Was: cleaning up "make headers_install" for various architectures]

2007-10-10 Thread Robert P. J. Day
On Wed, 10 Oct 2007, Matthew Wilcox wrote: > On Wed, Oct 10, 2007 at 08:38:58PM +0200, Sam Ravnborg wrote: > > parisc arch Makefile needs some love and care... > > None of your comments actually address the thing that he was having > problems with: > > ifneq ($(call cc-ifversion, -lt, 0303, "bad")

Re: [PATCH] Reserve N process to root

2007-10-10 Thread g
> On Wed, 10 Oct 2007 09:46:22 EDT, Gustavo Chain said: >> El Wed, 10 Oct 2007 15:14:06 +0930 >> David Newall <[EMAIL PROTECTED]> escribió: >> > That was what I thought you had in mind; it protects from some kind >> > of fork bomb, right? But it doesn't seem useful unless you guarantee >> > having

Re: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and driver model

2007-10-10 Thread Eric W. Biederman
Greg KH <[EMAIL PROTECTED]> writes: > Ah, ok, that makes more sense. > > And seems quite difficult to do, good luck with that :) Thanks. At least now all I have to do is worry about the details when we get that far instead of selling the big picture... My gut feel is that sysfs is probably the

Re: x86_64 : kernel initial decompression hangs on vmware

2007-10-10 Thread Fengguang Wu
On Wed, Oct 10, 2007 at 12:16:30PM -0700, Zachary Amsden wrote: > On Wed, 2007-10-10 at 15:37 +0800, Fengguang Wu wrote: > > Hi Zachary, > > > > One of my friends' vmware "hangs" on booting Linux 2.6.23, and then get > > it to work by applying your patch at http://lkml.org/lkml/2007/8/4/72. > > >

RE: TPM driver changes to support multiple locality

2007-10-10 Thread Agarwal, Lomesh
There will be no change in API. Driver will accept a parameter "locality" and it will always operate on that locality. By default this parameter will be 0 which is what current driver assumes. Who is the maintainer for this driver? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: Memory controller merge (was Re: -mm merge plans for 2.6.24)

2007-10-10 Thread Rik van Riel
On Tue, 02 Oct 2007 09:51:11 +0530 Balbir Singh <[EMAIL PROTECTED]> wrote: > I was hopeful of getting the bare minimal infrastructure for memory > control in mainline, so that review is easy and additional changes > can be well reviewed as well. I am not yet convinced that the way the memory cont

  1   2   3   >