Re: [PATCH 42/59] sysctl: Remove sys_sysctl support from the hpet timer driver.

2007-01-16 Thread Clemens Ladisch
Eric W. Biederman wrote: > From: Eric W. Biederman <[EMAIL PROTECTED]> - unquoted > > In the binary sysctl interface the hpet driver was claiming to > be the cdrom driver. This is a no-no so remove support for the > binary interface. > > Signed-off-by: Eric W. Biederman <[EMAIL PROTECTED]>

Re: [PATCH 2.6.20-rc4 0/4] futexes functionalities and improvements

2007-01-16 Thread Pierre Peiffer
Ingo Molnar a écrit : * Ulrich Drepper <[EMAIL PROTECTED]> wrote: what do you mean by that - which is this same resource? From what has been said here before, all futexes are stored in the same list or hash table or whatever it was. I want to see how that code behaves if many separate

[PATCH] i386: entry.S END/ENDPROC annotations

2007-01-16 Thread Jan Beulich
Annotate i386/kernel/entry.S with END/ENDPROC to assist disassemblers and other analysis tools. Signed-off-by: Jan Beulich <[EMAIL PROTECTED]> --- linux-2.6.20-rc5/arch/i386/kernel/entry.S 2007-01-15 14:09:19.0 +0100 +++ 2.6.20-rc5-i386-entry-end/arch/i386/kernel/entry.S 2007-01-04

Re: BUG: linux 2.6.19 unable to enable acpi

2007-01-16 Thread Matheus Izvekov
I just tried the firmwarekit, and here are the results, attached. TYVM, thats a very useful tool. apicedge (experimental) APIC Edge/Level check 4 This test checks if legacy interrupts are edge and PCI interrupts are level Non-Legacy interrupt 0 is incorrectly level triggered 4

Re: BUG: linux 2.6.19 unable to enable acpi

2007-01-16 Thread Matheus Izvekov
On 1/17/07, Luming Yu <[EMAIL PROTECTED]> wrote: On 1/17/07, Matheus Izvekov <[EMAIL PROTECTED]> wrote: > It used to support power button events, dont know what else. Is there > anything I can do to check how good the acpi support is? Did you check BIOS setting? Is there any ACPI related

[take33 10/10] kevent: Kevent based AIO (aio_sendfile()/aio_sendfile_path()).

2007-01-16 Thread Evgeniy Polyakov
Kevent based AIO (aio_sendfile()/aio_sendfile_path()). aio_sendfile()/aio_sendfile_path() contains of two major parts: AIO state machine and page processing code. The former is just a small subsystem, which allows to queue callback for theirs invocation in process' context on behalf of pool

[take33 5/10] kevent: Timer notifications.

2007-01-16 Thread Evgeniy Polyakov
Timer notifications. Timer notifications can be used for fine grained per-process time management, since interval timers are very inconvenient to use, and they are limited. This subsystem uses high-resolution timers. id.raw[0] is used as number of seconds id.raw[1] is used as number of

[take33 4/10] kevent: Socket notifications.

2007-01-16 Thread Evgeniy Polyakov
Socket notifications. This patch includes socket send/recv/accept notifications. Using trivial web server based on kevent and this features instead of epoll it's performance increased more than noticebly. More details about various benchmarks and server itself (evserver_kevent.c) can be found

Re: [RFC 0/8] Cpuset aware writeback

2007-01-16 Thread Andrew Morton
> On Tue, 16 Jan 2007 22:27:36 -0800 (PST) Christoph Lameter <[EMAIL > PROTECTED]> wrote: > On Tue, 16 Jan 2007, Andrew Morton wrote: > > > > Yes this is the result of the hierachical nature of cpusets which already > > > causes issues with the scheduler. It is rather typical that cpusets are

[take33 8/10] kevent: Kevent posix timer notifications.

2007-01-16 Thread Evgeniy Polyakov
Kevent posix timer notifications. Simple extensions to POSIX timers which allows to deliver notification of the timer expiration through kevent queue. Example application posix_timer.c can be found in archive on project homepage. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> diff --git

[take33 7/10] kevent: Signal notifications.

2007-01-16 Thread Evgeniy Polyakov
Signal notifications. This type of notifications allows to deliver signals through kevent queue. One can find example application signal.c on project homepage. If KEVENT_SIGNAL_NOMASK bit is set in raw_u64 id then signal will be delivered only through queue, otherwise both delivery types are

[take33 9/10] kevent: Private userspace notifications.

2007-01-16 Thread Evgeniy Polyakov
Private userspace notifications. Allows to register notifications of any private userspace events over kevent. Events can be marked as readt using kevent_ctl(KEVENT_READY) command. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> diff --git a/kernel/kevent/kevent_unotify.c

[take33 0/10] kevent: Generic event handling mechanism.

2007-01-16 Thread Evgeniy Polyakov
Generic event handling mechanism. Kevent is a generic subsytem which allows to handle event notifications. It supports both level and edge triggered events. It is similar to poll/epoll in some cases, but it is more scalable, it is faster and allows to work with essentially eny kind of events.

[take33 1/10] kevent: Description.

