[PATCH] move die notifier handling to common code

2007-03-19 Thread Christoph Hellwig
This patch moves the die notifier handling to common code. Previous various architectures had exactly the same code for it. Note that the new code is compiled unconditionally, this should be understood as an appel to the other architecture maintainer to implement support for it aswell (aka

Re: RSDL v0.31

2007-03-19 Thread Mark Lord
Mike Galbraith wrote: On Sat, 2007-03-17 at 20:48 +1100, Con Kolivas wrote: The most frustrating part of a discussion of this nature on lkml is that earlier information in a thread seems to be long forgotten after a few days and all that is left is the one reporter having a problem. One?

Re: RSDL v0.31

2007-03-19 Thread Mark Lord
Al Boldi wrote: .. Mike, I'm not saying RSDL is perfect, but v0.31 is by far better than mainline. Try this easy test: startx with the vesa driver run reflect from the mesa5.0-demos load 5 cpu-hogs start moving the mouse On my desktop, mainline completely breaks down, and no nicing may

Re: is RSDL an unfair scheduler too?

2007-03-19 Thread Helge Hafting
Avi Kivity wrote: A fairly contrived example, but I see your point. Of course any system can be broken. I think that user-level scheduling is good for real multi user systems, where 'user' means a person, not an artificial entity. It's also good for a multi application server, where

how core dump (core size) works

2007-03-19 Thread Thushara Wijeratna
Hi All, I have a large process (~ 2G address space) and I want to get a core if this crashes in production. I haven't been able to get the core file size to a low enough value so that this doesn't end up eating a lot of disk space on small partitions. In general, if I decrease the ulimit -c

Re: Suspend to RAM fault in VT when resuming

2007-03-19 Thread Tim Gardner
Pavel Machek wrote: On Tue 2007-03-13 19:42:07, Tim Gardner wrote: Pavel Machek wrote: Hi1 I've chased one of the 'Suspend to RAM' resume problems to a specific line in drivers/char/vt.c, see attached 2.6.21-rc3 diff with Has suspend/resume ever worked on that hardware? TRACE_RESUME()

[PATCH] ALPHA: MARVEL - check for allocated memory

2007-03-19 Thread Cyrill Gorcunov
This patch adds checking for allocated memory which is used to hold AGP info. Also some whitespace cleanup. Signed-off-by: Cyrill Gorcunov [EMAIL PROTECTED] --- arch/alpha/kernel/core_marvel.c | 137 --- 1 files changed, 71 insertions(+), 66 deletions(-)

[PATCH RESEND 1/1] crypto API: RSA algorithm patch (kernel version 2.6.20.1)

2007-03-19 Thread Tasos Parisinos
From: Tasos Parisinos [EMAIL PROTECTED] This patch changes the crypto/Kconfig and crypto/Makefile and adds crypto/rsa.c and crypto/rsa.h in the source tree. These files add module rsa.o (or rsa.ko) in the kernel (built-in or as a kernel module) and offer an API to do fast modular

Re: RSDL v0.31

2007-03-19 Thread Xavier Bestel
On Mon, 2007-03-19 at 12:07 -0400, Mark Lord wrote: Dell notebook, single P-M-2GHz, ATI X300, open source X.org: (1) build a kernel in one window with make -j$((NUMBER_OF_CPUS + 1)). (2) try to read email and/or surf in Firefox/Thunderbird. Stock scheduler wins easily, no contest. What

Re: mm snapshot broken-out-2007-03-18-02-44.tar.gz uploaded

2007-03-19 Thread Michal Piotrowski
On 19/03/07, Pekka J Enberg [EMAIL PROTECTED] wrote: Hi Micael, On Mon, 19 Mar 2007, Michal Piotrowski wrote: Pekka, can you take a look at this problem and fix my initrd? :) GOOD # revoke-special-mmap-handling.patch revoke-core-code.patch revoke-core-code-misc-fixes.patch

Re: Kernel Oops in pl2303_shutdown()

2007-03-19 Thread Adrian Bunk
On Mon, Mar 19, 2007 at 05:27:58PM +0200, Zilvinas Valinskas wrote: Hello, Before 2.6.21-rc4 (vanilla) serial was oopsing if I pull usb-serial cable while minicom was running. Now it doesn't matter if minicom is running or minicom closed, pulling serial cable results in such oops. ... Does

Re: mm snapshot broken-out-2007-03-18-02-44.tar.gz uploaded

2007-03-19 Thread Michal Piotrowski
On 19/03/07, Michal Piotrowski [EMAIL PROTECTED] wrote: On 19/03/07, Pekka J Enberg [EMAIL PROTECTED] wrote: Hi Micael, On Mon, 19 Mar 2007, Michal Piotrowski wrote: Pekka, can you take a look at this problem and fix my initrd? :) GOOD # revoke-special-mmap-handling.patch

Re: RSDL v0.31

2007-03-19 Thread Mark Lord
Xavier Bestel wrote: On Mon, 2007-03-19 at 12:07 -0400, Mark Lord wrote: Dell notebook, single P-M-2GHz, ATI X300, open source X.org: (1) build a kernel in one window with make -j$((NUMBER_OF_CPUS + 1)). (2) try to read email and/or surf in Firefox/Thunderbird. Stock scheduler wins easily, no

