[PATCH] Fix vmi time header bug

2007-03-12 Thread Zachary Amsden
Some gcc put this function in .init.text because the header didn't match. For 2.6.21-rc. Zach Index: linux-2.6.21/include/asm-i386/vmi_time.h === --- linux-2.6.21.orig/include/asm-i386/vmi_time.h 2007-03-06

Re: /sys/devices/system/cpu/cpuX/online are missing

2007-03-12 Thread Giuliano Pochini
On Mon, 12 Mar 2007, Heiko Carstens wrote: On Sun, Mar 11, 2007 at 10:26:52PM +0100, Giuliano Pochini wrote: Since 2.6.20 /sys/devices/system/cpu/cpuX/online isn't there anymore. The directories exist, though. I also tested linux-2.6.21rc3. I had a look at the archives and I found nothing

[PATCH 1/1] mm: Inconsistent use of node IDs

2007-03-12 Thread Ethan Solomita
This patch corrects inconsistent use of node numbers (variously "nid" or "node") in the presence of fake NUMA. Both AMD and Intel x86_64 discovery code will determine a CPU's physical node and use that node when calling numa_add_cpu() to associate that CPU with the node, but numa_add_cpu()

Re: [QUICKLIST 0/6] Arch independent quicklists V1

2007-03-12 Thread David Miller
From: Christoph Lameter <[EMAIL PROTECTED]> Date: Sat, 10 Mar 2007 18:09:23 -0800 (PST) > 6 patches follow this message: > > [QUICKLIST 1/6] Extract quicklist implementation from IA64 > [QUICKLIST 2/6] i386: quicklist support > [QUICKLIST 3/6] i386: Use standard list manipulators for pgd_list >

Re: [PATCH] usb-serial regression (Oops) in 2.6.21-rc*

2007-03-12 Thread Jim Radford
On Mon, Mar 12, 2007 at 01:33:31PM -0700, Greg KH wrote: > On Mon, Mar 12, 2007 at 04:22:22PM -0400, Mark Lord wrote: > > Oliver Neukum wrote: > > >>Mark Lord wrote: > > >>>Okay, from that part (above), the problem is obvious: > > >>>in that the "MCT U232 converter now disconnected" appears, > >