2007-01-16 Thread Evgeniy Polyakov
Description. diff --git a/Documentation/kevent.txt b/Documentation/kevent.txt new file mode 100644 index 000..87a1ba9 --- /dev/null +++ b/Documentation/kevent.txt @@ -0,0 +1,268 @@ +Description. + +int kevent_init(struct kevent_ring *ring, unsigned int ring_size, + unsigned int

[take33 6/10] kevent: Pipe notifications.

2007-01-16 Thread Evgeniy Polyakov
Pipe notifications. diff --git a/fs/pipe.c b/fs/pipe.c index 68090e8..0c75bf1 100644 --- a/fs/pipe.c +++ b/fs/pipe.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include @@ -313,6 +314,7 @@ redo: break; }

[take33 3/10] kevent: poll/select() notifications.

2007-01-16 Thread Evgeniy Polyakov
poll/select() notifications. This patch includes generic poll/select notifications. kevent_poll works simialr to epoll and has the same issues (callback is invoked not from internal state machine of the caller, but through process awake, a lot of allocations and so on). Signed-off-by: Evgeniy

Re: On some configs, sparse spinlock balance checking is broken

2007-01-16 Thread Ingo Molnar
* Roland Dreier <[EMAIL PROTECTED]> wrote: > (Ingo -- you seem to be the last person to touch all this stuff, and I > can't untangle what you did, hence I'm sending this email to you) > > On at least some of my configs on x86_64, when running sparse, I see > bogus 'warning: context imbalance

Re: Two 2.6.20-rc5-rt2 issues

2007-01-16 Thread Ingo Molnar
* Rui Nuno Capela <[EMAIL PROTECTED]> wrote: > Building this already with -rt5, still gives: > ... > LD arch/i386/boot/compressed/vmlinux > OBJCOPY arch/i386/boot/vmlinux.bin > BUILD arch/i386/boot/bzImage > Root device is (3, 2) > Boot sector 512 bytes. > Setup is 7407 bytes. >

Re: [RFC 0/8] Cpuset aware writeback

2007-01-16 Thread Christoph Lameter
On Tue, 16 Jan 2007, Andrew Morton wrote: > > Yes this is the result of the hierachical nature of cpusets which already > > causes issues with the scheduler. It is rather typical that cpusets are > > used to partition the memory and cpus. Overlappig cpusets seem to have > > mainly an

Re: BUG: linux 2.6.19 unable to enable acpi

2007-01-16 Thread Luming Yu
On 1/17/07, Matheus Izvekov <[EMAIL PROTECTED]> wrote: On 1/17/07, Arjan van de Ven <[EMAIL PROTECTED]> wrote: > On Wed, 2007-01-17 at 02:01 -0200, Matheus Izvekov wrote: > > Just tried linux for the first time on this old machine, and i got > > this problem. dmesg below: > > > did this machine

Re: [RFC 5/8] Make writeout during reclaim cpuset aware

2007-01-16 Thread Christoph Lameter
On Wed, 17 Jan 2007, Andi Kleen wrote: > No actually people are fairly unhappy when one node is filled with > file data and then they don't get local memory from it anymore. > I get regular complaints about that for Opteron. Switch on zone_reclaim and it will take care of it. You can even

Re: [PATCH] flush_cpu_workqueue: don't flush an empty ->worklist

2007-01-16 Thread Srivatsa Vaddagiri
On Tue, Jan 16, 2007 at 04:27:25PM +0300, Oleg Nesterov wrote: > > I meant issuing kthread_stop() in DOWN_PREPARE so that worker > > thread exits itself (much before CPU is actually brought down). > > Deadlock if work_struct re-queues itself. Are you referring to the problem you described here?

Re: [PATCH] nfs: fix congestion control

2007-01-16 Thread Trond Myklebust
On Wed, 2007-01-17 at 03:41 +0100, Peter Zijlstra wrote: > On Tue, 2007-01-16 at 17:27 -0500, Trond Myklebust wrote: > > On Tue, 2007-01-16 at 23:08 +0100, Peter Zijlstra wrote: > > > Subject: nfs: fix congestion control > > > > > > The current NFS client congestion logic is severely broken, it

Re: [RFC 5/8] Make writeout during reclaim cpuset aware

2007-01-16 Thread Andi Kleen
On Wednesday 17 January 2007 15:36, Paul Jackson wrote: > > With a per node dirty limit ... > > What would this mean? > > Lets say we have a simple machine with 4 nodes, cpusets disabled. There can be always NUMA policy without cpusets for once. > Lets say all tasks are allowed to use all nodes,

Re: O_DIRECT question

2007-01-16 Thread Arjan van de Ven
On Tue, 2007-01-16 at 21:26 +0100, Bodo Eggert wrote: > Helge Hafting <[EMAIL PROTECTED]> wrote: > > Michael Tokarev wrote: > > >> But seriously - what about just disallowing non-O_DIRECT opens together > >> with O_DIRECT ones ? > >> > > Please do not create a new local DOS attack. > > I open

[PATCH]: MTRR: cosmetic fixes

2007-01-16 Thread Giuliano Procida
Subject: [PATCH]: cosmetic fixes [MTRR 2.6.19.1]: cosmetic fixes Signed-off-by: Giuliano Procida <[EMAIL PROTECTED]> --- Fixed incorrect (though identical) types in struct mtrr_gentry32 and tided some badly-indented comments. --- linux-source-2.6.19.1.orig/include/asm-x86_64/mtrr.h

Re: [PATCH 9/9] net: vm deadlock avoidance core