Re: is RSDL an unfair scheduler too?

2007-03-19 Thread Avi Kivity
Helge Hafting wrote: Avi Kivity wrote: A fairly contrived example, but I see your point. Of course any system can be broken. I think that user-level scheduling is good for real multi user systems, where 'user' means a person, not an artificial entity. It's also good for a multi

Re: mm snapshot broken-out-2007-03-18-02-44.tar.gz uploaded

2007-03-19 Thread Pekka J Enberg
On Mon, 19 Mar 2007, Michal Piotrowski wrote: Yes, revoke-special-mmap-handling.patch is bad. Aah, the VM_REVOKED flag stomps on VM_CAN_INVALIDATE in -mm. Changing VM_REVOKED to 0x1000 should fix it. I don't have access to kernel tree right now so I'll send a patch tomorrow unless someone

Re: mm snapshot broken-out-2007-03-18-02-44.tar.gz uploaded

2007-03-19 Thread Pekka J Enberg
On Mon, 19 Mar 2007, Michal Piotrowski wrote: Yes, revoke-special-mmap-handling.patch is bad. + if (unlikely(vma-vm_flags VM_REVOKED)) + return -ENODEV; Why -ENODEV? That's what we want when trying to remap a revoked mapping (the vma is there, but

[PATCH] ALPHA: TITAN - check for allocated memory

2007-03-19 Thread Cyrill Gorcunov
This patch adds checking for allocated memory which is used to hold AGP info. Also some whitespace cleanup. Signed-off-by: Cyrill Gorcunov [EMAIL PROTECTED] --- arch/alpha/kernel/core_titan.c | 99 +--- 1 files changed, 52 insertions(+), 47 deletions(-)

Re: RSDL v0.31

2007-03-19 Thread Xavier Bestel
On Mon, 2007-03-19 at 12:36 -0400, Mark Lord wrote: Xavier Bestel wrote: On Mon, 2007-03-19 at 12:07 -0400, Mark Lord wrote: Dell notebook, single P-M-2GHz, ATI X300, open source X.org: (1) build a kernel in one window with make -j$((NUMBER_OF_CPUS + 1)). (2) try to read email and/or

Re: mm snapshot broken-out-2007-03-18-02-44.tar.gz uploaded

2007-03-19 Thread Michal Piotrowski
On 19/03/07, Pekka J Enberg [EMAIL PROTECTED] wrote: On Mon, 19 Mar 2007, Michal Piotrowski wrote: Yes, revoke-special-mmap-handling.patch is bad. Aah, the VM_REVOKED flag stomps on VM_CAN_INVALIDATE in -mm. Changing VM_REVOKED to 0x1000 should fix it. I don't have access to kernel tree

[RFC][PATCH 2/6] mm: count dirty pages per BDI

2007-03-19 Thread Peter Zijlstra
Count per BDI dirty pages. Signed-off-by: Peter Zijlstra [EMAIL PROTECTED] --- fs/buffer.c |1 + include/linux/backing-dev.h |1 + mm/page-writeback.c |2 ++ mm/truncate.c |1 + 4 files changed, 5 insertions(+) Index: linux-2.6/fs/buffer.c

Re: New kernel mouse recognition problem

2007-03-19 Thread Dmitry Torokhov
Hi Victor, On Saturday 17 March 2007 13:06, Victor Fernandes wrote: Dmitry, Thanks for you feedback, sorry for the delay on my reply but because I'm not subscribe to the list, only now I saw your message. I hope you will be able to see that this message is a follow up on the previous ones.

Re: [PATCH] slab: deal with NULL pointers passed to kmem_cache_free

2007-03-19 Thread Christoph Lameter
On Mon, 19 Mar 2007, Pekka J Enberg wrote: This changes kmem_cache_free() to deal with NULL objects passed to it. The current behavior is inconsistent with kfree() so there are callers passing NULL to kmem_cache_free(). Hmmm.. kmem_cache_free is significantly different. One also needs to

BUG lapic: Can't boot on battery (2.6.21-rc{1,2,3,4})

2007-03-19 Thread Stefan Prechtel
Hi! If the ac-cable is plugged in, I can start my Notebook (HP nx6325) without any problems. On battery the kernel hanging around and it takes hours to boot the kernel and the system is *very* slow. For example an init-skript takes very long until it's started. I did a git-bisect and found out

2.6.21-rc3-mm2: PG_booked and PG_readahead

2007-03-19 Thread Andy Whitcroft
[applogies in advance if this has already been asked] I note that PG_booked and PG_readahead are both using bit 20 in 2.6.21-rc3-mm2. Is this intentional or perhaps a miss-merge. They do not sound obviously non-overlapping to my mind. -apw - To unsubscribe from this list: send the line

Re: [patch 2/13] signal/timer/event fds v6 - signalfd core ...

