Re: gigabit ethernet power consumption

2007-10-08 Thread Oliver Neukum
Am Dienstag 09 Oktober 2007 schrieb Pavel Machek: > Question is, how to implement it correctly? Daemon that would watch > data rates and switch speeds using mii-tool would be simple, but is > that enough? Do you only want to affect true ethernet devices this way? It seems to me that the savings fo

Re: RFC: reviewer's statement of oversight

2007-10-08 Thread Stefan Richter
> Sam Ravnborg wrote: >> On Tue, Oct 09, 2007 at 08:11:53AM +0200, Stefan Richter wrote: >>> The SCM changelog should contain _what_ a patch does and if >>> necessary _why_ it does so. >> The _why_ part is more important than _what_. The diff should hopefully >> explain the _what_ part. > > "What"

Re: OHCI root_port_reset() deadly loop...

2007-10-08 Thread Benjamin Herrenschmidt
On Mon, 2007-10-08 at 22:00 -0700, David Brownell wrote: > > > > The old /etc/hotplug/usb.rc script made sure to load those modules > > > > in the correct order: EHCI first. > > > > > > I expected to find something cute attempting to handle this under > > > /etc/udev, I have failed so far :-) >

[PATCH -mm -v4 3/3] i386/x86_64 boot: document for 32 bit boot protocol

2007-10-08 Thread Huang, Ying
This patch defines a 32-bit boot protocol and adds corresponding document. It is based on the proposal of Peter Anvin. Signed-off-by: Huang Ying <[EMAIL PROTECTED]> --- boot.txt | 70 +++ zero-page.txt | 129 +--

Re: RFC: reviewer's statement of oversight

2007-10-08 Thread Stefan Richter
Sam Ravnborg wrote: > On Tue, Oct 09, 2007 at 08:11:53AM +0200, Stefan Richter wrote: >> The SCM changelog should contain _what_ a patch does and if >> necessary _why_ it does so. > The _why_ part is more important than _what_. The diff should hopefully > explain the _what_ part. "What": fix locku

[PATCH -mm -v4 1/3] i386/x86_64 boot: setup data

2007-10-08 Thread Huang, Ying
This patch add a field of 64-bit physical pointer to NULL terminated single linked list of struct setup_data to real-mode kernel header. This is used as a more extensible boot parameters passing mechanism. Signed-off-by: Huang Ying <[EMAIL PROTECTED]> --- arch/i386/Kconfig|3 -

[PATCH -mm -v4 2/3] i386/x86_64 boot: boot parameters export via sysfs

2007-10-08 Thread Huang, Ying
This patch export the boot parameters via sysfs. This can be used for debugging and kexec. Signed-off-by: Huang Ying <[EMAIL PROTECTED]> --- i386/kernel/Makefile|1 i386/kernel/ksysfs.c| 242 i386/kernel/setup.c |2 x86_64/

[PATCH -mm -v4 0/3] i386/x86_64 boot: 32-bit boot protocol

2007-10-08 Thread Huang, Ying
This patchset defines a 32-bit boot protocol for i386/x86_64 platform, adds an extensible boot parameter passing mechanism, export the boot parameters via sysfs. The patchset has been tested against 2.6.23-rc8-mm2 kernel on x86_64 and i386. This patchset is based on the proposal of Peter Anvin.

Re: OHCI root_port_reset() deadly loop...

2007-10-08 Thread Benjamin Herrenschmidt
On Mon, 2007-10-08 at 22:26 -0700, David Miller wrote: > From: Benjamin Herrenschmidt <[EMAIL PROTECTED]> > Date: Tue, 09 Oct 2007 15:13:36 +1000 > > > I'm not even sure module load order is 100% fault proof here since > > khubd spawns as a thread... > > I'm concerned about that as well, thanks

Re: RFC: reviewer's statement of oversight

2007-10-08 Thread Sam Ravnborg
On Tue, Oct 09, 2007 at 08:11:53AM +0200, Stefan Richter wrote: > Steven Rostedt wrote: > > But for those that run test suites, they should be smart enough to put > > in more documentation into the change log to state how it was tested. > > I disagree. The SCM changelog should contain _what_ a pa

Re: irq0 stops working

2007-10-08 Thread Thomas Gleixner
On Tue, 9 Oct 2007, Vasily Averin wrote: > Jan Engelhardt wrote: > > On Oct 9 2007 09:26, Vasily Averin wrote: > >> On one of our servers timer interrupts (i.e irq0) are stops working. As > >> result > >> any kernel timers do not triggers and tasks waiting some signals from > >> timers > >> hang

[PATCH] Stop docproc segfaulting when SRCTREE isn't set.

2007-10-08 Thread Rob Landley
From: Rob Landley <[EMAIL PROTECTED]> Prevent docproc from segfaulting when SRCTREE isn't set. Signed-off-by: Rob Landley <[EMAIL PROTECTED]> --- scripts/basic/docproc.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff -r a26a53ed1101 scripts/basic/docproc.c --- a/script

Re: irq0 stops working

2007-10-08 Thread Vasily Averin
Jan Engelhardt wrote: > On Oct 9 2007 09:26, Vasily Averin wrote: >> On one of our servers timer interrupts (i.e irq0) are stops working. As >> result >> any kernel timers do not triggers and tasks waiting some signals from timers >> hangs forever. > > What kernel.. and tried CONFIG_NO_HZ=n? Ori