2007-01-16 Thread Evgeniy Polyakov
On Tue, Jan 16, 2007 at 05:08:15PM +0100, Peter Zijlstra ([EMAIL PROTECTED]) wrote: > On Tue, 2007-01-16 at 18:33 +0300, Evgeniy Polyakov wrote: > > On Tue, Jan 16, 2007 at 02:47:54PM +0100, Peter Zijlstra ([EMAIL > > PROTECTED]) wrote: > > > > > + if (unlikely(skb->emergency)) > > > > > +

Re: [RFC 5/8] Make writeout during reclaim cpuset aware

2007-01-16 Thread Paul Jackson
> With a per node dirty limit ... What would this mean? Lets say we have a simple machine with 4 nodes, cpusets disabled. Lets say all tasks are allowed to use all nodes, no set_mempolicy either. If a task happens to fill up 80% of one node with dirty pages, but we have no dirty pages yet on

Re: O_DIRECT question

2007-01-16 Thread Aubrey Li
On 1/12/07, Linus Torvalds <[EMAIL PROTECTED]> wrote: On Thu, 11 Jan 2007, Roy Huang wrote: > > On a embedded systerm, limiting page cache can relieve memory > fragmentation. There is a patch against 2.6.19, which limit every > opened file page cache and total pagecache. When the limit reach,

Re: [RFC 5/8] Make writeout during reclaim cpuset aware

2007-01-16 Thread Andi Kleen
On Wednesday 17 January 2007 15:20, Paul Jackson wrote: > Andi wrote: > > Is there a reason this can't be just done by node, ignoring the cpusets? > > This suggestion doesn't make a whole lot of sense to me. > > We're looking to see if a task has dirtied most of the > pages in the nodes it is

Re: [PATCH 0/59] Cleanup sysctl

2007-01-16 Thread Andi Kleen
On Wednesday 17 January 2007 03:33, Eric W. Biederman wrote: > There has not been much maintenance on sysctl in years, and as a result is > there is a lot to do to allow future interesting work to happen, and being > ambitious I'm trying to do it all at once :) > > The patches in this series fall

Re: [RFC 1/8] Convert higest_possible_node_id() into nr_node_ids

2007-01-16 Thread Christoph Lameter
On Wed, 17 Jan 2007, Andi Kleen wrote: > > > Are you sure this is even possible in general on systems with node > > > hotplug? The firmware might not pass a maximum limit. > > > > In that case the node possible map must include all nodes right? > > Yes. Then we are fine. - To unsubscribe from

Re: BUG: linux 2.6.19 unable to enable acpi

2007-01-16 Thread Matheus Izvekov
On 1/17/07, Arjan van de Ven <[EMAIL PROTECTED]> wrote: On Wed, 2007-01-17 at 02:01 -0200, Matheus Izvekov wrote: > Just tried linux for the first time on this old machine, and i got > this problem. dmesg below: did this machine EVER support acpi ? It used to support power button events,

Re: [RFC 5/8] Make writeout during reclaim cpuset aware

2007-01-16 Thread Christoph Lameter
On Wed, 17 Jan 2007, Andi Kleen wrote: > On Tuesday 16 January 2007 16:48, Christoph Lameter wrote: > > Direct reclaim: cpuset aware writeout > > > > During direct reclaim we traverse down a zonelist and are carefully > > checking each zone if its a member of the active cpuset. But then we call >

Re: [RFC 5/8] Make writeout during reclaim cpuset aware

2007-01-16 Thread Paul Jackson
Andi wrote: > Is there a reason this can't be just done by node, ignoring the cpusets? This suggestion doesn't make a whole lot of sense to me. We're looking to see if a task has dirtied most of the pages in the nodes it is allowed to use. If it has, then we want to start pushing pages to the

Re: [RFC 1/8] Convert higest_possible_node_id() into nr_node_ids

2007-01-16 Thread Andi Kleen
On Wednesday 17 January 2007 14:14, Christoph Lameter wrote: > On Wed, 17 Jan 2007, Andi Kleen wrote: > > On Tuesday 16 January 2007 16:47, Christoph Lameter wrote: > > > I think having the ability to determine the maximum amount of nodes in > > > a system at runtime is useful but then we should

Re: [RFC 5/8] Make writeout during reclaim cpuset aware

2007-01-16 Thread Andi Kleen
On Tuesday 16 January 2007 16:48, Christoph Lameter wrote: > Direct reclaim: cpuset aware writeout > > During direct reclaim we traverse down a zonelist and are carefully > checking each zone if its a member of the active cpuset. But then we call > pdflush without enforcing the same restrictions.

Re: BUG: linux 2.6.19 unable to enable acpi

2007-01-16 Thread Arjan van de Ven
On Wed, 2007-01-17 at 02:01 -0200, Matheus Izvekov wrote: > Just tried linux for the first time on this old machine, and i got > this problem. dmesg below: did this machine EVER support acpi ? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [RFC 0/8] Cpuset aware writeback

2007-01-16 Thread Andrew Morton
> On Tue, 16 Jan 2007 19:40:17 -0800 (PST) Christoph Lameter <[EMAIL > PROTECTED]> wrote: > On Tue, 16 Jan 2007, Andrew Morton wrote: > > > Consider: non-exclusive cpuset A consists of mems 0-15, non-exclusive > > cpuset B consists of mems 0-3. A task running in cpuset A can freely dirty > >