2007-03-19 Thread Eric W. Biederman
Davide Libenzi davidel@xmailserver.org writes: struct signalfd_siginfo { __u32 signo;/* si_signo */ __s32 err; /* si_errno */ __s32 code; /* si_code */ __u32 pid; /* si_pid */ __u32 uid; /* si_uid */ __s32 fd; /* si_fd */

Re: [PATCH 00/22 take 3] UBI: Unsorted Block Images

2007-03-19 Thread Matt Mackall
On Sun, Mar 18, 2007 at 03:31:50PM -0500, Josh Boyer wrote: On Sun, Mar 18, 2007 at 02:18:12PM -0500, Matt Mackall wrote: I'm well aware of all that. I wrote a NAND driver just last month. Let's consider this table: HARD drives MTD device Consists of sectors

[PATCH RESEND 1/1] crypto API: RSA algorithm patch (kernel version 2.6.20.1) (and i hope pine does not break it either)

2007-03-19 Thread Tasos Parisinos
From: Tasos Parisinos [EMAIL PROTECTED] This patch changes the crypto/Kconfig and crypto/Makefile and adds crypto/rsa.c and crypto/rsa.h in the source tree. These files add module rsa.o (or rsa.ko) in the kernel (built-in or as a kernel module) and offer an API to do fast modular

Re: [PATCH] Sanitize filesystem NLS handling

2007-03-19 Thread OGAWA Hirofumi
Alexander E. Patrakov [EMAIL PROTECTED] writes: But, anyway, this is a separate issue that my patch doesn't attempt to correct. The conclusion so far is that we disagree, and that there are situations where using utf8 iocharset is the least of all evils, so the warning is not justified

Re: BUG lapic: Can't boot on battery (2.6.21-rc{1,2,3,4})

2007-03-19 Thread Thomas Gleixner
On Mon, 2007-03-19 at 18:10 +0100, Stefan Prechtel wrote: So I tried to boot with nolapic on battery and with this option the kernel (and system) starts as it should. If you need more information, I will send it to you. Can you please provide your .config and a bootlog from a boot with nolapic

Re: [PATCH] slab: deal with NULL pointers passed to kmem_cache_free

2007-03-19 Thread Pekka J Enberg
On Mon, 19 Mar 2007, Christoph Lameter wrote: Hmmm.. kmem_cache_free is significantly different. One also needs to specify the slab cache. No, it really isn't. Why would we want kfree() to be special? It's only going to confuse people which results in bugs. On Mon, 19 Mar 2007, Christoph

Re: [PATCH] Sanitize filesystem NLS handling

2007-03-19 Thread OGAWA Hirofumi
Alexander E. Patrakov [EMAIL PROTECTED] writes: Note that you can still achieve this insane result by specifying iocharset manually for each mount. Only the defaults are changed, but many distros set the default iocharset to either iso8859-1 or utf8, both of which are wrong for you. So you

Re: [PATCH] Linux 2.4.x MTD CFI P30/P33 support

2007-03-19 Thread akorolev
Hi Willy, OK, it seems trivial enough to me. I have no problem merging this. Your mailer has wrapped lines, but I'll fix this by hand. Oh thank you very much. Sorry for wrapped text. I've corrected it. Signed-off-by: Alexey Korolev [EMAIL PROTECTED] ---

Re: BUG lapic: Can't boot on battery (2.6.21-rc{1,2,3,4})

2007-03-19 Thread Thomas Gleixner
On Mon, 2007-03-19 at 18:36 +0100, Thomas Gleixner wrote: On Mon, 2007-03-19 at 18:10 +0100, Stefan Prechtel wrote: So I tried to boot with nolapic on battery and with this option the kernel (and system) starts as it should. If you need more information, I will send it to you. Can you

Re: [PATCH][5/5][resend] floppy.c: Fix device_create_file() warning

2007-03-19 Thread Jesper Juhl
On Monday 19 March 2007 16:20:00 Andi Kleen wrote: On Monday 19 March 2007 16:16, Jesper Juhl wrote: On 19/03/07, Andi Kleen [EMAIL PROTECTED] wrote: - device_create_file(floppy_device[drive].dev,dev_attr_cmos); + err =

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

2007-03-19 Thread Eric W. Biederman
Paul Menage [EMAIL PROTECTED] writes: On 3/13/07, Dave Hansen [EMAIL PROTECTED] wrote: How do we determine what is shared, and goes into the shared zones? Once we've allocated a page, it's too late because we already picked. Do we just assume all page cache is shared? Base it on filesystem,

Re: axp question 'bout uname voodoo

2007-03-19 Thread Eric W. Biederman
Oliver Falk [EMAIL PROTECTED] writes: Hi! We have a discussion on alpha mailinglist at the moment, because of uname -mpi. AFAIK, uname -m should do some glibc call, which calls kernel, right? However, I have two machines: AS1000A: [EMAIL PROTECTED] ~]# uname -mpi cat /proc/cpuinfo |

[RFC][PATCH 3/6] mm: count writeback pages per BDI

2007-03-19 Thread Peter Zijlstra
Count per BDI writeback pages. Signed-off-by: Peter Zijlstra [EMAIL PROTECTED] --- include/linux/backing-dev.h |1 + mm/page-writeback.c |8 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) Index: linux-2.6/mm/page-writeback.c

[RFC][PATCH 1/6] mm: scalable bdi statistics counters.