Re: RFC: reviewer's statement of oversight

2007-10-08 Thread Stefan Richter
Steven Rostedt wrote: > But for those that run test suites, they should be smart enough to put > in more documentation into the change log to state how it was tested. I disagree. The SCM changelog should contain _what_ a patch does and if necessary _why_ it does so. The rest (e.g. the sign-off t

Re: OHCI root_port_reset() deadly loop...

2007-10-08 Thread Greg KH
On Mon, Oct 08, 2007 at 09:47:27PM -0700, David Miller wrote: > From: Greg KH <[EMAIL PROTECTED]> > Date: Mon, 8 Oct 2007 21:39:09 -0700 > > > No, nothing cute in udev itself, but it seems that all distros that I > > know of have a "load these modules now" type setting in their init > > scripts th

Re: [RFC/RFT] kbuild: save ARCH & CROSS_COMPILE

2007-10-08 Thread Sam Ravnborg
On Mon, Oct 08, 2007 at 11:12:56PM +0200, Adrian Bunk wrote: > On Mon, Oct 08, 2007 at 10:02:55PM +0200, Sam Ravnborg wrote: > >... > > The settings are stored in the build directory in a file > > named "Kbuild.config" (should it be a .dot file?). > >... > > A .dot file sounds better. I will make

Re: irq0 stops working

2007-10-08 Thread Thomas Gleixner
On Tue, 9 Oct 2007, Vasily Averin wrote: > On one of our servers timer interrupts (i.e irq0) are stops working. As result > any kernel timers do not triggers and tasks waiting some signals from timers > hangs forever. Which kernel version ? > Most noticeable effect of this situation is that any

Re: [RFC/RFT] kbuild: save ARCH & CROSS_COMPILE

2007-10-08 Thread Sam Ravnborg
> > 2) We need to share much more Kconfig* between the individual architectures > >First step is to let all arch's use drivers/Kconfig > > 2) isn't terribly difficult, just takes some time and willingness > of $arch maintainers to some changes, but please explain a bit more > why it is needed.

Re: irq0 stops working

2007-10-08 Thread Jan Engelhardt
On Oct 9 2007 09:26, Vasily Averin wrote: > >On one of our servers timer interrupts (i.e irq0) are stops working. As result >any kernel timers do not triggers and tasks waiting some signals from timers >hangs forever. What kernel.. and tried CONFIG_NO_HZ=n? - To unsubscribe from this list: send

Re: [RFC/RFT] kbuild: save ARCH & CROSS_COMPILE

2007-10-08 Thread Randy Dunlap
On Mon, 8 Oct 2007 21:53:16 -0700 Randy Dunlap wrote: > On Tue, 9 Oct 2007 06:17:43 +0200 Sam Ravnborg wrote: > > > > > > > What about, that this is the first ever prompt, that must be shown and > > > written to the .config? > > Two issues to fix before we can do this: > > 1) chocie values canno

irq0 stops working

2007-10-08 Thread Vasily Averin
On one of our servers timer interrupts (i.e irq0) are stops working. As result any kernel timers do not triggers and tasks waiting some signals from timers hangs forever. Most noticeable effect of this situation is that any write operations to disk are stalled, and nobody can log in on the node.

Re: OHCI root_port_reset() deadly loop...

2007-10-08 Thread David Miller
From: Benjamin Herrenschmidt <[EMAIL PROTECTED]> Date: Tue, 09 Oct 2007 15:13:36 +1000 > I'm not even sure module load order is 100% fault proof here since > khubd spawns as a thread... I'm concerned about that as well, thanks for bringing it up. My understanding, however, is that the critical t

Re: [13/18] x86_64: Allow fallback for the stack

2007-10-08 Thread Nick Piggin
On Tuesday 09 October 2007 03:36, Christoph Lameter wrote: > On Sun, 7 Oct 2007, Nick Piggin wrote: > > > The problem can become non-rare on special low memory machines doing > > > wild swapping things though. > > > > But only your huge systems will be using huge stacks? > > I have no idea who else

Re: OHCI root_port_reset() deadly loop...