Re: [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2.6.21-rc3-mm2

2007-03-12 Thread Con Kolivas
On 13/03/07, Mike Galbraith <[EMAIL PROTECTED]> wrote: On Tue, 2007-03-13 at 07:38 +1100, Con Kolivas wrote: > On Tuesday 13 March 2007 07:11, Mike Galbraith wrote: > > > > Killing the known corner case starvation scenarios is wonderful, but > > let's not just pretend that interactive tasks

Re: [PATCH 2/2] pci: Repair pci_save/restore_state so we can restore one save many times.

2007-03-12 Thread Kok, Auke
Eric W. Biederman wrote: Because we do not reserve space for the pci-x and pci-e state in struct pci dev we need to dynamically allocate it. However because we need to support restore being called multiple times after a single save it is never safe to free the buffers we have allocated to hold

Re: [PATCH] kthread_should_stop_check_freeze (was: Re: [PATCH -mm 3/7] Freezer: Remove PF_NOFREEZE from rcutorture thread)

2007-03-12 Thread Anton Blanchard
> Do not do it, then. Confusion it causes is not worth saving one line > of code. > > You do less typing, but the resulting code is _less_ readable, not > more. Then please document it _clearly_ with the kthread code somewhere. The reason I brought this up is I had no idea we had to put the

Re: [PATCH] kthread_should_stop_check_freeze (was: Re: [PATCH -mm 3/7] Freezer: Remove PF_NOFREEZE from rcutorture thread)

2007-03-12 Thread Pavel Machek
Hi! > > > Looks good to me! The other kthread_should_stop() calls in > > > rcutorture.c should also become > > > kthread_should_top_check_freeze(). > > Why is it useful? > > Because we want to avoid repeating > > while (!kthread_should_stop()) { > try_to_freeze(); > ... > } > >

Re: [RFC][PATCH 2/7] RSS controller core

2007-03-12 Thread Herbert Poetzl
On Mon, Mar 12, 2007 at 11:42:59AM -0700, Dave Hansen wrote: > How about we drill down on these a bit more. > > On Mon, 2007-03-12 at 02:00 +0100, Herbert Poetzl wrote: > > - shared mappings of 'shared' files (binaries > >and libraries) to allow for reduced memory > >footprint when N

Djprobes questions

2007-03-12 Thread Mathieu Desnoyers
Hi Masami, I recently had to add support for inline code patching on i386 to my marker infrastructure. Clearly, it looks like what is done in djprobes, with the main difference that I only patch the immediate value of a 2 bytes "load immediate" instruction. I think I found a solution to one of

Re: [patch 3/8] per backing_dev dirty and writeback page accounting

2007-03-12 Thread Miklos Szeredi
I'll try to explain the reason for the deadlock first. > IIUC, your problem is that there's another bdi that holds all the > dirty pages, and this throttle loop never flushes pages from that > other bdi and we sleep instead. It seems to me that the fundamental > problem is that to clean the pages

Re: [RFC] [Patch 1/1] IBAC Patch

2007-03-12 Thread Mimi Zohar
On Thu, 2007-03-08 at 22:19 -0500, [EMAIL PROTECTED] wrote: > On Thu, 08 Mar 2007 17:58:16 EST, Mimi Zohar said: > > This is a request for comments for a new Integrity Based Access > > Control(IBAC) LSM module which bases access control decisions > > on the new integrity framework services. > >

Re: Asus P5B-VM motherboard: cd drive malfunctions if internal nic in use.

2007-03-12 Thread Mark Lord
Phil Kaslo wrote: Hello, I have a new machine, Asus motherboard, in which the cd drive malfunctions if the internal nic on the mb (RealTek RTL8168b/8111b) is actively in use. The cd drive, on ide2, is, as per dmesg, a Sony: ide2: BM-DMA at 0xa400-0xa407, BIOS settings: hde:pio, hdf:pio

Re: Keyboard stops working after *lock [Was: 2.6.21-rc2-mm1]

2007-03-12 Thread Jiri Slaby
Jiri Kosina napsal(a): (trimmed CC list a bit) On Mon, 12 Mar 2007, Jiri Slaby wrote: UHCI: Eliminate asynchronous skeleton Queue Headers Post it along with the usbmon log, and I'll try to figure out what happened. Here it comes: USBMON: f7525b40 1832950485 C Ii:004:01 0 8 = 5300

Re: [PATCH] BUILD_BUG_ON_ZERO -> BUILD_BUG_OR_ZERO

2007-03-12 Thread Rusty Russell
On Mon, 2007-03-12 at 15:14 +0100, Stefan Richter wrote: > Robert P. J. Day wrote: > > On Mon, 12 Mar 2007, Stefan Richter wrote: > >> Rusty Russell wrote: > >> > OTOH, BUILD_BUG_OR_ZERO says what happens: either it's a build bug, or > >> > it's zero. > >> > >> What about

Asus P5B-VM motherboard: cd drive malfunctions if internal nic in use.

2007-03-12 Thread Phil Kaslo
Hello, I have a new machine, Asus motherboard, in which the cd drive malfunctions if the internal nic on the mb (RealTek RTL8168b/8111b) is actively in use. The cd drive, on ide2, is, as per dmesg, a Sony: ide2: BM-DMA at 0xa400-0xa407, BIOS settings: hde:pio, hdf:pio hde: SONY DVD RW

Re: rmmod uhci_hcd -> BUG: atomic counter underflow

2007-03-12 Thread Jiri Slaby
Greg KH napsal(a): On Mon, Mar 12, 2007 at 05:25:09PM -0400, Alan Stern wrote: On Mon, 12 Mar 2007, Jiri Slaby wrote: Jiri Slaby napsal(a): Alan Stern napsal(a): On Mon, 12 Mar 2007, Jiri Slaby wrote: After rmmoding of uhci_hcd on fresh booted 2.6.21-rc3-mm2 I got this: BUG: atomic

Re: [PATCH] usb-serial regression (Oops) in 2.6.21-rc*

2007-03-12 Thread Mark Lord
Greg KH wrote: Mark Lord wrote: This patch fixes the Oops that otherwise occurs whenever a USB serial adapter is unplugged from a system, as well the Oops seen when one is in use before resume (to RAM). GregKH: This needs to go into 2.6.21-rc*. Signed-off-by: Mark Lord <[EMAIL PROTECTED]>

Re: [RFC PATCH 1/3] Add ability to keep track of callers of symbol_(get|put)

2007-03-12 Thread Rusty Russell
Hi Trent, Patch looks good, just one comment: On Mon, 2007-03-12 at 07:07 -0700, Trent Piepho wrote: > + use = already_uses(a, b); > + if (!use) { > + printk(KERN_ERR "module %s trying to un-use a module, %s, which " > + "it is not using", a->name,

Re: SMP performance degradation with sysbench

2007-03-12 Thread Anton Blanchard
Hi Nick, > Anyway, I'll keep experimenting. If anyone from MySQL wants to help look > at this, send me a mail (eg. especially with the sched_setscheduler issue, > you might be able to do something better). I took a look at this today and figured Id document it:

Re: _proxy_pda still makes linking modules fail

2007-03-12 Thread Rusty Russell
On Mon, 2007-03-12 at 10:48 +0100, Andi Kleen wrote: > > Rusty's pda->per_cpu patch will deal with this once and for all; have > > Not on x86-64. Indeed. Perhaps it's time I join the modern world and compile a 64-bit kernel... Will prepare patches, Rusty. - To unsubscribe from this list:

Re: Move to unshared VMAs in NOMMU mode?

2007-03-12 Thread Robin Getz
On Fri 9 Mar 2007 09:12, David Howells pondered: > I've been considering how to deal with the SYSV SHM problem, and I think we > may have to move to unshared VMAs in NOMMU mode to deal with this. Thanks for putting some good thoughts down. > Currently, what we have is each mm_struct has in its

Re: [patch 3/8] per backing_dev dirty and writeback page accounting

2007-03-12 Thread David Chinner
On Mon, Mar 12, 2007 at 12:40:47PM +0100, Miklos Szeredi wrote: > > > I have no idea how serious the scalability problems with this are. If > > > they are serious, different solutions can probably be found for the > > > above, but this is certainly the simplest. > > > > Atomic operations to a

Re: rmmod uhci_hcd -> BUG: atomic counter underflow

2007-03-12 Thread Greg KH
On Mon, Mar 12, 2007 at 05:25:09PM -0400, Alan Stern wrote: > On Mon, 12 Mar 2007, Jiri Slaby wrote: > > > Jiri Slaby napsal(a): > > > Alan Stern napsal(a): > > >> On Mon, 12 Mar 2007, Jiri Slaby wrote: > > >>> After rmmoding of uhci_hcd on fresh booted 2.6.21-rc3-mm2 I got this: > > >>> > > >>>

Re: [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2.6.21-rc3-mm2

2007-03-12 Thread Mike Galbraith
On Tue, 2007-03-13 at 00:05 +0300, Serge Belyshev wrote: > Mike Galbraith <[EMAIL PROTECTED]> writes: > > [snip] > >> And let's not lose sight of things with this one testcase. > >> > >> RSDL fixes > >> - every starvation case > >> - all fairness isssues > >> - is better 95% of the time on the

Re: [ck] Re: [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2.6.21-rc3-mm2

2007-03-12 Thread michael chang
On 3/12/07, Con Kolivas <[EMAIL PROTECTED]> wrote: On Tuesday 13 March 2007 07:11, Mike Galbraith wrote: > On Tue, 2007-03-13 at 05:49 +1100, Con Kolivas wrote: > > On Tuesday 13 March 2007 01:34, Mike Galbraith wrote: > > > On Mon, 2007-03-12 at 22:23 +1100, Con Kolivas wrote: > > > > Mike the

Re: refcounting drivers' data structures used in sysfs buffers

2007-03-12 Thread Richard Purdie
On Mon, 2007-03-12 at 16:31 -0400, Dmitry Torokhov wrote: > On 3/12/07, Alan Stern <[EMAIL PROTECTED]> wrote: > > On Mon, 12 Mar 2007, Oliver Neukum wrote: > > > > > I don't like reverting my own code. But I predict he'll tell you > > > > > that a > > > > > driver's bond with a device should be

Re: [PATCH] MPT FUSION: Delete unused header files.

2007-03-12 Thread David Miller
From: "Moore, Eric" <[EMAIL PROTECTED]> Date: Mon, 12 Mar 2007 15:29:45 -0600 > Beside including the header I plan to use every define in that header > defined someplace in the source code. > > Now can I keep the header? For sure :-) - To unsubscribe from this list: send the line "unsubscribe

Re: [ck] Re: [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2.6.21-rc3-mm2

2007-03-12 Thread jos poortvliet
Op Monday 12 March 2007, schreef Con Kolivas: > > > If we fix 95% of the desktop and worsen 5% is that bad given how much > > > else we've gained in the process? > > > > Killing the known corner case starvation scenarios is wonderful, but > > let's not just pretend that interactive tasks don't

RE: [PATCH] MPT FUSION: Delete unused header files.

2007-03-12 Thread Moore, Eric
> If you're going to include it just for the sake of including it, not > because the code in question actually uses types or function > declarations defined in there, don't bother, you're just using an > anti-social mechanism to keep this header file in the tree. > > Please, let's kill this

Re: rmmod uhci_hcd -> BUG: atomic counter underflow

2007-03-12 Thread Alan Stern
On Mon, 12 Mar 2007, Jiri Slaby wrote: > Jiri Slaby napsal(a): > > Alan Stern napsal(a): > >> On Mon, 12 Mar 2007, Jiri Slaby wrote: > >>> After rmmoding of uhci_hcd on fresh booted 2.6.21-rc3-mm2 I got this: > >>> > >>> BUG: atomic counter underflow at: > > [...] > >>> [] kobject_put+0x14/0x16

[PATCH 1/3] swsusp: Use inline functions for changing page flags

2007-03-12 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> Replace direct invocations of SetPageNosave(), SetPageNosaveFree() etc. with calls to inline functions that can be changed in subsequent patches without modifying the code calling them. Signed-off-by: Rafael J. Wysocki <[EMAIL PROTECTED]> Acked-by:

[PATCH 3/3] mm: Remove unused page flags

2007-03-12 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> Remove the two page flags that were previously used by swsusp and are no longer needed. Signed-off-by: Rafael J. Wysocki <[EMAIL PROTECTED]> Acked-by: Pavel Machek <[EMAIL PROTECTED]> --- include/linux/page-flags.h | 12 1 file changed,

[PATCH 2/3] swsusp: Do not use page flags

2007-03-12 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> Make swsusp use memory bitmaps instead of page flags for marking 'nosave' and free pages. This allows us to 'recycle' two page flags that can be used for other purposes. Also, the memory needed to store the bitmaps is allocated when necessary (ie.

[PATCH 0/3] swsusp: Stop using page flags

2007-03-12 Thread Rafael J. Wysocki
Hi, The following three patches make swsusp use its own data structures for memory management instead of special page flags, so that these page flags can be used for other purposes. Greetings, Rafael -- If you don't have the time to read, you don't have the time or the tools to write.

Re: [ckrm-tech] [PATCH 0/2] resource control file system - aka containers on top of nsproxy!

2007-03-12 Thread Sam Vilain
Srivatsa Vaddagiri wrote: > On Mon, Mar 12, 2007 at 10:56:43AM -0500, Serge E. Hallyn wrote: > >> What's wrong with that? >> > > I had been asking around on "what is the fundamental unit of res mgmt > for vservers" and the answer I got (from Herbert) was "all tasks that are > in the same

Re: libata-acpi: allow _GTF on SATA, but disable on PATA for now

2007-03-12 Thread Kristen Carlson Accardi
On Mon, 12 Mar 2007 22:00:15 + Alan Cox <[EMAIL PROTECTED]> wrote: > > Meanwhile, to solve the problem for these people, and without introducing > > a lot of new code at this stage in the release, perhaps you can suggest > > a more accurate way to detect PATA vs. SATA so we can fix the bug?

Re: [RFC][PATCH 2/7] RSS controller core

2007-03-12 Thread Herbert Poetzl
On Mon, Mar 12, 2007 at 12:02:01PM +0300, Pavel Emelianov wrote: > >>> Maybe you have some ideas how we can decide on this? > >> We need to work out what the requirements are before we can > >> settle on an implementation. > > > > Linux-VServer (and probably OpenVZ): > > > > - shared mappings

Re: [PATCH] tcp_cubic: use 32 bit math

2007-03-12 Thread Stephen Hemminger
On Sat, 10 Mar 2007 12:48:26 +0100 Willy Tarreau <[EMAIL PROTECTED]> wrote: > On Wed, Mar 07, 2007 at 07:51:35PM -0800, David Miller wrote: > > From: Stephen Hemminger <[EMAIL PROTECTED]> > > Date: Wed, 07 Mar 2007 19:10:47 -0800 > > > > > David Miller wrote: > > > > What about Willy Tarreau's

[PATCH] mtd: PMC MSP71xx flash/rootfs mappings

2007-03-12 Thread Marc St-Jean
[PATCH] mtd: PMC MSP71xx flash/rootfs mappings Patch to add flash and rootfs mappings for the PMC-Sierra MSP71xx devices. This patch references some platform support files previously submitted to the [EMAIL PROTECTED] list. Thanks, Marc Signed-off-by: Marc St-Jean <[EMAIL PROTECTED]> --- This

Re: Keyboard stops working after *lock [Was: 2.6.21-rc2-mm1]

2007-03-12 Thread Jiri Kosina
(trimmed CC list a bit) On Mon, 12 Mar 2007, Jiri Slaby wrote: > > > UHCI: Eliminate asynchronous skeleton Queue Headers > > Post it along with the usbmon log, and I'll try to figure out what happened. > Here it comes: > USBMON: > f7525b40 1832950485 C Ii:004:01 0 8 = 5300 >

Re: [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2.6.21-rc3-mm2

2007-03-12 Thread Serge Belyshev
Mike Galbraith <[EMAIL PROTECTED]> writes: [snip] >> And let's not lose sight of things with this one testcase. >> >> RSDL fixes >> - every starvation case >> - all fairness isssues >> - is better 95% of the time on the desktop > > I don't know where you got that 95% number from. For the most

Re: [PATCH] Software Suspend: Fix suspend when console is in VT_AUTO+KD_GRAPHICS mode

2007-03-12 Thread Pavel Machek
Hi! > When the console is in VT_AUTO+KD_GRAPHICS mode, switching to the > SUSPEND_CONSOLE fails, resulting in vt_waitactive() waiting indefinitely > or until the task is interrupted. This patch tests if a console switch > can occur in set_console() and returns early if a console switch is not >

Re: [PATCH] MPT FUSION: Delete unused header files.

2007-03-12 Thread David Miller
From: "Moore, Eric" <[EMAIL PROTECTED]> Date: Mon, 12 Mar 2007 10:19:18 -0600 > Valdis.Kletnieks silly little rant: > > > Certainly appropriate content for something on your website, > > and vendors who > > provide programs like dmidecode and parsemce are always > > welcome. I could > >

Re: libata-acpi: allow _GTF on SATA, but disable on PATA for now

2007-03-12 Thread Alan Cox
> Meanwhile, to solve the problem for these people, and without introducing > a lot of new code at this stage in the release, perhaps you can suggest > a more accurate way to detect PATA vs. SATA so we can fix the bug? I think the problem starts with the question. It supposes the BIOS knows

Re: [PATCH] x86_64, i386: Add command line length to boot protocol

2007-03-12 Thread Dave Jones
On Mon, Mar 12, 2007 at 10:43:52AM +, Pavel Machek wrote: > On Tue 2007-03-06 13:21:34, Dave Jones wrote: > > On Tue, Mar 06, 2007 at 07:14:30PM +0100, Bernhard Walle wrote: > > > > > +cmdline_size: .long COMMAND_LINE_SIZE-1 #length of the command > > line, > > > > Why a

Re: [PATCH] [REVISED] net/ipv4/multipath_wrandom.c: check kmalloc() return value.

2007-03-12 Thread David Miller
From: "Pekka Enberg" <[EMAIL PROTECTED]> Date: Mon, 12 Mar 2007 14:36:46 +0200 > On 3/12/07, Jarek Poplawski <[EMAIL PROTECTED]> wrote: > > So, maybe it's less evil to check those NULLs where possible and add > > some WARN_ONs here and there... > > No, it's much better to oops rather than paper

Re: [PATCH] [REVISED] net/ipv4/multipath_wrandom.c: check kmalloc() return value.

2007-03-12 Thread David Miller
From: Pekka J Enberg <[EMAIL PROTECTED]> Date: Mon, 12 Mar 2007 14:15:16 +0200 (EET) > On 3/9/07, David Miller <[EMAIL PROTECTED]> wrote: > > The whole cahce-multipath subsystem has to have it's guts revamped for > > proper error handling. > > (Untested patch follows.) I'm not accepting

Slab corruption - file_free_rcu ?

2007-03-12 Thread Ian McDonald
Folks, I'm getting this sort of message in my logs on occasion and my system dies on me some time later. Mar 13 08:52:02 localhost kernel: [ 343.931624] Slab corruption: start=d2756f04, len=208 Mar 13 08:52:02 localhost kernel: [ 343.932366] Redzone: 0x5a2cf071/0x5a2cf071. Mar 13 08:52:02

Removal of multipath cached (was Re: [PATCH] [REVISED] net/ipv4/multipath_wrandom.c: check kmalloc() return value.)

2007-03-12 Thread David Miller
From: Jarek Poplawski <[EMAIL PROTECTED]> Date: Mon, 12 Mar 2007 12:51:37 +0100 > But until then it'll unnecessarily spoil linux opinion as regards > stability and waste time of developers to check error messages. > So, maybe it's less evil to check those NULLs where possible and add > some

Re: [linux-usb-devel] 2.6.21-rc3-mm1

2007-03-12 Thread Jiri Kosina
On Mon, 12 Mar 2007, Mariusz Kozlowski wrote: > > echo -n '2-2:1.0' >/sys/bus/usb/drivers/usbhid/unbind > > Without the "-n", the system thinks that the newline character at the end > > of the line written by "echo" is part of the filename. > Nice tip. Thanks. I've run some tests and as

Re: [linux-usb-devel] 2.6.21-rc3-mm1

2007-03-12 Thread Mariusz Kozlowski
Hello, > > Any thoughts? > > Another mistake on my part. The correct command is > > echo -n '2-2:1.0' >/sys/bus/usb/drivers/usbhid/unbind > > Without the "-n", the system thinks that the newline character at the end > of the line written by "echo" is part of the filename. Nice tip.

Re: [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2.6.21-rc3-mm2

2007-03-12 Thread Mike Galbraith
On Tue, 2007-03-13 at 07:38 +1100, Con Kolivas wrote: > On Tuesday 13 March 2007 07:11, Mike Galbraith wrote: > > > > Killing the known corner case starvation scenarios is wonderful, but > > let's not just pretend that interactive tasks don't have any special > > requirements. > > Now you're

Re: refcounting drivers' data structures used in sysfs buffers

2007-03-12 Thread Alan Stern
On Mon, 12 Mar 2007, Dmitry Torokhov wrote: > > Do you think Linus would listen if all three of us (plus maybe Greg) tried > > to convince him? > > > > If we'd accompany the argument with the patch that changes scsi to use > wq to perform deletion so we don't have deadlock regression in the >

Re: [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2.6.21-rc3-mm2

2007-03-12 Thread Peter Zijlstra
On Mon, 2007-03-12 at 21:11 +0100, Mike Galbraith wrote: > How would you go about ensuring that there won't be any cycles wasted? SCHED_IDLE or otherwise nice 19 > Killing the known corner case starvation scenarios is wonderful, but > let's not just pretend that interactive tasks don't have

Re: [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2.6.21-rc3-mm2

2007-03-12 Thread Con Kolivas
On Tuesday 13 March 2007 07:11, Mike Galbraith wrote: > On Tue, 2007-03-13 at 05:49 +1100, Con Kolivas wrote: > > On Tuesday 13 March 2007 01:34, Mike Galbraith wrote: > > > On Mon, 2007-03-12 at 22:23 +1100, Con Kolivas wrote: > > > > Mike the cpu is being proportioned out perfectly according to

Re: [RFC] Configuring generic drivers at runtime

2007-03-12 Thread Laurent Pinchart
Hi, as I got no reply to my previous e-mail, I assume it got stopped by grammar-checking filters, so I fixed the subject line :-) (this is what happens when you write the first word and the rest of the title 10 minutes apart). More seriously, this is a generic architecture issue which I'd like

Re: [PATCH] ACPI disabled due to DMI failure or blacklisted year should be noted, as is done with other ACPI blacklisting

2007-03-12 Thread Anthony Godshall, Ampro Computers, Inc.
On Wednesday 07 March 2007 17:00, [EMAIL PROTECTED] wrote: The patch titled ACPI disabled due to DMI failure or blacklisted year should be noted, as is done with other ACPI blacklisting has been added to the -mm tree. Its filename is

Re: [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2.6.21-rc3-mm2

2007-03-12 Thread Mike Galbraith
On Mon, 2007-03-12 at 08:26 -0700, Linus Torvalds wrote: > > On Mon, 12 Mar 2007, Mike Galbraith wrote: > > > > On Mon, 2007-03-12 at 22:23 +1100, Con Kolivas wrote: > > > > > Mike the cpu is being proportioned out perfectly according to fairness as > > > I > > > mentioned in the prior email,

Re: [PATCH] usb-serial regression (Oops) in 2.6.21-rc*

2007-03-12 Thread Greg KH
On Mon, Mar 12, 2007 at 04:22:22PM -0400, Mark Lord wrote: > Oliver Neukum wrote: > >>Mark Lord wrote: > >>>Okay, from that part (above), the problem is obvious: > >>>in that the "MCT U232 converter now disconnected" appears, > >>>and then we continue to try and call the driver's method.. Oops! >

Re: 2.6.20*: PATA DMA timeout, hangs (2)

2007-03-12 Thread Bartlomiej Zolnierkiewicz
Hi, On Monday 12 March 2007, Frank van Maarseveen wrote: > On Mon, Mar 12, 2007 at 01:21:18PM +0100, Bartlomiej Zolnierkiewicz wrote: > > > > Hi, > > > > Could you check if this is the same problem as this one: > > > > http://bugzilla.kernel.org/show_bug.cgi?id=8169 > > Looks like it except

[PATCH] Software Suspend: Fix suspend when console is in VT_AUTO+KD_GRAPHICS mode

2007-03-12 Thread Andrew Johnson
Hi All, When the console is in VT_AUTO+KD_GRAPHICS mode, switching to the SUSPEND_CONSOLE fails, resulting in vt_waitactive() waiting indefinitely or until the task is interrupted. This patch tests if a console switch can occur in set_console() and returns early if a console switch is not

Re: refcounting drivers' data structures used in sysfs buffers

2007-03-12 Thread Dmitry Torokhov
On 3/12/07, Alan Stern <[EMAIL PROTECTED]> wrote: On Mon, 12 Mar 2007, Oliver Neukum wrote: > > > I don't like reverting my own code. But I predict he'll tell you that a > > > driver's bond with a device should be represented in a data structure > > > that is to be refcounted. > > > > :-) > >

Re: [ckrm-tech] [PATCH 0/2] resource control file system - aka containers on top of nsproxy!

2007-03-12 Thread Paul Jackson
vatsa wrote: > This assumes that you can see the global vfs namespace right? > > What if you are inside a container/vserver which restricts your vfs > namespace? i.e /dev/cpusets seen from one container is not same as what > is seen from another container . Well, yes. But that restriction on

Re: RSDL for 2.6.21-rc3- 0.29

2007-03-12 Thread Gene Heskett
On Monday 12 March 2007, Patrick Mau wrote: >On Mon, Mar 12, 2007 at 03:43:09PM -0400, Douglas McNaught wrote: >> Gene Heskett <[EMAIL PROTECTED]> writes: >> > On Monday 12 March 2007, Douglas McNaught wrote: >> >>Gene Heskett <[EMAIL PROTECTED]> writes: >> >>> I'd considered it, but with 32 dle

Re: [PATCH] x86_64, i386: Add command line length to boot protocol

2007-03-12 Thread Pavel Machek
On Tue 2007-03-06 13:21:34, Dave Jones wrote: > On Tue, Mar 06, 2007 at 07:14:30PM +0100, Bernhard Walle wrote: > > > +cmdline_size: .long COMMAND_LINE_SIZE-1 #length of the command > line, > > Why a long? It's unlikely that someone is going to have a command line > bigger than 0x.

[PATCH] usb-serial regression (Oops) in 2.6.21-rc*

2007-03-12 Thread Mark Lord
Oliver Neukum wrote: Mark Lord wrote: Okay, from that part (above), the problem is obvious: in that the "MCT U232 converter now disconnected" appears, and then we continue to try and call the driver's method.. Oops! .. IMHO shutdown() is using serial->port[] and bombs. Could you reverse the

RE: [PATCH 1/2] NET: Multiple queue network device support

2007-03-12 Thread Waskiewicz Jr, Peter P
> -Original Message- > From: Jarek Poplawski [mailto:[EMAIL PROTECTED] > Sent: Monday, March 12, 2007 1:58 AM > To: Thomas Graf > Cc: Kok, Auke-jan H; David Miller; Garzik, Jeff; > netdev@vger.kernel.org; linux-kernel@vger.kernel.org; > Waskiewicz Jr, Peter P; Brandeburg, Jesse; Kok,

Re: [2/6] 2.6.21-rc2: known regressions

2007-03-12 Thread Michael S. Tsirkin
> Quoting Ingo Molnar <[EMAIL PROTECTED]>: > Subject: Re: [2/6] 2.6.21-rc2: known regressions > > > Michael, > > * Michael S. Tsirkin <[EMAIL PROTECTED]> wrote: > > > > > 2. First disk access after resume takes a couple of minutes > > > >(seemed instant with 2.6.20) during this time no new

[PATCH 2/2] incorrect direct io error handling (v7)

2007-03-12 Thread Dmitriy Monakhov
Changes against v6: - Handle direct_io failure inside generic_file_direct_write() as it was recommend by Andrew (during discussion v1), and by Nick (during discussion v6). - change comments, make it more clear. - one more time check what __generic_file_aio_write_nolock() always called

[PATCH 1/2] mm: move common segment checks to separate helper function (v7)

2007-03-12 Thread Dmitriy Monakhov
Changes against v6 - remove duplicated code from xfs,ntfs - export generic_segment_checks, because it used by xfs,nfs now. - change arguments initialization pocily according to Nick's comments. Tested with: ltp readv/writev tests Signed-off-by: Monakhov Dmitriy <[EMAIL PROTECTED]> ---

Re: refcounting drivers' data structures used in sysfs buffers

2007-03-12 Thread Oliver Neukum
Am Montag, 12. März 2007 21:03 schrieb Alan Stern: > On Mon, 12 Mar 2007, Oliver Neukum wrote: > > > > > I don't like reverting my own code. But I predict he'll tell you that a > > > > driver's bond with a device should be represented in a data structure > > > > that is to be refcounted. > > >

Re: [PATCH] libata: don't whine if ->prereset() returns -ENOENT

2007-03-12 Thread Fabio Comolli
Applied on top of latest GIT this patch make the warning[1] disappear. Thanks, Fabio [1] ata2: reset failed, giving up On 3/12/07, Tejun Heo <[EMAIL PROTECTED]> wrote: ->prereset() returns -ENOENT to tell libata that the port is empty and reset sequencing should be stopped. This is not an

Re: [PATCH] MPT FUSION: Delete unused header files.

2007-03-12 Thread Roberto Nibali
Certainly appropriate content for something on your website, and vendors who provide programs like dmidecode and parsemce are always welcome. I could probably be convinced that such info should have at least a pointer somewhere in Documentation/lsi_debug.txt or some such. But quite frankly,

Re: [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2.6.21-rc3-mm2

2007-03-12 Thread Mike Galbraith
On Tue, 2007-03-13 at 05:49 +1100, Con Kolivas wrote: > On Tuesday 13 March 2007 01:34, Mike Galbraith wrote: > > On Mon, 2007-03-12 at 22:23 +1100, Con Kolivas wrote: > > > Mike the cpu is being proportioned out perfectly according to fairness as > > > I mentioned in the prior email, yet X is

auth 72ffc53c subscribe linux-kernel [EMAIL PROTECTED]

2007-03-12 Thread Stefan Mehnert
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: refcounting drivers' data structures used in sysfs buffers

2007-03-12 Thread Alan Stern
On Mon, 12 Mar 2007, Oliver Neukum wrote: > > > I don't like reverting my own code. But I predict he'll tell you that a > > > driver's bond with a device should be represented in a data structure > > > that is to be refcounted. > > > > :-) > > Coming to think about it, he might be right there.

Re: RSDL for 2.6.21-rc3- 0.29

2007-03-12 Thread Patrick Mau
On Mon, Mar 12, 2007 at 03:43:09PM -0400, Douglas McNaught wrote: > Gene Heskett <[EMAIL PROTECTED]> writes: > > > On Monday 12 March 2007, Douglas McNaught wrote: > >>Gene Heskett <[EMAIL PROTECTED]> writes: > >>> I'd considered it, but with 32 dle entries, the whole strace output > >>> would be

Re: 2.6.21-rc3-mm2 hangs my opteron during bootup, ACPI?

2007-03-12 Thread Len Brown
On Monday 12 March 2007 09:25, Luming Yu wrote: > try acpi=off please. > > On 3/12/07, Helge Hafting <[EMAIL PROTECTED]> wrote: > > I went from 2.6.18-rc5-mm1 to 2.6.21-rc3-mm2 > > The computer now hangs solid during boot, at this point: > > > > usb 1-1: configuration #1 chosen from 1 choice > >

Re: Keyboard stops working after *lock [Was: 2.6.21-rc2-mm1]

2007-03-12 Thread Alan Stern
On Mon, 12 Mar 2007, Jiri Slaby wrote: > Alan Stern napsal(a): > > On Mon, 12 Mar 2007, Jiri Slaby wrote: > > > >> Bisecting figured out the culprit: > >> Commit: 17230acdc71137622ca7dfd789b3944c75d39404 > >> Author: Alan Stern <[EMAIL PROTECTED]> Mon, 19 Feb 2007 15:52:45 -0500 > >> > >>

Clarification required about select vs wake_up race condition

2007-03-12 Thread Ravinandan Arakali \(rarakali\)
Hi, I am facing following problem and was wondering if somebody could help me out. Our char driver(pretty much like all other char drivers) does a poll_wait() and returns status depending on whether data is available to be read. Even though some data is available to be read(verified using one of

Re: [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2.6.21-rc3-mm2

2007-03-12 Thread Al Boldi
Xavier Bestel wrote: > Le mardi 13 mars 2007 à 05:49 +1100, Con Kolivas a écrit : > > Again I think your test is not a valid testcase. Why use two threads for > > your encoding with one cpu? Is that what other dedicated desktop OSs > > would do? > > as your scheduler > is "strictly fair", won't

Re: refcounting drivers' data structures used in sysfs buffers

2007-03-12 Thread Oliver Neukum
Am Montag, 12. März 2007 20:31 schrieb Alan Stern: > On Mon, 12 Mar 2007, Oliver Neukum wrote: > > > > I'm with Dmitry; the whole thing becomes much, much simpler if we put back > > > your patch and prevent sysfs access after unregistering an attribute > > > file. No API changes are needed, no

Re: RSDL for 2.6.21-rc3- 0.29

2007-03-12 Thread Douglas McNaught
Gene Heskett <[EMAIL PROTECTED]> writes: > On Monday 12 March 2007, Douglas McNaught wrote: >>Gene Heskett <[EMAIL PROTECTED]> writes: >>> I'd considered it, but with 32 dle entries, the whole strace output >>> would be terrabytes & I don't have THAT much disk. Not to mention it >>> traces only

Re: [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2.6.21-rc3-mm2

2007-03-12 Thread Peter Zijlstra
On Mon, 2007-03-12 at 08:26 -0700, Linus Torvalds wrote: > So "good fairness" really should involve some notion of "work done for > others". It's just not very easy to do.. A solution that is already in demand is a class based scheduler, where the thread doing work for a client (temp.) joins

Re: refcounting drivers' data structures used in sysfs buffers

2007-03-12 Thread Alan Stern
On Mon, 12 Mar 2007, Oliver Neukum wrote: > > I'm with Dmitry; the whole thing becomes much, much simpler if we put back > > your patch and prevent sysfs access after unregistering an attribute > > file. No API changes are needed, no driver changes are needed, no radical > > core changes are

[patch 6/9] signalfd/timerfd v4 - timerfd core ...

2007-03-12 Thread Davide Libenzi
This patch introduces a new system call for timers events delivered though file descriptors. This allows timer event to be used with standard POSIX poll(2), select(2) and read(2). As a consequence of supporting the Linux f_op->poll subsystem, they can be used with epoll(2) too. The system call is

Re: TCP MSG_PEEK kernel assertions ...

2007-03-12 Thread Stephen Hemminger
On Fri, 09 Mar 2007 16:43:10 -0500 [EMAIL PROTECTED] wrote: > > Hello, > > I periodically see the following TCP kernel assertion errors in > /var/log/message > (it does seem that networking is eventually able to recover from these > errors): > > kernel: KERNEL: assertion (flags &

[PATCH] cleanfile: a script to clean up stealth whitespace

2007-03-12 Thread H. Peter Anvin
This script cleans up various classes of stealth whitespace. In particular, it cleans up: - Whitespace (spaces or tabs)before newline; - DOS line endings (CR before LF); - Space before tab (spaces are deleted or converted to tabs); - Empty lines at end of file. Signed-off-by: H. Peter Anvin

Re: RSDL for 2.6.21-rc3- 0.29

2007-03-12 Thread Lee Revell
On 3/12/07, Gene Heskett <[EMAIL PROTECTED]> wrote: On Monday 12 March 2007, Douglas McNaught wrote: >Gene Heskett <[EMAIL PROTECTED]> writes: >> I'd considered it, but with 32 dle entries, the whole strace output >> would be terrabytes & I don't have THAT much disk. Not to mention it >> traces

[patch 7/9] signalfd/timerfd v4 - timerfd wire up i386 arch ...

2007-03-12 Thread Davide Libenzi
This patch wire the timerfd system call to the i386 architecture. Signed-off-by: Davide Libenzi - Davide Index: linux-2.6.20.ep2/arch/i386/kernel/syscall_table.S === --- linux-2.6.20.ep2.orig/arch/i386/kernel/syscall_table.S

[patch 8/9] signalfd/timerfd v4 - timerfd wire up x86_64 arch ...

2007-03-12 Thread Davide Libenzi
This patch wire the timerfd system call to the x86_64 architecture. Signed-off-by: Davide Libenzi - Davide Index: linux-2.6.20.ep2/arch/x86_64/ia32/ia32entry.S === --- linux-2.6.20.ep2.orig/arch/x86_64/ia32/ia32entry.S

[patch 9/9] signalfd/timerfd v4 - timerfd compat code ...

2007-03-12 Thread Davide Libenzi
This patch implement the necessary compat code for the timerfd system call. Signed-off-by: Davide Libenzi - Davide Index: linux-2.6.20.ep2/fs/compat.c === --- linux-2.6.20.ep2.orig/fs/compat.c 2007-03-12 11:28:03.0

[patch 1/9] signalfd/timerfd v4 - anonymous inode source ...

2007-03-12 Thread Davide Libenzi
This patch add an anonymous inode source, to be used for files that need and inode only in order to create a file*. We do not care of having an inode for each file, and we do not even care of having different names in the associated dentries (dentry names will be same for classes of file*).

[patch 5/9] signalfd/timerfd v4 - signalfd compat code ...

2007-03-12 Thread Davide Libenzi
This patch implement the necessary compat code for the signalfd system call. Signed-off-by: Davide Libenzi - Davide Index: linux-2.6.20.ep2/fs/compat.c === --- linux-2.6.20.ep2.orig/fs/compat.c 2007-03-11 14:28:28.0

[patch 4/9] signalfd/timerfd v4 - signalfd wire up x86_64 arch ...

2007-03-12 Thread Davide Libenzi
This patch wire the signalfd system call to the x86_64 architecture. Signed-off-by: Davide Libenzi - Davide Index: linux-2.6.20.ep2/include/asm-x86_64/unistd.h === --- linux-2.6.20.ep2.orig/include/asm-x86_64/unistd.h

[patch 2/9] signalfd/timerfd v4 - signalfd core ...

2007-03-12 Thread Davide Libenzi
This patch series implements the new signalfd() system call. I took part of the original Linus code (and you know how badly it can be broken :), and I added even more breakage ;) Signals are fetched from the same signal queue used by the process, so signalfd will compete with standard kernel

[patch 3/9] signalfd/timerfd v4 - signalfd wire up i386 arch ...

2007-03-12 Thread Davide Libenzi
This patch wire the signalfd system call to the i386 architecture. Signed-off-by: Davide Libenzi - Davide Index: linux-2.6.20.ep2/arch/i386/kernel/syscall_table.S === --- linux-2.6.20.ep2.orig/arch/i386/kernel/syscall_table.S

Re: RSDL for 2.6.21-rc3- 0.29

2007-03-12 Thread Gene Heskett
On Monday 12 March 2007, Douglas McNaught wrote: >Gene Heskett <[EMAIL PROTECTED]> writes: >> I'd considered it, but with 32 dle entries, the whole strace output >> would be terrabytes & I don't have THAT much disk. Not to mention it >> traces only the parent process, so tar would be merrily

<    1   2   3   4   5   6   7   8   9   10   >