Re: [RFC 0/8] Cpuset aware writeback

2007-01-16 Thread Paul Jackson
> Yes this is the result of the hierachical nature of cpusets which already > causes issues with the scheduler. It is rather typical that cpusets are > used to partition the memory and cpus. Overlappig cpusets seem to have > mainly an administrative function. Paul? The heavy weight tasks,

BUG: linux 2.6.19 unable to enable acpi

2007-01-16 Thread Matheus Izvekov
Just tried linux for the first time on this old machine, and i got this problem. dmesg below: Linux version 2.6.19 ([EMAIL PROTECTED]) (gcc version 4.1.1 (Gentoo 4.1.1-r3)) #10 PREEMPT Sun Dec 10 17:35:24 BRST 2006 BIOS-provided physical RAM map: BIOS-e820: - 0009fc00

Re: [PATCH] nfs: fix congestion control

2007-01-16 Thread Peter Zijlstra
On Tue, 2007-01-16 at 17:27 -0500, Trond Myklebust wrote: > On Tue, 2007-01-16 at 23:08 +0100, Peter Zijlstra wrote: > > Subject: nfs: fix congestion control > > > > The current NFS client congestion logic is severely broken, it marks the > > backing device congested during each nfs_writepages()

Re: [PATCH]: MTRR: fix 32-bit ioctls on x64_32

2007-01-16 Thread H. Peter Anvin
Mikael Pettersson wrote: These #ifdefs are too ugly. Since you apparently just add aliases for the case labels, and do no actual code changes, why not 1. make the new cases unconditional, or 2. invoke a translation function before the switch which maps the MTRRCIOC32_ constants to what

Re: 2.6.20-rc5: known unfixed regressions

2007-01-16 Thread David Chinner
On Tue, Jan 16, 2007 at 05:15:02PM +1100, David Chinner wrote: > On Sat, Jan 13, 2007 at 08:11:25AM +0100, Adrian Bunk wrote: > > On Fri, Jan 12, 2007 at 02:27:48PM -0500, Linus Torvalds wrote: > > >... > > > A lot of developers (including me) will be gone next week for > > > Linux.Conf.Au, so

Re: [RFC 0/8] Cpuset aware writeback

2007-01-16 Thread Christoph Lameter
On Tue, 16 Jan 2007, Andrew Morton wrote: > Consider: non-exclusive cpuset A consists of mems 0-15, non-exclusive > cpuset B consists of mems 0-3. A task running in cpuset A can freely dirty > all of cpuset B's memory. A task running in cpuset B gets oomkilled. > > Consider: a 32-node machine

Re: [PATCH 35/59] sysctl: C99 convert ctl_tables in arch/powerpc/kernel/idle.c

2007-01-16 Thread Benjamin Herrenschmidt
On Tue, 2007-01-16 at 09:39 -0700, Eric W. Biederman wrote: > From: Eric W. Biederman <[EMAIL PROTECTED]> - unquoted > > This was partially done already and there was no ABI breakage what > a relief. > > Signed-off-by: Eric W. Biederman <[EMAIL PROTECTED]> Acked-by: Benjamin Herrenschmidt

Re: [PATCH 36/59] sysctl: C99 convert ctl_tables entries in arch/ppc/kernel/ppc_htab.c

2007-01-16 Thread Benjamin Herrenschmidt
On Tue, 2007-01-16 at 09:39 -0700, Eric W. Biederman wrote: > From: Eric W. Biederman <[EMAIL PROTECTED]> - unquoted > > And make the mode of the kernel directory 0555 no one is allowed > to write to sysctl directories. > > Signed-off-by: Eric W. Biederman <[EMAIL PROTECTED]> Acked-by: Benjamin

Re: [PATCH 18/59] sysctl: ipmi remove unnecessary insert_at_head flag

2007-01-16 Thread Benjamin Herrenschmidt
On Tue, 2007-01-16 at 09:39 -0700, Eric W. Biederman wrote: > From: Eric W. Biederman <[EMAIL PROTECTED]> - unquoted > > With unique sysctl binary numbers setting insert_at_head is pointless. > > Signed-off-by: Eric W. Biederman <[EMAIL PROTECTED]> Acked-by: Benjamin Herrenschmidt <[EMAIL

Re: [RFC 1/8] Convert higest_possible_node_id() into nr_node_ids

2007-01-16 Thread Christoph Lameter
On Wed, 17 Jan 2007, Andi Kleen wrote: > On Tuesday 16 January 2007 16:47, Christoph Lameter wrote: > > > I think having the ability to determine the maximum amount of nodes in > > a system at runtime is useful but then we should name this entry > > correspondingly and also only calculate the

[PATCH] intel_agp: restore graphics device's pci space early in resume

2007-01-16 Thread Wang Zhenyu
Dave, Currently in resuming path graphics device's pci space restore is behind host bridge, so resume function wrongly accesses graphics device's space. This makes resuming failure which crashed X. So here's a patch to restore device's pci space early, which makes resuming ok with X. Patch

Re: [RFC 0/8] Cpuset aware writeback

2007-01-16 Thread Andrew Morton
> On Tue, 16 Jan 2007 17:30:26 -0800 (PST) Christoph Lameter <[EMAIL > PROTECTED]> wrote: > > Nope. You've completely omitted the little fact that we'll do writeback in > > the offending zone off the LRU. Slower, maybe. But it should work and the > > system should recover. If it's not doing

Re: [RFC 1/8] Convert higest_possible_node_id() into nr_node_ids

2007-01-16 Thread Andi Kleen
On Tuesday 16 January 2007 16:47, Christoph Lameter wrote: > I think having the ability to determine the maximum amount of nodes in > a system at runtime is useful but then we should name this entry > correspondingly and also only calculate the value once on bootup. Are you sure this is even

Re: [RFC 0/8] Cpuset aware writeback

2007-01-16 Thread Christoph Lameter
On Tue, 16 Jan 2007, Andrew Morton wrote: > Nope. You've completely omitted the little fact that we'll do writeback in > the offending zone off the LRU. Slower, maybe. But it should work and the > system should recover. If it's not doing that (it isn't) then we should > fix it rather than