2007-03-19 Thread Peter Zijlstra
Provide scalable per backing_dev_info statistics counters modeled on the ZVC code. Signed-off-by: Peter Zijlstra [EMAIL PROTECTED] --- block/ll_rw_blk.c |1 drivers/block/rd.c |2 drivers/char/mem.c |2 fs/char_dev.c |1

[RFC][PATCH 5/6] mm: per device dirty threshold

2007-03-19 Thread Peter Zijlstra
Scale writeback cache per backing device, proportional to its writeout speed. akpm sayeth: Which problem are we trying to solve here? afaik our two uppermost problems are: a) Heavy write to queue A causes light writer to queue B to blok for a long time in balance_dirty_pages(). Even if

[RFC][PATCH 4/6] mm: count unstable pages per BDI

2007-03-19 Thread Peter Zijlstra
Count per BDI unstable pages. Signed-off-by: Peter Zijlstra [EMAIL PROTECTED] --- fs/nfs/write.c |4 include/linux/backing-dev.h |1 + 2 files changed, 5 insertions(+) Index: linux-2.6/fs/nfs/write.c ===

[RFC][PATCH 0/6] per device dirty throttling

2007-03-19 Thread Peter Zijlstra
This patch-set implements per device dirty page throttling. Which should solve the problem we currently have with one device hogging the dirty limit. Preliminary testing shows good results: mem=128M time (dd if=/dev/zero of=/mnt/dev/zero bs=4096 count=$((1024*1024/4)); sync) 1GB to disk real

[RFC][PATCH 6/6] mm: expose BDI statistics in sysfs.

2007-03-19 Thread Peter Zijlstra
Expose the per BDI stats in /sys/block/dev/queue/* Signed-off-by: Peter Zijlstra [EMAIL PROTECTED] --- block/ll_rw_blk.c | 51 +++ 1 file changed, 51 insertions(+) Index: linux-2.6/block/ll_rw_blk.c

Re: mm snapshot broken-out-2007-03-18-02-44.tar.gz uploaded

2007-03-19 Thread Michal Piotrowski
Michal Piotrowski napisał(a): On 19/03/07, Michal Piotrowski [EMAIL PROTECTED] wrote: On 19/03/07, Pekka J Enberg [EMAIL PROTECTED] wrote: On Mon, 19 Mar 2007, Michal Piotrowski wrote: Yes, revoke-special-mmap-handling.patch is bad. Aah, the VM_REVOKED flag stomps on VM_CAN_INVALIDATE

Re: mm snapshot broken-out-2007-03-18-02-44.tar.gz uploaded

2007-03-19 Thread Pekka J Enberg
On Mon, 19 Mar 2007, Michal Piotrowski wrote: Here is a tested patch. [snip] Signed-off-by: Michal Piotrowski [EMAIL PROTECTED] Signed-off-by: Pekka J Enberg [EMAIL PROTECTED] You're not supposed to add sign-offs for anyone else but yourself. This patch did not pass through me so please

Re: [PATCH 00/22 take 3] UBI: Unsorted Block Images

2007-03-19 Thread Josh Boyer
On Mon, 2007-03-19 at 12:08 -0500, Matt Mackall wrote: If the end goal is to end up with something that looks like a block device (which seems to be implied by adding transparent wear leveling Nope, not the end goal. It's more about wear-leveling across the entire flash chip than

Re: [PATCH][1/5][resend] floppy.c: Initial (partial) CodingStyle cleanup

2007-03-19 Thread Jesper Juhl
On Monday 19 March 2007 16:31:59 Randy Dunlap wrote: On Mon, 19 Mar 2007 16:10:13 +0100 Jesper Juhl wrote: This is a basic CodingStyle cleanup for drivers/block/floppy.c [snip] -#define LAST_OUT(x) if (output_byte(x)0){ reset_fdc();return;} +#define LAST_OUT(x) if (output_byte(x) 0)

Re: [PATCH RESEND 1/1] crypto API: RSA algorithm patch (kernel version 2.6.20.1) (and i hope pine does not break it either)

2007-03-19 Thread Randy Dunlap
On Mon, 19 Mar 2007 19:22:00 +0200 (EET) Tasos Parisinos wrote: As mentioned in the subject this patch applies in kernel version 2.6.20.1. It needs to apply to Linus's current tree (and it doesn't). diff -uprN -X linux-2.6.20.1-vanilla/Documentation/dontdiff linux-2.6.20.1/crypto/Kconfig

Re: [RFC][PATCH 0/6] per device dirty throttling

2007-03-19 Thread Peter Zijlstra
Sorry for duplicates, I was fooled by an MTA hanging on to them for a few hours. I counted them lost in cyberspace. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: 2.6.21-rc3-mm2: PG_booked and PG_readahead

2007-03-19 Thread Andrew Morton
On Mon, 19 Mar 2007 17:18:44 + Andy Whitcroft [EMAIL PROTECTED] wrote: [applogies in advance if this has already been asked] I note that PG_booked and PG_readahead are both using bit 20 in 2.6.21-rc3-mm2. Is this intentional or perhaps a miss-merge. They do not sound obviously

Re: BUG lapic: Can't boot on battery (2.6.21-rc{1,2,3,4})

2007-03-19 Thread Stefan Prechtel
You can find the files here: http://bugzilla.kernel.org/show_bug.cgi?id=8235 Regards, Stefan Prechtel 2007/3/19, Thomas Gleixner [EMAIL PROTECTED]: On Mon, 2007-03-19 at 18:36 +0100, Thomas Gleixner wrote: Oh, a bootlog with ac plugged in would be great too. Also can you please enable

Re: [patch 2/13] signal/timer/event fds v6 - signalfd core ...

2007-03-19 Thread Davide Libenzi
On Mon, 19 Mar 2007, Eric W. Biederman wrote: Davide Libenzi davidel@xmailserver.org writes: struct signalfd_siginfo { __u32 signo;/* si_signo */ __s32 err; /* si_errno */ __s32 code; /* si_code */ __u32 pid; /* si_pid */ __u32 uid; /*

Re: is RSDL an unfair scheduler too?

2007-03-19 Thread David Lang
On Mon, 19 Mar 2007, Radoslaw Szkodzinski wrote: Consider two servers, ^ ^ ^ Well, aren't we discussing desktops? Server admins can fine-tune the rights and CPU quotas per group. how many multi-user desktops are there? most desktops that I have seen run just about everything as a single

Re: [PATCH 00/22 take 3] UBI: Unsorted Block Images

2007-03-19 Thread Thomas Gleixner
Matt, On Mon, 2007-03-19 at 12:08 -0500, Matt Mackall wrote: On Sun, Mar 18, 2007 at 03:31:50PM -0500, Josh Boyer wrote: On Sun, Mar 18, 2007 at 02:18:12PM -0500, Matt Mackall wrote: I'm well aware of all that. I wrote a NAND driver just last month. Let's consider this table:

BSOD (was: [2/6] 2.6.21-rc2: known regressions)

2007-03-19 Thread Pete Zaitcev
On Sun, 18 Mar 2007 12:40:45 -0400, Jim Gettys [EMAIL PROTECTED] wrote: Also more seriously, a somewhat hybrid approach is in order for mode setting: simple mode setting isn't much code and is required for sane behavior on crash (it is nice to get oopses onto a screen); but the full blown

Re: [patch 2/13] signal/timer/event fds v6 - signalfd core ...

2007-03-19 Thread Eric W. Biederman
Davide Libenzi davidel@xmailserver.org writes: On Mon, 19 Mar 2007, Eric W. Biederman wrote: Davide Libenzi davidel@xmailserver.org writes: struct signalfd_siginfo { __u32 signo;/* si_signo */ __s32 err; /* si_errno */ __s32 code; /* si_code */ __u32 pid;