2007-10-08 Thread David Miller
From: David Brownell <[EMAIL PROTECTED]> Date: Mon, 08 Oct 2007 22:00:19 -0700 > Assuming PCI is present, /sys/bus/pci/devices/*/class can tell > if EHCI is present (0x0c0320) ... if so, load that driver. > Then repeat for OHCI (0x0c0310) and UHCI (0x0c0300). These are facts all of us know very w

Re: gigabit ethernet power consumption

2007-10-08 Thread Willy Tarreau
Hi Auke, On Mon, Oct 08, 2007 at 03:31:51PM -0700, Kok, Auke wrote: > Pavel Machek wrote: > > Hi! > > > > I've found that gbit vs. 100mbit power consumption difference is about > > 1W -- pretty significant. (Maybe powertop should include it in the > > tips section? :). > > > > Energy Star people

Re: OHCI root_port_reset() deadly loop...

2007-10-08 Thread Benjamin Herrenschmidt
> Yes, that's why I asked about EHCI. My speculation would be that > OHCI starts the reset, and EHCI claims the port before it completes; > or contrariwise OHCI starts the reset right after EHCI claims it. > > And there's some point in that process where a hardware race makes > the trouble you've

Re: OHCI root_port_reset() deadly loop...

2007-10-08 Thread Benjamin Herrenschmidt
On Mon, 2007-10-08 at 21:47 -0700, David Miller wrote: > From: Greg KH <[EMAIL PROTECTED]> > Date: Mon, 8 Oct 2007 21:39:09 -0700 > > > No, nothing cute in udev itself, but it seems that all distros that I > > know of have a "load these modules now" type setting in their init > > scripts that can

Re: gigabit ethernet power consumption

2007-10-08 Thread Chris Snook
Pavel Machek wrote: Hi! I've found that gbit vs. 100mbit power consumption difference is about 1W -- pretty significant. (Maybe powertop should include it in the tips section? :). Energy Star people insist that machines should switch down to 100mbit when network is idle, and I guess that makes

Re: [Linux-fbdev-devel] [PATCH 0/6] Patch series to add of_platform binding to xilinxfb

2007-10-08 Thread Antonino A. Daplas
On Mon, 2007-10-08 at 22:43 -0600, Grant Likely wrote: > On 10/2/07, Antonino A. Daplas <[EMAIL PROTECTED]> wrote: > > On Mon, 2007-10-01 at 09:57 -0600, Grant Likely wrote: > > > Assuming there are no major issues, I'd like to get this patch series > > > queued up for inclusion in 2.6.24. > > > >

Re: OHCI root_port_reset() deadly loop...

2007-10-08 Thread David Brownell
> > > The old /etc/hotplug/usb.rc script made sure to load those modules > > > in the correct order: EHCI first. > > > > I expected to find something cute attempting to handle this under > > /etc/udev, I have failed so far :-) > > No, nothing cute in udev itself, but it seems that all distros tha

Re: [RFC/RFT] kbuild: save ARCH & CROSS_COMPILE

2007-10-08 Thread Randy Dunlap
On Tue, 9 Oct 2007 06:17:43 +0200 Sam Ravnborg wrote: > > > > What about, that this is the first ever prompt, that must be shown and > > written to the .config? > Two issues to fix before we can do this: > 1) chocie values cannot have more than one prompt > 2) We need to share much more Kconfig*

Re: OHCI root_port_reset() deadly loop...

2007-10-08 Thread David Miller
From: Greg KH <[EMAIL PROTECTED]> Date: Mon, 8 Oct 2007 21:39:09 -0700 > No, nothing cute in udev itself, but it seems that all distros that I > know of have a "load these modules now" type setting in their init > scripts that can be used here. > > I can't think of a way to enforce this load orde

Re: OHCI root_port_reset() deadly loop...

2007-10-08 Thread David Miller
From: David Brownell <[EMAIL PROTECTED]> Date: Mon, 08 Oct 2007 21:36:43 -0700 > Don't need this "limit_1" timeout; "reset_done" handles all > the timeout needed there. The regs->fmnumber is essentially > a millisecond counter. If the hardware hangs and the register stops incrementing, the entir

Re: [Linux-fbdev-devel] [PATCH 0/6] Patch series to add of_platform binding to xilinxfb

2007-10-08 Thread Grant Likely
On 10/2/07, Antonino A. Daplas <[EMAIL PROTECTED]> wrote: > On Mon, 2007-10-01 at 09:57 -0600, Grant Likely wrote: > > Assuming there are no major issues, I'd like to get this patch series > > queued up for inclusion in 2.6.24. > > Okay. > > Tony BTW, what path do framebuffer patches take to get i

Re: OHCI root_port_reset() deadly loop...

2007-10-08 Thread David Brownell
> Regardless, here is a patch that hardens the OHCI reset handling > loops so that they break out instead of hanging the entire system > should this condition occur. It's at least better than what the > code does to a user right now which is hang the box completely: > > [USB] ohci: Do not hang the

Re: OHCI root_port_reset() deadly loop...

2007-10-08 Thread Greg KH
On Mon, Oct 08, 2007 at 08:42:36PM -0700, David Miller wrote: > From: David Brownell <[EMAIL PROTECTED]> > Date: Mon, 08 Oct 2007 20:34:12 -0700 > > > > However, when both OHCI and EHCI are built as modules (or, similarly > > > I guess, OHCI is built-in and EHCI is modular) there appears to be > >

Re: sleepy linux 2.6.23-rc9

2007-10-08 Thread Antonino A. Daplas
On Tue, 2007-10-09 at 00:05 +0200, Pavel Machek wrote: > Hi! > > I played with powertop a bit, and found a fairly interesting failure > mode. If I boot init=/bin/bash vga=1, I get ~2 wakeups a second, nice. > > When I boot init=/bin/bash vga=791 (vesa framebuffer), most wakeups > are caused by cu

Re: [PATCH RT] fix rt-task scheduling issue

2007-10-08 Thread Gregory Haskins
Hi Guys, Nice find! Comment inline.. (adding linux-rt-users) for reference to http://lkml.org/lkml/2007/10/8/252 On Mon, 2007-10-08 at 22:46 -0400, Steven Rostedt wrote: > Index: linux-2.6.23-rc9-rt2/kernel/sched.c > === > ---

Re: [RFC/RFT] kbuild: save ARCH & CROSS_COMPILE

2007-10-08 Thread Sam Ravnborg
> > What about, that this is the first ever prompt, that must be shown and > written to the .config? Two issues to fix before we can do this: 1) chocie values cannot have more than one prompt 2) We need to share much more Kconfig* between the individual architectures First step is to let all ar

Re: OHCI root_port_reset() deadly loop...

2007-10-08 Thread David Brownell
> To add some more information here, I think the EHCI idea might > hold some water. > > What I have here are two NEC OHCI USB interfaces and one NEC EHCI > USB interface on PCI. Aparently they all go through a shared > USB hub, mapped like this: > > HUB Port 1: OHCI #1, EHCI > HUB Port 2: OHCI #2,

Re: [PATCH] lockdep: Avoid /proc/lockdep & lock_stat infinite output

2007-10-08 Thread Tim Pepper
On Tue 09 Oct at 02:30:11 +0100 [EMAIL PROTECTED] said: > On Mon, Oct 08, 2007 at 06:15:51PM -0700, Tim Pepper wrote: > > > > - if (&class->lock_entry == all_lock_classes.next) > > + if (*pos == 0) > > seq_printf(m, "all lock classes:\n"); > > Do not generate output outside of ->s

Re: OHCI root_port_reset() deadly loop...

2007-10-08 Thread David Miller
From: David Brownell <[EMAIL PROTECTED]> Date: Mon, 08 Oct 2007 20:34:12 -0700 > > However, when both OHCI and EHCI are built as modules (or, similarly > > I guess, OHCI is built-in and EHCI is modular) there appears to be > > nothing in userspace which makes sure EHCI gets loaded first. > > The

Re: RFC: reviewer's statement of oversight

2007-10-08 Thread Stephen Hemminger
On Mon, 8 Oct 2007 16:06:03 -0700 Randy Dunlap <[EMAIL PROTECTED]> wrote: > On Mon, 08 Oct 2007 16:43:10 -0600 Jonathan Corbet wrote: > > > Sam Ravnborg <[EMAIL PROTECTED]> wrote: > > > > > Or maybe we need something much less formal that explain the purpose of > > > the > > > four tags we use:

Re: OHCI root_port_reset() deadly loop...

2007-10-08 Thread David Brownell
> However, when both OHCI and EHCI are built as modules (or, similarly > I guess, OHCI is built-in and EHCI is modular) there appears to be > nothing in userspace which makes sure EHCI gets loaded first. The old /etc/hotplug/usb.rc script made sure to load those modules in the correct order: EHCI

Re: OHCI root_port_reset() deadly loop...

2007-10-08 Thread David Miller
From: Greg KH <[EMAIL PROTECTED]> Date: Mon, 8 Oct 2007 20:10:49 -0700 > Yes it does, I'm seeing reports from some hardware companies of the very > same thing. If you serialize and load the ehci driver first, and then > the ohci driver, that should fix the problem. > > Does that also work for yo

Re: [PATCH 6/6] Use one zonelist that is filtered by nodemask

2007-10-08 Thread Nishanth Aravamudan
On 08.10.2007 [18:56:05 -0700], Christoph Lameter wrote: > On Mon, 8 Oct 2007, Nishanth Aravamudan wrote: > > > > struct page * fastcall > > > __alloc_pages(gfp_t gfp_mask, unsigned int order, > > > struct zonelist *zonelist) > > > { > > > + /* > > > + * Use a temporary nodemask for

Re: OHCI root_port_reset() deadly loop...

2007-10-08 Thread Greg KH
On Mon, Oct 08, 2007 at 04:54:20PM -0700, David Miller wrote: > From: David Miller <[EMAIL PROTECTED]> > Date: Sun, 07 Oct 2007 00:51:56 -0700 (PDT) > > > From: David Brownell <[EMAIL PROTECTED]> > > Date: Sun, 07 Oct 2007 00:31:41 -0700 > > > > > Are the other ports still behaving? Is EHCI mayb

Re: -rt more realtime scheduling issues

2007-10-08 Thread Steven Rostedt
On Mon, Oct 08, 2007 at 11:45:23AM -0700, Mike Kravetz wrote: > On Fri, Oct 05, 2007 at 07:15:48PM -0700, Mike Kravetz wrote: > > After applying the fix to try_to_wake_up() I was still seeing some large > > latencies for realtime tasks. > > I've been looking for places in the code where reschedule

[PATCH RT] fix rt-task scheduling issue

2007-10-08 Thread Steven Rostedt
Mike, Can you attach your Signed-off-by to this patch, please. On Fri, Oct 05, 2007 at 07:15:48PM -0700, Mike Kravetz wrote: > Hi Ingo, > > After applying the fix to try_to_wake_up() I was still seeing some large > latencies for realtime tasks. Some debug code pointed out two additional > caus

Re: [PATCH] mm: set_page_dirty_balance() vs ->page_mkwrite()

2007-10-08 Thread Mark Fasheh
On Mon, Oct 08, 2007 at 05:47:52PM +1000, Nick Piggin wrote: > > block_page_mkwrite() is just using generic interfaces to do this, > > same as pretty much any write() system call. The idea was to make it > > as similar to the write() call path as possible... > > > > However, unlike generic_file_buf

Re: RFC: reviewer's statement of oversight

2007-10-08 Thread Steven Rostedt
On Mon, Oct 08, 2007 at 10:16:26PM +0200, Rafael J. Wysocki wrote: > > Tested-by: is sort of trivial for a fix patch, for example, if a bug reporter > confirms that the proposed patch actually fixes the issue. IMHO it wouldn't > be practical to complicate that. > I see two types of Tested-by. 1

Re: [PATCH 6/6] Use one zonelist that is filtered by nodemask

2007-10-08 Thread Christoph Lameter
On Mon, 8 Oct 2007, Nishanth Aravamudan wrote: > > struct page * fastcall > > __alloc_pages(gfp_t gfp_mask, unsigned int order, > > struct zonelist *zonelist) > > { > > + /* > > +* Use a temporary nodemask for __GFP_THISNODE allocations. If the > > +* cost of allocating on

Re: parallel networking

2007-10-08 Thread Jeff Garzik
David Miller wrote: From: Jeff Garzik <[EMAIL PROTECTED]> Date: Mon, 08 Oct 2007 10:22:28 -0400 In terms of overall parallelization, both for TX as well as RX, my gut feeling is that we want to move towards an MSI-X, multi-core friendly model where packets are LIKELY to be sent and received by

Re: [PATCH]fix VM_CAN_NONLINEAR check in sys_remap_file_pages

2007-10-08 Thread Yan Zheng
2007/10/9, Andrew Morton <[EMAIL PROTECTED]>: > Perhaps Yan Zheng can tell us what test was used to demonstrate this? I found it by review, only do test to check remap_file_pages works when VM_CAN_NONLINEAR flags is set. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: [PATCH] lockdep: Avoid /proc/lockdep & lock_stat infinite output

2007-10-08 Thread Al Viro
On Mon, Oct 08, 2007 at 06:15:51PM -0700, Tim Pepper wrote: > > When a read() requests an amount of data smaller than the amount of data > that the seq_file's foo_show() outputs, the output starts looping and > outputs the "stuck" element's data infinitely. There may be multiple > sequential call

Re: [PATCH] param_sysfs_builtin memchr argument fix

2007-10-08 Thread Dave Young
> > If memchr argument is longer than strlen(kp->name), there will be some > > weird result. > > Just to clarify: this was causing duplicate filenames in sysfs ? Yes, it will casuse duplicate filenames in sysfs. For me, the "nousb" will cause the "usbcore" created twice. > > > > Signed-off-by:

[PATCH] lockdep: Avoid /proc/lockdep & lock_stat infinite output

2007-10-08 Thread Tim Pepper
When a read() requests an amount of data smaller than the amount of data that the seq_file's foo_show() outputs, the output starts looping and outputs the "stuck" element's data infinitely. There may be multiple sequential calls to foo_start(), foo_next()/foo_show(), and foo_stop() for a single o

Re: [PATCH 6/6] Use one zonelist that is filtered by nodemask

2007-10-08 Thread Nishanth Aravamudan
On 28.09.2007 [15:25:27 +0100], Mel Gorman wrote: > > Two zonelists exist so that GFP_THISNODE allocations will be guaranteed > to use memory only from a node local to the CPU. As we can now filter the > zonelist based on a nodemask, we filter the standard node zonelist for zones > on the local no

Re: sleepy linux 2.6.23-rc9

2007-10-08 Thread H. Peter Anvin
Clemens Koller wrote: When I boot init=/bin/bash vga=791 (vesa framebuffer), most wakeups are caused by cursor painting (I should fix that some day, I guess). But... the cursor blinking does not even work properly! It blinks at normal speed, then (randomly) it blinks slowly, then gets back to n

[PATCH 2/2] aic94xx: Use sas_request_addr() to provide SAS addr if the adapter lacks one

2007-10-08 Thread Darrick J. Wong
If the aic94xx chip doesn't have a SAS address in the chip's flash memory, make libsas get one for us. Also clean out some old code that had been used to do this in the past. Signed-off-by: Darrick J. Wong <[EMAIL PROTECTED]> --- drivers/scsi/aic94xx/aic94xx.h | 16 driv

[PATCH 1/2] libsas: Provide a transport-level facility to request SAS addrs

2007-10-08 Thread Darrick J. Wong
Use the request_firmware() interface to get a SAS address from userspace. This way, there's no debate as to who or how an address gets generated; it's up to the administrator to provide one if the driver can't find one on its own. Signed-off-by: Darrick J. Wong <[EMAIL PROTECTED]> --- drivers/sc

Re: lockdep: how to tell it multiple pte locks is OK?

2007-10-08 Thread Jeremy Fitzhardinge
Arjan van de Ven wrote: > s/implemented/merged/ :) > > IN fact shared pagetables are already there for hugepages. > For small pages it's a patch at this point. > Is it kept up to date? Where does it live? > no I'm not saying that. I'm just saying that I'm worried about the > locking robustnes

Re: [PATCH] mm: set_page_dirty_balance() vs ->page_mkwrite()

2007-10-08 Thread Nick Piggin
On Tuesday 09 October 2007 09:36, David Chinner wrote: > On Mon, Oct 08, 2007 at 04:37:00PM +1000, Nick Piggin wrote: > > On Tuesday 09 October 2007 02:54, Peter Zijlstra wrote: > > > Force a balance call if ->page_mkwrite() was successful. > > > > Would it be better to just have the callers set_p

Re: [PATCH]fix VM_CAN_NONLINEAR check in sys_remap_file_pages

2007-10-08 Thread Nick Piggin
On Tuesday 09 October 2007 03:51, Andrew Morton wrote: > On Mon, 8 Oct 2007 10:28:43 -0700 > > I'll now add remap_file_pages soon. > > Maybe those other 2 tests aren't strong enough (?). > > Or maybe they don't return a non-0 exit status even when they fail... > > (I'll check.) > > Perhaps Yan Zhe

Re: [PATCH] aic94xx: Use request_firmware() to provide SAS address if the adapter lacks one

2007-10-08 Thread Andrew Vasquez
On Mon, 08 Oct 2007, Darrick J. Wong wrote: > On Mon, Oct 08, 2007 at 03:48:32PM -0700, Andrew Vasquez wrote: > > > So how about factoring that out to a transport-level interface. How > > about something along the lines of the following patch, whereby the > > software driver upon detecting no va

Re: RFC: reviewer's statement of oversight

2007-10-08 Thread Neil Brown
On Monday October 8, [EMAIL PROTECTED] wrote: I find it is always good to know *why* we have the tags. That information is a useful complement to what they mean, and can guide people in adding them. So below I present some "Purposes", YetAnotherTag, and a comment on the RSO. (And I'd like to ad

Re: [ofa-general] Updated InfiniBand/RDMA merge plans for 2.6.24

2007-10-08 Thread Roland Dreier
> No mention about the iwarp port space issue? I don't think we're at a stage where I'm prepared to merge something-- we all agree the latest patch has serious drawbacks, and it commits us to a suboptimal interface that is userspace-visible. > I'm at a loss as to how to proceed. Could we try t

Re: OHCI root_port_reset() deadly loop...

2007-10-08 Thread David Miller
From: David Miller <[EMAIL PROTECTED]> Date: Sun, 07 Oct 2007 00:51:56 -0700 (PDT) > From: David Brownell <[EMAIL PROTECTED]> > Date: Sun, 07 Oct 2007 00:31:41 -0700 > > > Are the other ports still behaving? Is EHCI maybe trying to switch > > ownership of that port? Is maybe the (newish) autosu

Re: [PATCH 1/2] Colored kernel output (run3)

2007-10-08 Thread Antonino A. Daplas
On Tue, 2007-10-09 at 01:31 +0200, Jan Engelhardt wrote: > On Oct 9 2007 07:12, Antonino A. Daplas wrote: > >> > >> References: http://lkml.org/lkml/2007/4/1/162 > >>http://lkml.org/lkml/2007/10/5/199 > > > >This is quite a long thread :-) > > It was a patch series after all. But as Greg puts

Re: [PATCH] aic94xx: Use request_firmware() to provide SAS address if the adapter lacks one

2007-10-08 Thread Darrick J. Wong
On Mon, Oct 08, 2007 at 03:48:32PM -0700, Andrew Vasquez wrote: > So how about factoring that out to a transport-level interface. How > about something along the lines of the following patch, whereby the > software driver upon detecting no valid WWPN, makes an upcall to each > interface's 'reques

Re: sleepy linux 2.6.23-rc9

2007-10-08 Thread Clemens Koller
Pavel Machek schrieb: I played with powertop a bit, and found a fairly interesting failure mode. If I boot init=/bin/bash vga=1, I get ~2 wakeups a second, nice. When I boot init=/bin/bash vga=791 (vesa framebuffer), most wakeups are caused by cursor painting (I should fix that some day, I guess

Re: parallel networking

2007-10-08 Thread jamal
On Mon, 2007-08-10 at 15:33 -0700, David Miller wrote: > Multiply whatever effect you think you might be able to measure due to > that on your 2 or 4 way system, and multiple it up to 64 cpus or so > for machines I am using. This is where machines are going, and is > going to become the norm. Ye

Re: RFC: reviewer's statement of oversight

2007-10-08 Thread Stefan Richter
Jonathan Corbet wrote: > All of these > +tags have the form: > + > + Something-done-by: Full name <[EMAIL PROTECTED]> To be precise: Something-done-by: Full name <[EMAIL PROTECTED]> [optional random stuff] "Some people also put extra tags at the end. They'll just be ignored for now, but

Re: [PATCH] mm: set_page_dirty_balance() vs ->page_mkwrite()

2007-10-08 Thread David Chinner
On Mon, Oct 08, 2007 at 04:37:00PM +1000, Nick Piggin wrote: > On Tuesday 09 October 2007 02:54, Peter Zijlstra wrote: > > It seems that with the recent usage of ->page_mkwrite() a little detail > > was overlooked. > > > > .22-rc1 merged OCFS2 usage of this hook > > .23-rc1 merged XFS usage > > .24

Re: [PATCH]fix VM_CAN_NONLINEAR check in sys_remap_file_pages

2007-10-08 Thread Nick Piggin
On Tuesday 09 October 2007 03:04, Andrew Morton wrote: > On Mon, 8 Oct 2007 19:45:08 +0800 "Yan Zheng" <[EMAIL PROTECTED]> wrote: > > Hi all > > > > The test for VM_CAN_NONLINEAR always fails > > > > Signed-off-by: Yan Zheng<[EMAIL PROTECTED]> > > > > diff -ur linux-2.6.23-rc9/mm/fremap.c linu

[PATCH] device-mapper: fix bd_mount_sem corruption

2007-10-08 Thread Jun'ichi Nomura
Hi, This patch fixes a bd_mount_sem counter corruption bug in device-mapper. thaw_bdev() should be called only when freeze_bdev() was called for the device. Otherwise, thaw_bdev() will up bd_mount_sem and corrupt the semaphore counter. struct block_device with the corrupted semaphore may remain i

Re: [PATCH 1/2] Colored kernel output (run3)

2007-10-08 Thread Jan Engelhardt
On Oct 9 2007 07:12, Antonino A. Daplas wrote: >> >> References: http://lkml.org/lkml/2007/4/1/162 >> http://lkml.org/lkml/2007/10/5/199 > >This is quite a long thread :-) It was a patch series after all. But as Greg puts it, be persistent. >> +config VT_PRINTK_COLOR >> +hex "Colored k

Re: RFC: reviewer's statement of oversight

2007-10-08 Thread J. Bruce Fields
On Mon, Oct 08, 2007 at 04:43:10PM -0600, Jonathan Corbet wrote: > + (e) I understand and agree that this project and the contribution are > + public and that a record of the contribution (including my Reviewed-by > + tag and any associated public communications) is maintained > + indef

Re: [PATCH] Version 3 (2.6.23-rc8) Smack: Simplified Mandatory Access Control Kernel

2007-10-08 Thread Bill Davidsen
Serge E. Hallyn wrote: (tongue-in-cheek) No no, everyone knows you don't build simpler things on top of more complicated ones, you go the other way around. So what he was suggesting was that selinux be re-written on top of smack. Having gone from proposing a simpler and easier to use secur

Re: [PATCH]fix VM_CAN_NONLINEAR check in sys_remap_file_pages

2007-10-08 Thread Nick Piggin
On Monday 08 October 2007 23:37, Hugh Dickins wrote: > On Mon, 8 Oct 2007, Yan Zheng wrote: > > The test for VM_CAN_NONLINEAR always fails > > Good catch indeed. Though I was puzzled how we do nonlinear at all, > until I realized it's "The test for not VM_CAN_NONLINEAR always fails". > > It's not

Re: [PATCH] mm: set_page_dirty_balance() vs ->page_mkwrite()

2007-10-08 Thread Nick Piggin
On Tuesday 09 October 2007 02:54, Peter Zijlstra wrote: > It seems that with the recent usage of ->page_mkwrite() a little detail > was overlooked. > > .22-rc1 merged OCFS2 usage of this hook > .23-rc1 merged XFS usage > .24-rc1 will most likely merge NFS usage > > Please consider this for .23 fina

Re: [PATCH 1/2] Colored kernel output (run3)

2007-10-08 Thread Antonino A. Daplas
On Sat, 2007-10-06 at 22:09 +0200, Jan Engelhardt wrote: > Colored kernel message output (1/2) > > This patch makes it possible to give kernel messages a selectable > color. It can be chosen at compile time, overridden at boot time, > and changed at run time. > > References: http://lkml.org/lkml

Re: + fix-vm_can_nonlinear-check-in-sys_remap_file_pages.patch added to -mm tree

2007-10-08 Thread Ray Lee
On 10/8/07, Alexey Dobriyan <[EMAIL PROTECTED]> wrote: > On Mon, Oct 08, 2007 at 10:05:40AM -0700, [EMAIL PROTECTED] wrote: > > --- a/mm/fremap.c~fix-vm_can_nonlinear-check-in-sys_remap_file_pages > > +++ a/mm/fremap.c > > @@ -160,7 +160,7 @@ asmlinkage long sys_remap_file_pages(uns > > if (v

Re: RFC: reviewer's statement of oversight

2007-10-08 Thread Randy Dunlap
On Mon, 08 Oct 2007 16:43:10 -0600 Jonathan Corbet wrote: > Sam Ravnborg <[EMAIL PROTECTED]> wrote: > > > Or maybe we need something much less formal that explain the purpose of the > > four tags we use: > > ...or maybe a combination? How does the following patch look as a way > to describe how

Re: RFC: reviewer's statement of oversight

2007-10-08 Thread Oleg Verych
* Mon, 8 Oct 2007 17:38:52 -0400 > > On Mon, Oct 08, 2007 at 01:33:38PM -0700, H. Peter Anvin wrote: >> Uhm, no. There is no reason an "unimportant" person couldn't review a >> patch, and therefore perform a potentially highly valuable service to >> the maintainer. >> >> None of these are indic

[PATCH] [NetLabel] Introduce a new kernel configuration API for NetLabel - for Smack Version 5

2007-10-08 Thread Casey Schaufler
From: Paul Moore <[EMAIL PROTECTED]> Add a new set of configuration functions to the NetLabel/LSM API so that LSMs can perform their own configuration of the NetLabel subsystem without relying on assistance from userspace. Signed-off-by: Paul Moore <[EMAIL PROTECTED]> --- This update fixes a mem

possible recursive locking detected... in __wake_up

2007-10-08 Thread Stefan Richter
Hi list, how could this ever happen? >> = >> [ INFO: possible recursive locking detected ] >> 2.6.23-0.222.rc9.git4.fc8 #1 >> - >> X/2522 is trying to acquire lock: >>(&q->lock){++..}, at: [] __w

Re: [PATCH]fix VM_CAN_NONLINEAR check in sys_remap_file_pages

2007-10-08 Thread Yan Zheng
2007/10/8, Hugh Dickins <[EMAIL PROTECTED]>: > On Mon, 8 Oct 2007, Yan Zheng wrote: > > > > The test for VM_CAN_NONLINEAR always fails > Good catch indeed. Though I was puzzled how we do nonlinear at all, > until I realized it's "The test for not VM_CAN_NONLINEAR always fails". > It's not as serio

Re: [PATCH] aic94xx: Use request_firmware() to provide SAS address if the adapter lacks one

2007-10-08 Thread Andrew Vasquez
On Mon, 08 Oct 2007, Darrick J. Wong wrote: > If the aic94xx chip doesn't have a SAS address in the chip's flash memory, > use the request_firmware() interface to get one from userspace. This > way, there's no debate as to who or how an address gets generated--it's > totally up to the administrat

Re: RFC: reviewer's statement of oversight

2007-10-08 Thread Jonathan Corbet
Sam Ravnborg <[EMAIL PROTECTED]> wrote: > Or maybe we need something much less formal that explain the purpose of the > four tags we use: ...or maybe a combination? How does the following patch look as a way to describe how the tags are used and what Reviewed-by, in particular, means? Perhaps t

[PATCH] Correct Makefile rule for generating custom keymap.

2007-10-08 Thread Maarten Bressers
When building a custom keymap, after setting GENERATE_KEYMAP := 1 in drivers/char/Makefile, the kernel build fails like this: CC drivers/char/vt.o make[2]: *** No rule to make target `drivers/char/%.map', needed by `drivers/char/defkeymap.c'. Stop. make[1]: *** [drivers/char] Error 2 make:

Re: x86-64 sporadic hang in 2.6.23rc7 and 2.6.22

2007-10-08 Thread Helge Hafting
Thomas Gleixner wrote: On Sat, 29 Sep 2007, Helge Hafting wrote: Thomas Gleixner wrote: I have gone back to 2.6.22rc4, which seems to work. This is a single opteron, although on a dual-slot board. Can you switch to serial console, so we can get some information out of th

RE: parallel networking

2007-10-08 Thread Waskiewicz Jr, Peter P
> Multiply whatever effect you think you might be able to > measure due to that on your 2 or 4 way system, and multiple > it up to 64 cpus or so for machines I am using. This is > where machines are going, and is going to become the norm. That along with speeds going to 10 GbE with multiple Tx

Re: parallel networking

2007-10-08 Thread David Miller
From: jamal <[EMAIL PROTECTED]> Date: Mon, 08 Oct 2007 18:30:18 -0400 > Very quickly there are no more packets for it to dequeue from the > qdisc or the driver is stoped and it has to get out of there. If you > dont have any interupt tied to a specific cpu then you can have many > cpus enter and l

Re: gigabit ethernet power consumption

2007-10-08 Thread Kok, Auke
Pavel Machek wrote: > Hi! > > I've found that gbit vs. 100mbit power consumption difference is about > 1W -- pretty significant. (Maybe powertop should include it in the > tips section? :). > > Energy Star people insist that machines should switch down to 100mbit > when network is idle, and I gue

Re: parallel networking

2007-10-08 Thread jamal
On Mon, 2007-08-10 at 14:11 -0700, David Miller wrote: > The problem is that the packet schedulers want global guarantees > on packet ordering, not flow centric ones. > > That is the issue Jamal is concerned about. indeed, thank you for giving it better wording. > The more I think about it, th

Re: 2.6.23-rc9 compile error drivers/video/fbmon.c

2007-10-08 Thread Helge Hafting
Adrian Bunk wrote: On Tue, Oct 09, 2007 at 12:00:38AM +0200, Helge Hafting wrote: CC drivers/video/fbmon.o drivers/video/fbmon.c: In function ‘fb_parse_edid’: drivers/video/fbmon.c:867: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attrib _’ before ‘*’ token drivers/video/fbmon.c:867: er

Re: 2.6.23-rc9 compile error drivers/video/fbmon.c

2007-10-08 Thread Adrian Bunk
On Tue, Oct 09, 2007 at 12:00:38AM +0200, Helge Hafting wrote: > CC drivers/video/fbmon.o > drivers/video/fbmon.c: In function ‘fb_parse_edid’: > drivers/video/fbmon.c:867: error: expected ‘=’, ‘,’, ‘;’, > ‘asm’ or ‘__attrib > _’ before ‘*’ token > drivers/video/fbmon.c:867: error: ‘block’ u

Re: 2.6.23-rc9 compile error drivers/video/fbmon.c

2007-10-08 Thread Randy Dunlap
On Tue, 09 Oct 2007 00:00:38 +0200 Helge Hafting wrote: > CC drivers/video/fbmon.o > drivers/video/fbmon.c: In function ‘fb_parse_edid’: > drivers/video/fbmon.c:867: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attrib > _’ before ‘*’ token > drivers/video/fbmon.c:867: error: ‘block’ undeclare

gigabit ethernet power consumption

2007-10-08 Thread Pavel Machek
Hi! I've found that gbit vs. 100mbit power consumption difference is about 1W -- pretty significant. (Maybe powertop should include it in the tips section? :). Energy Star people insist that machines should switch down to 100mbit when network is idle, and I guess that makes a lot of sense -- you

  1   2   3   >