Re: data corruption with nvidia chipsets and IDE/SATA drives (k8 cpu errata needed?)

2007-01-16 Thread Christoph Anton Mitterer
Andi Kleen wrote: > AMD is looking at the issue. Only Nvidia chipsets seem to be affected, > although there were similar problems on VIA in the past too. > Unless a good workaround comes around soon I'll probably default > to iommu=soft on Nvidia. I've just read the posts about AMDs and NVIDIAs

Re: data corruption with nvidia chipsets and IDE/SATA drives (k8 cpu errata needed?)

2007-01-16 Thread Christoph Anton Mitterer
Chris Wedgwood wrote: > I'd like to here from Andi how he feels about this? It seems like a > somewhat drastic solution in some ways given a lot of hardware doesn't > seem to be affected (or maybe in those cases it's just really hard to > hit, I don't know). > Yes this might be true,.. those

Re: [RFC 0/8] Cpuset aware writeback

2007-01-16 Thread Andrew Morton
> On Tue, 16 Jan 2007 16:16:30 -0800 (PST) Christoph Lameter <[EMAIL > PROTECTED]> wrote: > On Tue, 16 Jan 2007, Andrew Morton wrote: > > > It's a workaround for a still-unfixed NFS problem. > > No its doing proper throttling. Without this patchset there will *no* > writeback and throttling at

Re: 2.6.20-rc5: usb mouse breaks suspend to ram