Re: [patch 2/13] signal/timer/event fds v6 - signalfd core ...

2007-03-19 Thread Davide Libenzi
On Mon, 19 Mar 2007, Eric W. Biederman wrote: Davide Libenzi davidel@xmailserver.org writes: On Mon, 19 Mar 2007, Eric W. Biederman wrote: Davide Libenzi davidel@xmailserver.org writes: struct signalfd_siginfo { __u32 signo;/* si_signo */ __s32 err; /* si_errno */

Re: BUG lapic: Can't boot on battery (2.6.21-rc{1,2,3,4})

2007-03-19 Thread Stefan Prechtel
(Bugzilla) Does booting w/ clocksource=acpi_pm avoid the problem? No, it doesn't. I hope it's ok that I added your email to CC. 2007/3/19, Stefan Prechtel [EMAIL PROTECTED]: Hi! If the ac-cable is plugged in, I can start my Notebook (HP nx6325) without any problems. On battery the kernel

Re: [patch 20/26] Xen-paravirt_ops: Core Xen implementation

2007-03-19 Thread Eric W. Biederman
Chris Wright [EMAIL PROTECTED] writes: * Ingo Molnar ([EMAIL PROTECTED]) wrote: ENTRY(swapper_pg_dir) + .align PAGE_SIZE_asm .fill 1024,4,0 does the native kernel lose memory here? Not in my builds. Shouldn't the align be before the label. Otherwise padding would be inserted

Re: [patch 20/26] Xen-paravirt_ops: Core Xen implementation

2007-03-19 Thread Jeremy Fitzhardinge
Eric W. Biederman wrote: ENTRY(swapper_pg_dir) + .align PAGE_SIZE_asm .fill 1024,4,0 Shouldn't the align be before the label. Otherwise padding would be inserted between the label and the data. Good point. Thanks, J - To unsubscribe from this list: send the line

[PATCH] [REVIEW] Fix irqpoll on IA64 (timer interrupt != 0)

2007-03-19 Thread Bernhard Walle
On IA64, the timer interrupt is not (always?) zero as it is on x86 platforms. Also, the timer interrupt is CPU-local. Two things need to be changed to make the irqpoll option make also working on IA64: o Call note_interrupt() also on CPU-local interrupts in __do_IRQ(). o Set a variable

Re: [patch 20/26] Xen-paravirt_ops: Core Xen implementation

2007-03-19 Thread Chris Wright
* Eric W. Biederman ([EMAIL PROTECTED]) wrote: Chris Wright [EMAIL PROTECTED] writes: * Ingo Molnar ([EMAIL PROTECTED]) wrote: ENTRY(swapper_pg_dir) +.align PAGE_SIZE_asm .fill 1024,4,0 does the native kernel lose memory here? Not in my builds. Shouldn't

Re: [git patches] libata fixes

2007-03-19 Thread Alan Cox
On Mon, Mar 19, 2007 at 08:48:00AM +0100, Paul Rolland wrote: Would you agree to a patch to add a kernel boot parameter to skip some ata ports ? It should in theory not be neccessary I found some archives refering to some ataX=noprobe, but it seems to have no effect, and I'd like to

Re: [PATCH 2.6.22] Add LED trigger to libata core

2007-03-19 Thread Alan Cox
On Mon, 19 Mar 2007 13:42:37 +0900 Tejun Heo [EMAIL PROTECTED] wrote: Tony Vroon wrote: This duplicates the IDE core LED trigger in the libata core. I plan to use this by allowing PMU LED control on G5 towers. My test platform is a PowerMac 7,3 (Dual G5 2.0GHz, June 2004) with a K2

Re: [PATCH 2.6.22] Add LED trigger to libata core

2007-03-19 Thread Mikael Pettersson
On Mon, 19 Mar 2007 12:46:16 +, Alan Cox wrote: This duplicates the IDE core LED trigger in the libata core. I plan to use this by allowing PMU LED control on G5 towers. My test platform is a PowerMac 7,3 (Dual G5 2.0GHz, June 2004) with a K2 (sata_svw) controller. I

Re: [PATCH 2.6.22] Add LED trigger to libata core

2007-03-19 Thread Tejun Heo
Alan Cox wrote: On Mon, 19 Mar 2007 13:42:37 +0900 Tejun Heo [EMAIL PROTECTED] wrote: Tony Vroon wrote: This duplicates the IDE core LED trigger in the libata core. I plan to use this by allowing PMU LED control on G5 towers. My test platform is a PowerMac 7,3 (Dual G5 2.0GHz, June 2004)

Re: [PATCH 2.6.22] Add LED trigger to libata core

2007-03-19 Thread Tony Vroon
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Alan Cox wrote: Gak. I'd rather it stayed out of ata_qc_issue() which is a critical path for performance. Our command issu is already too heavy and not all controllers have queueing to absorb that. How many controllers actually need this hook

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

2007-03-19 Thread Jeff Garzik
Tejun Heo wrote: -prereset() returns -ENOENT to tell libata that the port is empty and reset sequencing should be stopped. This is not an error condition. Update ata_eh_reset() such that it sets device classes to ATA_DEV_NONE and return success in on -ENOENT. This makes spurious error message

Re: [PATCH] [REVIEW] Fix irqpoll on IA64 (timer interrupt != 0)

2007-03-19 Thread Jesper Juhl
On 19/03/07, Bernhard Walle [EMAIL PROTECTED] wrote: On IA64, the timer interrupt is not (always?) zero as it is on x86 platforms. Also, the timer interrupt is CPU-local. Two things need to be changed to make the irqpoll option make also working on IA64: o Call note_interrupt() also on

Re: [Fastboot] [PATCH] [REVIEW] Fix irqpoll on IA64 (timer interrupt != 0)

2007-03-19 Thread Bernhard Walle
* Jesper Juhl [EMAIL PROTECTED] [2007-03-19 19:29]: -void +int register_percpu_irq (ia64_vector vec, struct irqaction *action) { Each and every function example in Documentation/CodingStyle has the return type on the same line as the function name, so why not get these in-line

[git patches] libata fixes

2007-03-19 Thread Jeff Garzik
Please pull from 'upstream-linus' branch of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev.git upstream-linus to receive the following updates: drivers/ata/Kconfig |2 +- drivers/ata/libata-core.c|2 +- drivers/ata/libata-eh.c |8 +++-

Re: 2.6.21-rc1: known regressions (v2) (part 1)

2007-03-19 Thread Pavel Machek
I have the same problem on my IBM X60s on rc1 and rc2. Can't resume from RAM, can't suspend to disk. It is possible to revert all the changes to ACPI and test it? This is with CONFIG_KVM=n? Yes. I've tried with CONFIG_KVM=n and CONFIG_KVM=y and both does not

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

2007-03-19 Thread Randy Dunlap
On Sun, 18 Mar 2007 19:49:15 +0100 Adrian Bunk wrote: This email lists some known regressions in Linus' tree compared to 2.6.20. If you find your name in the Cc header, you are either submitter of one of the bugs, maintainer of an affectected subsystem or driver, a patch of you caused a

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

2007-03-19 Thread Adrian Bunk
On Mon, Mar 19, 2007 at 09:06:57AM -0700, Randy Dunlap wrote: On Sun, 18 Mar 2007 19:49:15 +0100 Adrian Bunk wrote: This email lists some known regressions in Linus' tree compared to 2.6.20. If you find your name in the Cc header, you are either submitter of one of the bugs, maintainer

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

2007-03-19 Thread Randy Dunlap
Adrian Bunk wrote: On Mon, Mar 19, 2007 at 09:06:57AM -0700, Randy Dunlap wrote: On Sun, 18 Mar 2007 19:49:15 +0100 Adrian Bunk wrote: This email lists some known regressions in Linus' tree compared to 2.6.20. If you find your name in the Cc header, you are either submitter of one of the

Re: [Fastboot] [PATCH] [REVIEW] Fix irqpoll on IA64 (timer interrupt != 0)

2007-03-19 Thread Jesper Juhl
On 19/03/07, Bernhard Walle [EMAIL PROTECTED] wrote: * Jesper Juhl [EMAIL PROTECTED] [2007-03-19 19:29]: -void +int register_percpu_irq (ia64_vector vec, struct irqaction *action) { Each and every function example in Documentation/CodingStyle has the return type on the same line

drivers/usb/misc/iowarrior.c: NULL dereference

2007-03-19 Thread Adrian Bunk
The Coverity checker spotted the following NULL dereference: -- snip -- ... static ssize_t iowarrior_write(struct file *file, const char __user *user_buffer, size_t count, loff_t *ppos) { ... if (!int_out_urb) {

[2.6 patch] drivers/usb/input/gtco.c: fix a use-before-check

2007-03-19 Thread Adrian Bunk
NULL checks should be before the first dereference. Spotted by the Coverity checker. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- --- linux-2.6.21-rc3-mm2/drivers/usb/input/gtco.c.old 2007-03-19 09:29:44.0 +0100 +++ linux-2.6.21-rc3-mm2/drivers/usb/input/gtco.c 2007-03-19

Re: [linux-usb-devel] drivers/usb/misc/iowarrior.c: NULL dereference

2007-03-19 Thread Oliver Neukum
Am Montag, 19. März 2007 10:25 schrieb Adrian Bunk: static ssize_t iowarrior_write(struct file *file, const char __user *user_buffer, size_t count, loff_t *ppos) { ... if (!int_out_urb) {

[PATCH]Re: [linux-usb-devel] drivers/usb/misc/iowarrior.c: NULL dereference

2007-03-19 Thread Oliver Neukum
Am Montag, 19. März 2007 10:25 schrieb Adrian Bunk: The Coverity checker spotted the following NULL dereference: And this fixes an oops upon allocation failures. Regards Oliver Signed-off-by: Oliver Neukum [EMAIL PROTECTED] - ---

[RFC] HID bus design overview.

2007-03-19 Thread Li Yu
-- HID bus design overview. -- A. Terms. The device of an driver: this mean the device that this driver matched. B. Design. As we discussed before, The entire HID subsystem is divided into three layers:

RE: [PATCH] usb/serial/whiteheat: Convert to generic boolean

2007-03-19 Thread Stuart MacDonald
From: Richard Knutsson [mailto:[EMAIL PROTECTED] Okay by me. Thanks Richard. Signed-off-by: Stuart MacDonald [EMAIL PROTECTED] ..Stu Signed-off-by: Richard Knutsson [EMAIL PROTECTED] --- Compile-tested with allyes, allmod allno on i386 diff --git a/drivers/usb/serial/whiteheat.c

Re: 2.6.21-rc3-mm2

2007-03-19 Thread Randy Dunlap
On Wed, 7 Mar 2007 20:19:15 -0800 Andrew Morton wrote: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc3/2.6.21-rc3-mm2/ - This is the same as 2.6.21-rc3-mm1, except Con's CPU scheduler changes were dropped. This is for A/B comparison purposes, and because

Re: BUG lapic: Can't boot on battery (2.6.21-rc{1,2,3,4})

2007-03-19 Thread Thomas Gleixner
Stefan, On Mon, 2007-03-19 at 19:53 +0100, Stefan Prechtel wrote: You can find the files here: http://bugzilla.kernel.org/show_bug.cgi?id=8235 thanks for providing the data. Your ACPI tables don't provide information about the power states (C-States), but your BIOS seems to switch the CPUs

Re: Move to unshared VMAs in NOMMU mode?

2007-03-19 Thread Eric W. Biederman
I'm just trying to digest this a little. As I understand your description for non-shared mappings the VMAs are per process. For shared mappings you share in some sense the page cache. My gut feel says just keep a vma per process of the regions the process has and do the appropriate book

Re: mm snapshot broken-out-2007-03-18-02-44.tar.gz uploaded

2007-03-19 Thread Michal Piotrowski
[EMAIL PROTECTED] napisał(a): The mm snapshot broken-out-2007-03-18-02-44.tar.gz has been uploaded to ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-03-18-02-44.tar.gz It contains the following patches against 2.6.21-rc4: [ cut here ]

Re: mm snapshot broken-out-2007-03-18-02-44.tar.gz uploaded

2007-03-19 Thread Michal Piotrowski
On 19/03/07, Pekka J Enberg [EMAIL PROTECTED] wrote: On Mon, 19 Mar 2007, Michal Piotrowski wrote: Here is a tested patch. [snip] Signed-off-by: Michal Piotrowski [EMAIL PROTECTED] Signed-off-by: Pekka J Enberg [EMAIL PROTECTED] You're not supposed to add sign-offs for anyone else but

[PATCH] sysctl: vfs_cache_divisor

2007-03-19 Thread Randy Dunlap
On Sat, 06 Jan 2007 12:18:39 -0800 H. Peter Anvin wrote: Andrew Morton wrote: The most fundamental problem seems to be that I can't tell currnt Linux kernels that the dcache/icache is precious, and that it's way too eager to dump dcache and icache in favour of data blocks. If I could

[PATCH] dmaenginge.c: class_device_register() return value

2007-03-19 Thread Johannes Weiner
Hi, this patch makes dma_async_device_register() in drivers/dma/dmaengine.c handle a failing class_device_register(). Patched against Linus' git tree, compile-tested. I also thought about calling dma_async_device_unregister on failure, but I was not quite sure if this would work. And I noticed

Re: BSOD

2007-03-19 Thread David Miller
From: Pete Zaitcev [EMAIL PROTECTED] Date: Mon, 19 Mar 2007 12:08:07 -0700 On Sun, 18 Mar 2007 12:40:45 -0400, Jim Gettys [EMAIL PROTECTED] wrote: Also more seriously, a somewhat hybrid approach is in order for mode setting: simple mode setting isn't much code and is required for sane

Re: PAGE_SIZE Availability Inconsistency

2007-03-19 Thread Eric W. Biederman
H. Peter Anvin [EMAIL PROTECTED] writes: Avi Kivity wrote: It definitely should, especially on x86-64, where the page size isn't guaranteed by the ABI (on i386, the ABI guarantees a 4K page size; on x86-64 it can be up to 64K.) Wouldn't that be ia64? No, the x86-64 EFI ABI permits page

Re: 2.6.21-rc3-mm2

2007-03-19 Thread Randy Dunlap
On Wed, 7 Mar 2007 20:19:15 -0800 Andrew Morton wrote: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc3/2.6.21-rc3-mm2/ - This is the same as 2.6.21-rc3-mm1, except Con's CPU scheduler changes were dropped. This is for A/B comparison purposes, and because

Re: BUG lapic: Can't boot on battery (2.6.21-rc{1,2,3,4})

2007-03-19 Thread Stefan Prechtel
2007/3/19, Thomas Gleixner [EMAIL PROTECTED]: We have a broadcast mechanism for this, which gets activated from ACPI, but the broadcast mechanism is not activated: [3.798000] Clock Event Device: pit [3.798000] tick_broadcast_mask: Can you please boot with 2.6.20 or

[PATCH] Documentation/sysrq.txt: added short description for 'Q' (timerlist)

2007-03-19 Thread Johannes Weiner
Hi, I added the 'Q' to list. A short description in the `Ok, so what can I use them for'-section, on when or why to use it would be nice! Signed-off-by: Johannes Weiner [EMAIL PROTECTED] diff --git a/Documentation/sysrq.txt b/Documentation/sysrq.txt index 452c0f1..d43aa9d 100644 ---

Re: BSOD

2007-03-19 Thread Jesse Barnes
On Monday, March 19, 2007 12:38 pm David Miller wrote: All of this talk makes me appreciate what happens on Sparc machines even though it has more often than not been ridiculed. There the firmware sets the resolution and that's basically what the kernel and X uses, no mode changes are

Re: 2.6.21-rc3-mm2

2007-03-19 Thread Andrew Morton
On Mon, 19 Mar 2007 12:17:24 -0700 Randy Dunlap [EMAIL PROTECTED] wrote: On Wed, 7 Mar 2007 20:19:15 -0800 Andrew Morton wrote: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc3/2.6.21-rc3-mm2/ - This is the same as 2.6.21-rc3-mm1, except Con's CPU scheduler

Re: mm snapshot broken-out-2007-03-18-02-44.tar.gz uploaded

2007-03-19 Thread Michal Piotrowski
Hi Ingo, On 18/03/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: The mm snapshot broken-out-2007-03-18-02-44.tar.gz has been uploaded to ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-03-18-02-44.tar.gz It contains the following patches against 2.6.21-rc4: I

Re: BUG lapic: Can't boot on battery (2.6.21-rc{1,2,3,4})

2007-03-19 Thread Thomas Gleixner
On Mon, 2007-03-19 at 20:49 +0100, Stefan Prechtel wrote: Can you please boot with 2.6.20 or earlier and check the output of /proc/interrupts ? IRQ#0 and the LOC (local APIC timer) Interrupts should increment in the same frequency. tglx Here is the output of

[PATCH 0/7] [RFC] hugetlb: pagetable_operations API (V2)

2007-03-19 Thread Adam Litke
Andrew, given the favorable review of these patches the last time around, would you consider them for the -mm tree? Does anyone else have any objections? The page tables for hugetlb mappings are handled differently than page tables for normal pages. Rather than integrating multiple page size

[PATCH 1/7] Introduce the pagetable_operations and associated helper macros.

2007-03-19 Thread Adam Litke
Signed-off-by: Adam Litke [EMAIL PROTECTED] --- include/linux/mm.h | 25 + 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/include/linux/mm.h b/include/linux/mm.h index 60e0e4a..7089323 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -98,6

[PATCH 2/7] copy_vma for hugetlbfs

2007-03-19 Thread Adam Litke
Signed-off-by: Adam Litke [EMAIL PROTECTED] --- fs/hugetlbfs/inode.c |6 ++ mm/memory.c |4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/fs/hugetlbfs/inode.c b/fs/hugetlbfs/inode.c index 8c718a3..2452dde 100644 --- a/fs/hugetlbfs/inode.c +++

<    2   3   4   5   6   7   8   9   10   >