2007-01-16 Thread Pavel Machek
Hi! > > No, HID is the preferred... I am not sure what is going on - on my box > > STR does not work at all thanks to nvidia chip turning the display on > > all the way as the very last step of suspend ;( > > One or several of these options might help cure this: > - agp=off kernel command line

Re: Two 2.6.20-rc5-rt2 issues

2007-01-16 Thread Rui Nuno Capela
On Tue, January 16, 2007 11:56, Ingo Molnar wrote: > > * Rui Nuno Capela <[EMAIL PROTECTED]> wrote: > >> First one is about building for UP (CONFIG_SMP not set) on my old P4 >> laptop. As it seems, all my build attempts failed at the final link >> stage, with undefined references to

Re: [PATCH] Driver core: fix refcounting bug

2007-01-16 Thread Greg KH
On Mon, Jan 08, 2007 at 11:06:44AM -0500, Alan Stern wrote: > This patch (as832) fixes a newly-introduced bug in the driver core. > When a kobject is assigned to a kset, it must acquire a reference to > the kset. > > Signed-off-by: Alan Stern <[EMAIL PROTECTED]> > > --- > > The bug was

Re: 2.6.20-rc5: usb mouse breaks suspend to ram

2007-01-16 Thread Andreas Mohr
Hi, On Tue, Jan 16, 2007 at 04:25:20PM -0500, Dmitry Torokhov wrote: > No, HID is the preferred... I am not sure what is going on - on my box > STR does not work at all thanks to nvidia chip turning the display on > all the way as the very last step of suspend ;( One or several of these options

Re: IPv6 router advertisement broken on 2.6.20-rc5

2007-01-16 Thread Aurelien Jarno
On Wed, Jan 17, 2007 at 12:30:53AM +0100, bert hubert wrote: > On Tue, Jan 16, 2007 at 10:42:53PM +0100, Aurelien Jarno wrote: > > > I have just tried a 2.6.20-rc5 kernel (I previously used a 2.6.19 one), > > and I have noticed that the IPv6 router advertisement functionality is > > Can you

Re: [Cbe-oss-dev] [PATCH] Cell SPU task notification

2007-01-16 Thread Christoph Hellwig
Index: linux-2.6.19-rc6-arnd1+patches/arch/powerpc/platforms/cell/spufs/sched.c === --- linux-2.6.19-rc6-arnd1+patches.orig/arch/powerpc/platforms/cell/spufs/sched.c 2006-12-04 10:56:04.730698720 -0600 +++

Re: fix typo in geode_configre()@cyrix.c

2007-01-16 Thread Juergen Beisert
On Tuesday 09 January 2007 18:33, Lennart Sorensen wrote: > Then for the next one it does: > ccr3 = GetCx86(CX86_CCR3); > setCx86(CX86_CCR3, (ccr3 & 0x0f) | 0x10); > > Couldn't that have been: > setCx86(CX86_CCR3, (getCx86(CX86_CCR3) & 0x0f) | 0x10); > > No temp variable, and again it clearly does

Re: [RFC 0/8] Cpuset aware writeback

2007-01-16 Thread Christoph Lameter
On Tue, 16 Jan 2007, Andrew Morton wrote: > It's a workaround for a still-unfixed NFS problem. No its doing proper throttling. Without this patchset there will *no* writeback and throttling at all. F.e. lets say we have 20 nodes of 1G each and a cpuset that only spans one node. Then a process

Re: fix typo in geode_configre()@cyrix.c

2007-01-16 Thread Juergen Beisert
On Tuesday 09 January 2007 16:43, Lennart Sorensen wrote: > On Tue, Jan 09, 2007 at 06:41:56PM +0900, takada wrote: > > In kernel 2.6, write back wrong register when configure Geode processor. > > Instead of storing to CCR4, it stores to CCR3. > > > > ---

Re: [RFC: 2.6 patch] drivers/scsi/qla4xxx/: possible cleanups

2007-01-16 Thread Ravi Anand
>On Sun, 14 Jan 2007, Adrian Bunk wrote: > Date: Sun, 14 Jan 2007 14:45:54 +0100 > From: Adrian Bunk <[EMAIL PROTECTED]> > To: Ravi Anand <[EMAIL PROTECTED]>, > David Somayajulu <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED], linux-scsi@vger.kernel.org, > linux-kernel@vger.kernel.org >

Re: IPv6 router advertisement broken on 2.6.20-rc5

2007-01-16 Thread Daniel Drake
Aurelien Jarno wrote: Hi all, I have just tried a 2.6.20-rc5 kernel (I previously used a 2.6.19 one), and I have noticed that the IPv6 router advertisement functionality is broken. The interface is not attributed an IPv6 address anymore, despite /proc/sys/net/ipv6/conf/all/ra_accept being set

Re: 2.6.20-rc4-mm1 USB (asix) problem

2007-01-16 Thread Eric Buddington
On Mon, Jan 15, 2007 at 08:32:17PM +, David Hollis wrote: > Interesting. It would really be something if your devices happen to > work better with 0. Wouldn't make much sense at all unfortunately. If > 0 works, could you also try setting it to 2 or 3? The PHY select value > is a bit field

On some configs, sparse spinlock balance checking is broken

2007-01-16 Thread Roland Dreier
(Ingo -- you seem to be the last person to touch all this stuff, and I can't untangle what you did, hence I'm sending this email to you) On at least some of my configs on x86_64, when running sparse, I see bogus 'warning: context imbalance in '' - wrong count at exit'. This seems to be because I

Re: IPv6 router advertisement broken on 2.6.20-rc5

2007-01-16 Thread Sridhar Samudrala
I think the following patch [IPV6] MCAST: Fix joining all-node multicast group on device initialization. http://www.spinics.net/lists/netdev/msg22663.html that went in after 2.6.20-rc5 should fix this problem. Thanks Sridhar On 1/16/07, bert hubert <[EMAIL PROTECTED]> wrote: On Tue, Jan 16,

Re: [RFC 0/8] Cpuset aware writeback

2007-01-16 Thread David Chinner
On Tue, Jan 16, 2007 at 01:53:25PM -0800, Andrew Morton wrote: > > On Mon, 15 Jan 2007 21:47:43 -0800 (PST) Christoph Lameter > > <[EMAIL PROTECTED]> wrote: > > > > Currently cpusets are not able to do proper writeback since dirty ratio > > calculations and writeback are all done for the system as

Re: [RFC 0/8] Cpuset aware writeback

2007-01-16 Thread Andrew Morton
> On Tue, 16 Jan 2007 14:15:56 -0800 (PST) Christoph Lameter <[EMAIL > PROTECTED]> wrote: > > ... > > > > This may result in a large percentage of a cpuset > > > to become dirty without writeout being triggered. Under NFS > > > this can lead to OOM conditions. > > > > OK, a big question: is this

Re: [PATCH -mm 3/10][RFC] aio: use iov_length instead of ki_left

2007-01-16 Thread Ingo Oeser
On Tuesday, 16. January 2007 06:37, Nate Diller wrote: > On 1/15/07, Christoph Hellwig <[EMAIL PROTECTED]> wrote: > > On Mon, Jan 15, 2007 at 05:54:50PM -0800, Nate Diller wrote: > > > Convert code using iocb->ki_left to use the more generic iov_length() > > > call. > > > > No way. We need to

Re: [PATCH 31/59] sysctl: C99 convert the ctl_tables in arch/mips/au1000/common/power.c

2007-01-16 Thread Ingo Oeser
Hi Eric, On Tuesday, 16. January 2007 17:39, Eric W. Biederman wrote: > diff --git a/arch/mips/au1000/common/power.c b/arch/mips/au1000/common/power.c > index b531ab7..31256b8 100644 > --- a/arch/mips/au1000/common/power.c > +++ b/arch/mips/au1000/common/power.c > @@ -419,15 +419,41 @@ static int

Re: [PATCH] Kwatch: kernel watchpoints using CPU debug registers

2007-01-16 Thread Christoph Hellwig
Fir4st I'd say thanks a lot for forward-porting this, it's really useful feature for all kinds of nasty debugging. I think you should split this into two patches, one for the debugreg infrastructure, and one for the actual kwatch code. Also I think you provide one (or even a few) example wathes

Re: IPv6 router advertisement broken on 2.6.20-rc5

2007-01-16 Thread bert hubert
On Tue, Jan 16, 2007 at 10:42:53PM +0100, Aurelien Jarno wrote: > I have just tried a 2.6.20-rc5 kernel (I previously used a 2.6.19 one), > and I have noticed that the IPv6 router advertisement functionality is Can you check if rc1, rc2, rc3 etc do work? Thanks. -- http://www.PowerDNS.com

Re: [PATCH 45/59] sysctl: C99 convert ctl_tables in drivers/parport/procfs.c

2007-01-16 Thread Eric W. Biederman
Ingo Oeser <[EMAIL PROTECTED]> writes: > Hi Eric, > > On Tuesday, 16. January 2007 17:39, Eric W. Biederman wrote: >> diff --git a/drivers/parport/procfs.c b/drivers/parport/procfs.c >> index 2e744a2..5337789 100644 >> --- a/drivers/parport/procfs.c >> +++ b/drivers/parport/procfs.c >> @@ -263,50

Re: fix typo in geode_configre()@cyrix.c

2007-01-16 Thread Lennart Sorensen
On Wed, Jan 17, 2007 at 01:38:35AM +0900, takada wrote: > You are right. I agree to your comment. These variables are needless. > I made a patch again. > > diff -Narup linux-2.6.19.orig/arch/i386/kernel/cpu/cyrix.c > linux-2.6.19/arch/i386/kernel/cpu/cyrix.c > ---

Re: IPv6 router advertisement broken on 2.6.20-rc5

2007-01-16 Thread Bob Tracy
Aurelien Jarno wrote: > I have just tried a 2.6.20-rc5 kernel (I previously used a 2.6.19 one), > and I have noticed that the IPv6 router advertisement functionality is > broken. The interface is not attributed an IPv6 address anymore, despite > /proc/sys/net/ipv6/conf/all/ra_accept being set to 1

IPv6 router advertisement broken on 2.6.20-rc5

2007-01-16 Thread Aurelien Jarno
Hi all, I have just tried a 2.6.20-rc5 kernel (I previously used a 2.6.19 one), and I have noticed that the IPv6 router advertisement functionality is broken. The interface is not attributed an IPv6 address anymore, despite /proc/sys/net/ipv6/conf/all/ra_accept being set to 1 (also true for each

Re: [PATCH] nfs: fix congestion control

2007-01-16 Thread Trond Myklebust
On Tue, 2007-01-16 at 23:08 +0100, Peter Zijlstra wrote: > Subject: nfs: fix congestion control > > The current NFS client congestion logic is severely broken, it marks the > backing device congested during each nfs_writepages() call and implements > its own waitqueue. > > Replace this by a

patch pci-rework-documentation-pci.txt.patch added to gregkh-2.6 tree

2007-01-16 Thread gregkh
This is a note to let you know that I've just added the patch titled Subject: PCI: rework Documentation/pci.txt to my gregkh-2.6 tree. Its filename is pci-rework-documentation-pci.txt.patch This tree can be found at

Re: [RFC 0/8] Cpuset aware writeback

2007-01-16 Thread Christoph Lameter
On Wed, 17 Jan 2007, Andi Kleen wrote: > > Secondly we modify the dirty limit calculation to be based > > on the acctive cpuset. > > The global dirty limit definitely seems to be a problem > in several cases, but my feeling is that the cpuset is the wrong unit > to keep track of it. Most likely

Re: [PATCH] return ENOENT from ext3_link when racing with unlink

2007-01-16 Thread Peter Staubach
Alex Tomas wrote: Peter Staubach (PS) writes: PS> Just out of curosity, what keeps i_nlink from going to 0 immediately PS> after the new test is executed? i_mutex in vfs_link() and vfs_unlink() Ahhh... Okie doke, thanx! ps - To unsubscribe from this list: send

Re: [RFC 0/8] Cpuset aware writeback

2007-01-16 Thread Christoph Lameter
On Tue, 16 Jan 2007, Andrew Morton wrote: > > On Mon, 15 Jan 2007 21:47:43 -0800 (PST) Christoph Lameter <[EMAIL > > PROTECTED]> wrote: > > > > Currently cpusets are not able to do proper writeback since > > dirty ratio calculations and writeback are all done for the system > > as a whole. > >

Re: [PATCH 45/59] sysctl: C99 convert ctl_tables in drivers/parport/procfs.c

2007-01-16 Thread Ingo Oeser
Hi Eric, On Tuesday, 16. January 2007 17:39, Eric W. Biederman wrote: > diff --git a/drivers/parport/procfs.c b/drivers/parport/procfs.c > index 2e744a2..5337789 100644 > --- a/drivers/parport/procfs.c > +++ b/drivers/parport/procfs.c > @@ -263,50 +263,118 @@ struct parport_sysctl_table { > +

[PATCH] nfs: fix congestion control

2007-01-16 Thread Peter Zijlstra
Subject: nfs: fix congestion control The current NFS client congestion logic is severely broken, it marks the backing device congested during each nfs_writepages() call and implements its own waitqueue. Replace this by a more regular congestion implementation that puts a cap on the number of

Re: [PATCH 37/59] sysctl: C99 convert arch/sh64/kernel/traps.c and remove ABI breakage.

2007-01-16 Thread Paul Mundt
On Tue, Jan 16, 2007 at 09:39:42AM -0700, Eric W. Biederman wrote: > From: Eric W. Biederman <[EMAIL PROTECTED]> - unquoted > > While doing the C99 conversion I notices that the top level sh64 > directory was using the binary number for CTL_KERN. That is a > no-no so I removed the support for

Re: [PATCH] return ENOENT from ext3_link when racing with unlink

2007-01-16 Thread Alex Tomas
> Peter Staubach (PS) writes: PS> Just out of curosity, what keeps i_nlink from going to 0 immediately PS> after the new test is executed? i_mutex in vfs_link() and vfs_unlink() thanks, Alex - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [RFC 0/8] Cpuset aware writeback

2007-01-16 Thread Andi Kleen
> Secondly we modify the dirty limit calculation to be based > on the acctive cpuset. The global dirty limit definitely seems to be a problem in several cases, but my feeling is that the cpuset is the wrong unit to keep track of it. Most likely it should be more fine grained. > If we are in a

Re: [PATCH] return ENOENT from ext3_link when racing with unlink

2007-01-16 Thread Peter Staubach
Eric Sandeen wrote: An update from the earlier thread, [PATCH] [RFC] remove ext3 inode from orphan list when link and unlink race I think this is better than the original idea of trying to handle the race; I've seen that the orphan inode list can get corrupted, but there may well be other

RE: data corruption with nvidia chipsets and IDE/SATA drives (k8 cpu errata needed?)

2007-01-16 Thread Allen Martin
> I'd like to here from Andi how he feels about this? It seems like a > somewhat drastic solution in some ways given a lot of hardware doesn't > seem to be affected (or maybe in those cases it's just really hard to > hit, I don't know). > > > Well we can hope that Nvidia will find out more

Re: [RFC 0/8] Cpuset aware writeback

2007-01-16 Thread Andrew Morton
> On Mon, 15 Jan 2007 21:47:43 -0800 (PST) Christoph Lameter <[EMAIL > PROTECTED]> wrote: > > Currently cpusets are not able to do proper writeback since > dirty ratio calculations and writeback are all done for the system > as a whole. We _do_ do proper writeback. But it's less efficient than

Re: 2.6.20-rc5: usb mouse breaks suspend to ram

2007-01-16 Thread Pavel Machek
Hi! > >> >I started using el-cheapo usb mouse... only to find out that it breaks > >> >suspend to RAM. Suspend-to-disk works okay. I was not able to extract > >> >any usefull messages... > >> > > >> >Resume process hangs; I can still switch console and even type on > >> >keyboard, but userland is

[PATCH 2.6.20-rc3]: 8139cp: Don't blindly enable interrupts

2007-01-16 Thread Chris Lalancette
Francois Romieu wrote: >Chris Lalancette <[EMAIL PROTECTED]> : >[...] > > >> Thanks for the comments. While the patch you sent will help, there are >>still other places that will have problems. For example, in netpoll_send_skb, >>we call local_irq_save(flags), then call

Re: data corruption with nvidia chipsets and IDE/SATA drives (k8 cpu errata needed?)

2007-01-16 Thread Andi Kleen
On Wednesday 17 January 2007 07:31, Chris Wedgwood wrote: > On Tue, Jan 16, 2007 at 08:52:32PM +0100, Christoph Anton Mitterer wrote: > > I agree,... it seems drastic, but this is the only really secure > > solution. > > I'd like to here from Andi how he feels about this? It seems like a >

Re: [Cluster-devel] [-mm patch] make gfs2_change_nlink_i() static

2007-01-16 Thread Adrian Bunk
On Tue, Jan 16, 2007 at 04:04:15PM -0500, Wendy Cheng wrote: > Adrian Bunk wrote: > >On Thu, Jan 11, 2007 at 10:26:27PM -0800, Andrew Morton wrote: > > > >>... > >>Changes since 2.6.20-rc3-mm1: > >>... > >> git-gfs2-nmw.patch > >>... > >> git trees > >>... > >> > > > > > >This patch makes

Re: [PATCH 0/4 update] kprobes and traps

2007-01-16 Thread Mathieu Desnoyers
Hi, I have looked at kprobes code and have some questions for you. I would really like to use it to patch dynamically my marker immediate value by doing code patching. Using an int3 seems like the right way to handle this wrt pIII erratum 49. Everything is ok, except for a limitation important

Re: 2.6.20-rc5: usb mouse breaks suspend to ram

2007-01-16 Thread Dmitry Torokhov
On 1/16/07, Pavel Machek <[EMAIL PROTECTED]> wrote: Hi! > >I started using el-cheapo usb mouse... only to find out that it breaks > >suspend to RAM. Suspend-to-disk works okay. I was not able to extract > >any usefull messages... > > > >Resume process hangs; I can still switch console and even

Re: Attribute removal patch causes lockdep warning

2007-01-16 Thread Greg KH
On Tue, Jan 16, 2007 at 10:15:57PM +0100, Oliver Neukum wrote: > Am Dienstag, 16. Januar 2007 21:33 schrieb Alan Stern: > > Are you aware that your patch for safe attribute file removal provokes a > > lockdep warning at bootup? > > Yes, I am aware of that. However, the top down lock order is

  1   2   3   4   5   6   7   >