Re: [PATCH 0/90] Post 2.6.21 OMAP update

2007-04-05 Thread Roland Dreier
Hmm, yeah I'll see if I could group them a bit. The problem there is that the patch series contains multiple rounds of add and fix cycles. Pretty much all the non-dependant fixes have already been applied, BTW. I think it's nice to roll up fixes into patches that haven't been merged

Re: [PATCH 25/90] ARM: OMAP: h4 must have blinky leds!!

2007-04-05 Thread Randy Dunlap
David Brownell wrote: On Wednesday 04 April 2007 9:18 pm, Randy Dunlap wrote: I don't think it's a MUA thing. I think David is talking about the spaces after the ^\t that are used for indenting immediately under the if. Exactly. if (There was a young lady named Bright

Re: [PATCH 1/4] x86_64: Switch to SPARSE_VIRTUAL

2007-04-05 Thread Christoph Lameter
On Thu, 5 Apr 2007, Andy Whitcroft wrote: Christoph if you could let us know which benchmarks you are seeing gains with that would be a help. You saw the numbers that Ken got with the pipe test right? Then there are some minor improvements if you run AIM7. I got into this because I saw the

RE: [PATCH] x86_64/acpi: make kernel to be compiled when CONFIG_ACPI_NUMA is set and power management with acpi is not enabled

2007-04-05 Thread Lu, Yinghai
resend -Original Message- From: Lu, Yinghai Sent: Wednesday, April 04, 2007 10:43 AM To: 'Andi Kleen' Cc: Andrew Morton; Len Brown; linux-kernel@vger.kernel.org Subject: RE: [PATCH] x86_64/acpi: make kernel to be compiled when CONFIG_ACPI_NUMA is set and power management with acpi is not

Re: missing madvise functionality

2007-04-05 Thread Rik van Riel
Nick Piggin wrote: Oh, also: something like this patch would help out MADV_DONTNEED, as it means it can run concurrently with page faults. I think the locking will work (but needs forward porting). Ironically, your patch decreases throughput on my quad core test system, with Jakub's test

Re: [PATCH 01/01] New FBDev driver for Intel Vermilion Range

2007-04-05 Thread James Simmons
One non-technical question here... +config FB_VERMILION + tristate Vermilion support + depends on FB PCI X86 + select FB_MODE_HELPERS + select FB_CFB_FILLRECT + select FB_CFB_COPYAREA + select FB_CFB_IMAGEBLIT + help + This driver supports the Vermilion

Re: vfb module

2007-04-05 Thread Antonino A. Daplas
On Thu, 2007-04-05 at 10:30 +0200, Michael Trimarchi wrote: Hi, I changed a little bit the vfb module to be used as a frame buffer in memory. I would like to use the mmap over the virtual framebuffer. I added a few line: I allocated the buffer using videomemory=(void

Re: [patch 4/5] smsc-ircc2: add PNP support

2007-04-05 Thread Bjorn Helgaas
On Wednesday 04 April 2007 17:16, Randy Dunlap wrote: On Wed, 04 Apr 2007 16:45:40 -0600 Bjorn Helgaas wrote: +static int smsc_nopnp; +module_param_named(nopnp, smsc_nopnp, bool, 0); +MODULE_PARM_DESC(nopnp, Do not use PNP to detect controller settings); Document this parameter (like you

Re: Invalid operand: kernel BUG at mm/rmap.c:434! and arch/i386/mm/highmem.c:42!)

2007-04-05 Thread Hugh Dickins
On Thu, 5 Apr 2007, Pat wrote: Yes, there is a specific app which seems to be related to the kernel panic. We use a few third party drivers on the system, so my initial suspicions were on: 3w_9xxx(U) which is the RAID card driver and fusedriver(U) which is a hardware PCI card driver.

Re: [PATCH 01/01] New FBDev driver for Intel Vermilion Range

2007-04-05 Thread Alan Hourihane
On Thu, 2007-04-05 at 13:38 -0400, [EMAIL PROTECTED] wrote: On Thu, 05 Apr 2007 11:44:46 BST, Alan Hourihane said: Attached is a patch against 2.6.21-rc5 which adds the Intel Vermilion Range support. One non-technical question here... +config FB_VERMILION + tristate Vermilion

Re: [test] sched: SD-latest versus Mike's latest

2007-04-05 Thread Ingo Molnar
* Con Kolivas [EMAIL PROTECTED] wrote: Nice -10 on mainline ruins the latency of nice 0 tasks unlike SD. New scheduling class just for X? Sounds like a very complicated userspace-changing way to just do the equivalent of nice -n -10 obfuscated. i think you are missing the point. We _do

Re: Oops in scsi_send_eh_cmnd 2.6.21-rc5-git6,7,10

2007-04-05 Thread Chuck Ebbert
Andrew Burgess wrote: The machine is x86_64 SMP. I also got the oops in the Fedora kernels: 2.6.20-1.2933.fc6 and 2.6.20-1.3017.fc7. The system isn't locked solid but it seems anything touching the scsi disks hangs. I also twice got this early in the boot and it stopped booting. Anything

Re: [PATCH 2.6.21-rc5-rt12] IPV6: Flag bit of ebitmask is not set in __inet6_hash.

2007-04-05 Thread Ingo Molnar
* Masayuki Nakagawa [EMAIL PROTECTED] wrote: I found an issue with -rt patch. It is that netstat doesn't show IPv6 sockets in ESTABLISHED state. This issue happens because a flag bit of ebitmask is not set when the IPv6 socket connection is established. The fix is to set the flag bit in

Re: preemption and rwsems (was: Re: missing madvise functionality)

2007-04-05 Thread Ingo Molnar
* David Howells [EMAIL PROTECTED] wrote: But short of recording the lock sequence, I don't think there's anyway to find out for sure. printk probably won't cut it as a recording mechanism because its overheads are too great. getting a good trace of it is easy: pick up the latest -rt

Re: [PATCH] HPA support: Revised patch

2007-04-05 Thread Jan-Benedict Glaw
On Thu, 2007-04-05 14:13:52 +0100, Alan Cox [EMAIL PROTECTED] wrote: diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.21-rc5-mm4/drivers/ata/libata-core.c linux-2.6.21-rc5-mm4/drivers/ata/libata-core.c --- linux.vanilla-2.6.21-rc5-mm4/drivers/ata/libata-core.c

Re: IRQ splitting

2007-04-05 Thread Stephen Hemminger
On Thu, 05 Apr 2007 08:34:59 -0600 Robert Hancock [EMAIL PROTECTED] wrote: Jan Engelhardt wrote: Hello list, let's take the following /proc/interrupts dump (CPU2,CPU3 trimmed)... CPU0 CPU1 0: 37041766 37038991 IO-APIC-edge timer 1: 10

Re: preemption and rwsems (was: Re: missing madvise functionality)

2007-04-05 Thread Andrew Morton
On Thu, 05 Apr 2007 13:48:58 +0100 David Howells [EMAIL PROTECTED] wrote: Andrew Morton [EMAIL PROTECTED] wrote: What we effectively have is 32 threads on a single CPU all doing for (ever) { down_write() up_write() down_read()

Re: 2.6.21-rc5-mm4: ia64: scheduling while atomic - utrace?

2007-04-05 Thread Roland McGrath
Thanks for the report. I introduced this bug recently when I changed around some of the locking but forgot about the writeback issue. I don't think this is directly related to any other crash you might have seen. I've moved the call out of the lock-holding region, where it didn't need to be.

What protects cpu_tlbstate?

2007-04-05 Thread Jeremy Fitzhardinge
Hi, What protects the cpu_tlbstate? I see in i386/kernel/smp.c that its always used in a non-preemptable area, but what prevents races with interrupts? For example, what prevents leave_mm() called via the flush_tlb_all IPI from racing with, say, enter_lazy_tlb? Couldn't a race leave

Re: [PATCH 62/90] ARM: OMAP: Merge board specific files from N800 tree

2007-04-05 Thread Tony Lindgren
* Randy Dunlap [EMAIL PROTECTED] [070404 17:16]: On Wed, 4 Apr 2007 14:05:41 -0400 Tony Lindgren wrote: This patch merges board specific files from N800 tree. Nokia has published the files at: 2 comments: a. lots of printk() calls need log levels added as well as some indication

init's children list is long and slows reaping children.

2007-04-05 Thread Robin Holt
We have been testing a new larger configuration and we are seeing a very large scan time of init's tsk-children list. In the cases we are seeing, there are numerous kernel processes created for each cpu (ie: events/0 ... events/big number, xfslogd/0 ... xfslogd/big number). These are all on the

Re: AHCI exception, ext3 journal aborted on a VIA K8M890 / VT8251

2007-04-05 Thread Stephen Evanchik
n 4/2/07, Chuck Ebbert [EMAIL PROTECTED] wrote: Stephen Evanchik wrote: My hardware components are the following: Motherboard: A8V-VM Socket 939 VIA K8M890 / VT8251 CPU: Opteron 165 dual core Harddisk: SATA 1.5Gbps WD 160GB drive Most relevant snippet from dmesg, (you can see a longer

Questions about porting perfmon2 to powerpc

2007-04-05 Thread Kevin Corry
Hello, Carl Love and I have been working on getting the latest perfmon2 patches (http://perfmon2.sourceforge.net/) working on Cell, and on powerpc in general. We've come up with some powerpc-specific questions and we're hoping to get some opinions from the powerpc kernel developers. First,

Re: Questions about porting perfmon2 to powerpc

2007-04-05 Thread Arnd Bergmann
On Thursday 05 April 2007, Kevin Corry wrote: First, the stock 2.6.20 kernel has a prototype in include/linux/smp.h for a function called smp_call_function_single(). However, this routine is only implemented on i386, x86_64, ia64, and mips. Perfmon2 apparently needs to call this to run a

Re: [PATCH 2.6.21-rc5-rt12] IPV6: Flag bit of ebitmask is not set in __inet6_hash.

2007-04-05 Thread David Miller
From: Ingo Molnar [EMAIL PROTECTED] Date: Thu, 5 Apr 2007 21:07:14 +0200 * Masayuki Nakagawa [EMAIL PROTECTED] wrote: I found an issue with -rt patch. It is that netstat doesn't show IPv6 sockets in ESTABLISHED state. This issue happens because a flag bit of ebitmask is not set when

Re: [TRIVIAL PATCH] remove duplicate prototypes for gunzip() etc.

2007-04-05 Thread Krzysztof Halasa
Krzysztof Halasa [EMAIL PROTECTED] writes: Remove duplicate prototypes for error(), gzip_mark() and gzip_release() - they are first declared few lines earlier in all these files. That's obviously Signed-off-by: Krzysztof Halasa [EMAIL PROTECTED] -- Krzysztof Halasa - To unsubscribe from this

Re: [PATCH 6/8] Make non-singlethreaded workqueues freezeable by default

2007-04-05 Thread Andrew Morton
On Thu, 5 Apr 2007 15:57:14 +0400 Oleg Nesterov [EMAIL PROTECTED] wrote: On 04/02, Gautham R Shenoy wrote: +extern struct workqueue_struct *create_freeze_exempted_workqueue(const char *name, int freeze_exempt_events); + +extern struct workqueue_struct

Re: [PATCH] HPA support: Revised patch

2007-04-05 Thread Alan Cox
+static int ata_ignore_hpa = 0; +module_param_named(ignore_hpa, ata_ignore_hpa, int, 0644); +MODULE_PARM_DESC(ignore_hpa, Ignore HPA (0=off 1=on)); + static int ata_probe_timeout = ATA_TMOUT_INTERNAL / HZ; module_param(ata_probe_timeout, int, 0444);

Re: RAID1 out of memory error, was Re: 2.6.21-rc5-mm4

2007-04-05 Thread Andrew Morton
On Fri, 06 Apr 2007 02:33:03 +1000 Reuben Farrelly [EMAIL PROTECTED] wrote: Hi, On 3/04/2007 3:47 PM, Andrew Morton wrote: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc5/2.6.21-rc5-mm4/ - The oops in git-net.patch has been fixed, so that tree has been

Re: [PATCH 0/90] Post 2.6.21 OMAP update

2007-04-05 Thread Alan Cox
Hmm, yeah I'll see if I could group them a bit. The problem there is that the patch series contains multiple rounds of add and fix cycles. Pretty much all the non-dependant fixes have already been applied, BTW. Bear in mind that it doesn't work now, so merging some stuff and being in a more

Re: What protects cpu_tlbstate?

2007-04-05 Thread Andi Kleen
On Thursday 05 April 2007 21:44:10 Jeremy Fitzhardinge wrote: Hi, What protects the cpu_tlbstate? I see in i386/kernel/smp.c that its always used in a non-preemptable area, but what prevents races with interrupts? For example, what prevents leave_mm() called via the flush_tlb_all IPI from

[PATCH 2/4] UML - Delete HOST_FRAME_SIZE

2007-04-05 Thread Jeff Dike
HOST_FRAME_SIZE isn't used any more. It has been replaced with MAX_REG_NR. Signed-off-by: Jeff Dike [EMAIL PROTECTED] -- arch/um/sys-i386/user-offsets.c |1 - arch/um/sys-x86_64/user-offsets.c |1 - 2 files changed, 2 deletions(-) Index:

[PATCH 1/4] UML - drivers get release methods

2007-04-05 Thread Jeff Dike
Define release methods for the ubd and net drivers. They contain as much of the remove methods as make sense. All error checking must have already been done as well as anything else that might be holding a reference on the device kobject. Signed-off-by: Jeff Dike [EMAIL PROTECTED] --

[PATCH 4/4] UML - Speed up page table walking

2007-04-05 Thread Jeff Dike
The previous page table walking code was horribly inefficient. This patch replaces it with code taken from elsewhere in the kernel. forking from bash is now ~5% faster and page faults are handled ~10% faster. Signed-off-by: Jeff Dike [EMAIL PROTECTED] -- arch/um/kernel/tlb.c | 202

[PATCH 0/4] UML - Four for 2.6.22

2007-04-05 Thread Jeff Dike
These four are also 2.6.22 material. They are - giving some drivers release methods so they can be hot-unplugged without either the kernel or hch complaining delete a now-unused macro improved debugging output faster page table walking

[PATCH 3/4] UML - Dump registers on ptrace or wait failure

2007-04-05 Thread Jeff Dike
Provide a register dump if handle_trap fails. Abstract out ptrace_dump_regs since it now has two callers. Signed-off-by: Jeff Dike [EMAIL PROTECTED] -- arch/um/os-Linux/skas/process.c | 37 + 1 file changed, 25 insertions(+), 12 deletions(-) Index:

Re: [PATCH] HPA support: Revised patch

2007-04-05 Thread Jeff Garzik
Alan Cox wrote: +static int ata_ignore_hpa = 0; +module_param_named(ignore_hpa, ata_ignore_hpa, int, 0644); +MODULE_PARM_DESC(ignore_hpa, Ignore HPA (0=off 1=on)); + static int ata_probe_timeout = ATA_TMOUT_INTERNAL / HZ; module_param(ata_probe_timeout, int, 0444);

Re: 2.6.21-rc5-mm4

2007-04-05 Thread Andrew Morton
On Thu, 05 Apr 2007 13:02:59 -0400 [EMAIL PROTECTED] wrote: On Mon, 02 Apr 2007 22:47:45 PDT, Andrew Morton said: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc5/2.6.21-rc5-mm4/ Am seeing an Oops 'cannot handle kernel paging request' during late system startup,

Re: [test] sched: SD-latest versus Mike's latest

2007-04-05 Thread Mike Galbraith
On Fri, 2007-04-06 at 02:08 +1000, Con Kolivas wrote: On Thursday 05 April 2007 21:54, Ingo Molnar wrote: * Mike Galbraith [EMAIL PROTECTED] wrote: On Tue, 2007-04-03 at 08:01 +0200, Ingo Molnar wrote: looks interesting - could you send the patch? Ok, this is looking/feeling pretty

Preemption Broken: centrino_target busted under SMP on 2.6.20.4

2007-04-05 Thread Jeff V. Merkey
BUG: using smp_processor_id() in preemptible [0001] code: kondemand/0/2473 caller is centrino_target+0xfb/0x600 [401e3646] debug_smp_processor_id+0x9e/0xb0 [40112afb] centrino_target+0xfb/0x600 [40112a00] centrino_target+0x0/0x600 [40305bd9] __cpufreq_driver_target+0x5c/0x6b [f897a537]

Re: Questions about porting perfmon2 to powerpc

2007-04-05 Thread Kevin Corry
On Thu April 5 2007 3:08 pm, Arnd Bergmann wrote: On Thursday 05 April 2007, Kevin Corry wrote: First, the stock 2.6.20 kernel has a prototype in include/linux/smp.h for a function called smp_call_function_single(). However, this routine is only implemented on i386, x86_64, ia64, and mips.

Re: Questions about porting perfmon2 to powerpc

2007-04-05 Thread Arnd Bergmann
On Thursday 05 April 2007, Kevin Corry wrote: For the moment, I made the change to topology_init() since it was the simplest fix to get things working. I have considered switching the perfmon2 initialization to __initcall(), but there are apparently some timing issues with ensuring that

Re: vfb module

2007-04-05 Thread trimarchi
Hi, I changed a little bit the vfb module to be used as a frame buffer in memory. I would like to use the mmap over the virtual framebuffer. I added a few line: I allocated the buffer using videomemory=(void *)__get_free_pages(GFP_KERNEL, get_order(PAGE_ALIGN(videomemorysize))); and fixed the

Re: preemption and rwsems (was: Re: missing madvise functionality)

2007-04-05 Thread Andrew Morton
On Thu, 5 Apr 2007 21:11:29 +0200 Ingo Molnar [EMAIL PROTECTED] wrote: * David Howells [EMAIL PROTECTED] wrote: But short of recording the lock sequence, I don't think there's anyway to find out for sure. printk probably won't cut it as a recording mechanism because its overheads

Re: [PATCH 25/90] ARM: OMAP: h4 must have blinky leds!!

2007-04-05 Thread Jan Engelhardt
On Apr 5 2007 11:19, David Brownell wrote: On Wednesday 04 April 2007 9:18 pm, Randy Dunlap wrote: I don't think it's a MUA thing. I think David is talking about the spaces after the ^\t that are used for indenting immediately under the if. Exactly. 1 if (There was a young lady named

Re: IRQ splitting

2007-04-05 Thread Jan Engelhardt
Hello Stephen, On Apr 5 2007 12:23, Stephen Hemminger wrote: If the radeon and/or the Ethernet driver support MSI, that would split out the IRQ's as well. Would Linux do that automatically? How to find out whether a given device -- or device driver? -- supports MSI? Thanks, Jan -- - To

Re: usb hid: reset NumLock

2007-04-05 Thread Pete Zaitcev
On a certain keyboard, when BIOS sets NumLock LED on, it survives the takeover by Linux and thus confuses users. Eating of an increasibly scarce quirk bit is unfortunate. We do it for safety, given the history of nervous input devices which crash if anything unusual happens. Signed-off-by: Pete

[PATCH] Lguest launcher, child starving parent

2007-04-05 Thread Steven Rostedt
Glauber noticed long delays between hitting a key, and seeing data come up on the virtual console. Looking into this, I found that the wake_parent routine that reads from all devices was actually starving out the parent after sending the parent a signal to wake up. The thing is, the child which

Re: [PATCH] FUTEX : new PRIVATE futexes

2007-04-05 Thread Ulrich Drepper
On 4/5/07, Eric Dumazet [EMAIL PROTECTED] wrote: Signed-off-by: Eric Dumazet [EMAIL PROTECTED] --- include/linux/futex.h | 45 +- kernel/futex.c| 294 +--- 2 files changed, 230 insertions(+), 109 deletions(-) I cannot vouch for the whole

Re: IRQ splitting

2007-04-05 Thread Stephen Hemminger
On Thu, 5 Apr 2007 22:37:45 +0200 (MEST) Jan Engelhardt [EMAIL PROTECTED] wrote: Hello Stephen, On Apr 5 2007 12:23, Stephen Hemminger wrote: If the radeon and/or the Ethernet driver support MSI, that would split out the IRQ's as well. Would Linux do that automatically? How to find out

Re: Preemption Broken: centrino_target busted under SMP on 2.6.20.4

2007-04-05 Thread Dave Jones
On Thu, Apr 05, 2007 at 02:33:03PM -0600, Jeff V. Merkey wrote: BUG: using smp_processor_id() in preemptible [0001] code: kondemand/0/2473 caller is centrino_target+0xfb/0x600 [401e3646] debug_smp_processor_id+0x9e/0xb0 [40112afb] centrino_target+0xfb/0x600 [40112a00]

Re: usb hid: reset NumLock

2007-04-05 Thread Dmitry Torokhov
On 4/5/07, Pete Zaitcev [EMAIL PROTECTED] wrote: On a certain keyboard, when BIOS sets NumLock LED on, it survives the takeover by Linux and thus confuses users. Eating of an increasibly scarce quirk bit is unfortunate. We do it for safety, given the history of nervous input devices which crash

Re: init's children list is long and slows reaping children.

2007-04-05 Thread Linus Torvalds
On Thu, 5 Apr 2007, Robin Holt wrote: For testing, Jack Steiner create the following patch. All it does is moves tasks which are transitioning to the zombie state from where they are in the children list to the head of the list. In this way, they will be the first found and reaping does

Re: What protects cpu_tlbstate?

2007-04-05 Thread Jeremy Fitzhardinge
Andi Kleen wrote: The interrupts can only happen when the other CPU is already lazy and enter_lazy_tlb would be a nop then. The flushers itself are synchronized by the page_table_lock or the mm semaphore. Against switch_mm it tries to protect with ordering. wmb()s are not needed on x86 (ok

Re: What protects cpu_tlbstate?

2007-04-05 Thread Andi Kleen
On Thursday 05 April 2007 23:00:22 Jeremy Fitzhardinge wrote: Andi Kleen wrote: The interrupts can only happen when the other CPU is already lazy and enter_lazy_tlb would be a nop then. The flushers itself are synchronized by the page_table_lock or the mm semaphore. Against switch_mm

Re: missing madvise functionality

2007-04-05 Thread Andrew Morton
On Thu, 05 Apr 2007 14:38:30 -0400 Rik van Riel [EMAIL PROTECTED] wrote: Nick Piggin wrote: Oh, also: something like this patch would help out MADV_DONTNEED, as it means it can run concurrently with page faults. I think the locking will work (but needs forward porting). Ironically,

[PATCH] timekeeping: drop irq-context clocksource polling

2007-04-05 Thread Daniel Walker
Before this change the timekeeping code would poll the clocksource list every interrupt. This changes that so the clocksource list is only checked when there has been and update, and no longer checks in interrupt context. This also has a few small space and line cleanups. Boot tested on i386,

Re: What protects cpu_tlbstate?

2007-04-05 Thread Jeremy Fitzhardinge
Andi Kleen wrote: Hm, I was more wondering about simple compiler reordering. Does the relative order of setting and reading cpu_tlbstate.state, active_mm and the mm-cpu_vm_mask matter? Hmm, perhaps a barrier between state and active_mm might be a good idea. Setting active_mm after

RE: [PATCH] x86: limit mwait_idle to Intel CPUs

2007-04-05 Thread aherrman
Peter Anvin wrote: Andreas Herrmann wrote: It is not equivalent. Usually users check /proc/cpuinfo for their CPU features. Deleting that flag is kind of obfuscation. I guess some time ago people did not care about their svm or vmx flags. Nowadays (e.g. with kvm) some people are

Re: [PATCH] x86: limit mwait_idle to Intel CPUs

2007-04-05 Thread H. Peter Anvin
[EMAIL PROTECTED] wrote: The ones in /proc/cpuinfo are cooked values anyway; there is plenty of history to that effect. I don't know this history. And I don't care. I thought /proc/cpuinfo should show an (almost) complete list of CPU features. If this is not the case it's a pity. It's a

Re: usb hid: reset NumLock

2007-04-05 Thread Pete Zaitcev
On Thu, 5 Apr 2007 16:54:17 -0400, Dmitry Torokhov [EMAIL PROTECTED] wrote: On a certain keyboard, when BIOS sets NumLock LED on, it survives the takeover by Linux and thus confuses users. Eating of an increasibly scarce quirk bit is unfortunate. We do it for safety, given the

Re: [PATCH] timekeeping: drop irq-context clocksource polling

2007-04-05 Thread john stultz
On Thu, 2007-04-05 at 14:03 -0700, Daniel Walker wrote: Before this change the timekeeping code would poll the clocksource list every interrupt. This changes that so the clocksource list is only checked when there has been and update, and no longer checks in interrupt context. This also has

Re: [PATCH 1/4] Generic Virtual Memmap suport for SPARSEMEM V3

2007-04-05 Thread David Miller
From: Christoph Lameter [EMAIL PROTECTED] Date: Wed, 4 Apr 2007 16:06:19 -0700 (PDT) Sparse Virtual: Virtual Memmap support for SPARSEMEM V4 V1-V3 - Add IA64 16M vmemmap size support (reduces TLB pressure) - Add function to test for eventual node/node vmemmap overlaps - Upper / Lower

Re: [PATCH] timekeeping: drop irq-context clocksource polling

2007-04-05 Thread Daniel Walker
On Thu, 2007-04-05 at 14:25 -0700, john stultz wrote: On Thu, 2007-04-05 at 14:03 -0700, Daniel Walker wrote: Before this change the timekeeping code would poll the clocksource list every interrupt. This changes that so the clocksource list is only checked when there has been and update,

[PATCH] NET: Multiqueue network device support, replayed.

2007-04-05 Thread Waskiewicz Jr, Peter P
David, Please consider pulling from my git tree: git-pull git://lost.foo-projects.org/~ppwaskie/git/net-2.6.22 multiqueue This is a branch named 'multiqueue' of a recent pull from your tree with an updated implementation of the multiqueue implementation we've been working on.

Re: [PATCH] NET: Multiqueue network device support, replayed.

2007-04-05 Thread David Miller
From: Waskiewicz Jr, Peter P [EMAIL PROTECTED] Date: Thu, 5 Apr 2007 14:33:19 -0700 David, Please consider pulling from my git tree: git-pull git://lost.foo-projects.org/~ppwaskie/git/net-2.6.22 multiqueue This is a branch named 'multiqueue' of a recent pull from your tree

Re: [PATCH] timekeeping: drop irq-context clocksource polling

2007-04-05 Thread Andrew Morton
On Thu, 05 Apr 2007 14:25:19 -0700 john stultz [EMAIL PROTECTED] wrote: On Thu, 2007-04-05 at 14:03 -0700, Daniel Walker wrote: Before this change the timekeeping code would poll the clocksource list every interrupt. This changes that so the clocksource list is only checked when there has

Re: [PATCH] timekeeping: drop irq-context clocksource polling

2007-04-05 Thread john stultz
On Thu, 2007-04-05 at 14:29 -0700, Daniel Walker wrote: On Thu, 2007-04-05 at 14:25 -0700, john stultz wrote: On Thu, 2007-04-05 at 14:03 -0700, Daniel Walker wrote: Before this change the timekeeping code would poll the clocksource list every interrupt. This changes that so the

Re: missing madvise functionality

2007-04-05 Thread Rik van Riel
Andrew Morton wrote: #if NR_CPUS = CONFIG_SPLIT_PTLOCK_CPUS I wonder which way you're using, and whether using the other way changes things. I'm using the default Fedora config file, which has NR_CPUS defined to 64 and CONFIG_SPLIT_PTLOCK_CPUS to 4, so I am using the split locks. However,

Re: [PATCH 01/01] New FBDev driver for Intel Vermilion Range

2007-04-05 Thread Alan Hourihane
On Thu, 2007-04-05 at 21:38 +0200, Arnd Bergmann wrote: On Thursday 05 April 2007, Alan Hourihane wrote: @@ -0,0 +1,405 @@ +/* + * Copyright (c) Intel Corp. 2007. + * All Rights Reserved. + * Saying 'All Rights Reserved' is usually considered the opposite of licensing your code as

Re: [PATCH] timekeeping: drop irq-context clocksource polling

2007-04-05 Thread john stultz
On Thu, 2007-04-05 at 14:36 -0700, Andrew Morton wrote: On Thu, 05 Apr 2007 14:25:19 -0700 john stultz [EMAIL PROTECTED] wrote: On Thu, 2007-04-05 at 14:03 -0700, Daniel Walker wrote: Before this change the timekeeping code would poll the clocksource list every interrupt. This changes

Re: [PATCH] USB gadget rndis: fix bug skb_push function may return an unaligned pointer bug

2007-04-05 Thread David Brownell
On Tuesday 03 April 2007 11:28 pm, Wu, Bryan wrote: USB gadget rndis: skb_push function may return a pointer which is not aligned as required by struct rndis_packet_msg_type. Can you instead try to update the declaration of that struct so that it's __attribute__((packed))? That's less

Re: [PATCH 01/01] New FBDev driver for Intel Vermilion Range

2007-04-05 Thread Arnd Bergmann
On Thursday 05 April 2007, Alan Hourihane wrote: As for the above, I've noticed that drivers/video/epson1355fb.c also has this wording and is under the GPL. Yes, many files have it, but that doesn't make it right ;-) Arnd - To unsubscribe from this list: send the line unsubscribe

Re: [PATCH 01/01] New FBDev driver for Intel Vermilion Range

2007-04-05 Thread Antonino A. Daplas
On Thu, 2007-04-05 at 22:42 +0100, Alan Hourihane wrote: On Thu, 2007-04-05 at 21:38 +0200, Arnd Bergmann wrote: On Thursday 05 April 2007, Alan Hourihane wrote: @@ -0,0 +1,405 @@ +/* + * Copyright (c) Intel Corp. 2007. + * All Rights Reserved. + * Saying 'All Rights

Any Intel folks on the list? Intel PCI-E bridge ACPI resource question

2007-04-05 Thread Justin Piszcz
http://www.ussg.iu.edu/hypermail/linux/kernel/0701.3/0315.html I have similar issues as this poster-- I was wondering (if anyone) had an idea to the root cause of this issue; is it a problem with the chipset, the BIOS revision? Mobo: Intel DG965WHMKR BIOS: 1666 Is it only Intel Chipsets

Re: Any Intel folks on the list? Intel PCI-E bridge ACPI resource question

2007-04-05 Thread Justin Piszcz
On Thu, 5 Apr 2007, Justin Piszcz wrote: http://www.ussg.iu.edu/hypermail/linux/kernel/0701.3/0315.html I have similar issues as this poster-- I was wondering (if anyone) had an idea to the root cause of this issue; is it a problem with the chipset, the BIOS revision? Mobo: Intel

Re: Oops in scsi_send_eh_cmnd 2.6.21-rc5-git6,7,10,13

2007-04-05 Thread Andrew Burgess
Chuck Ebbert wrote: Andrew Burgess wrote: Apr 5 03:45:16 cichlid kernel: 3w-: scsi2: Command failed: status = 0xc7, flags = 0x7f, unit #4. Apr 5 03:45:20 cichlid kernel: 3w-: scsi2: Command failed: status = 0xc7, flags = 0x80, unit #4. Apr 5 03:47:20 cichlid kernel: 3w-:

Re: Any Intel folks on the list? Intel PCI-E bridge ACPI resource question

2007-04-05 Thread Justin Piszcz
On Thu, 5 Apr 2007, Justin Piszcz wrote: On Thu, 5 Apr 2007, Justin Piszcz wrote: http://www.ussg.iu.edu/hypermail/linux/kernel/0701.3/0315.html I have similar issues as this poster-- I was wondering (if anyone) had an idea to the root cause of this issue; is it a problem with the

Re: [PATCH 1/4] Generic Virtual Memmap suport for SPARSEMEM V3

2007-04-05 Thread Christoph Lameter
On Thu, 5 Apr 2007, David Miller wrote: Hey Christoph, here is sparc64 support for this stuff. Great! After implementing this and seeing more and more how it works, I really like it :-) Thanks a lot for doing this work Christoph! Thanks for the appreciation. CCing Andy Whitcroft who will

Re: Any Intel folks on the list? Intel PCI-E bridge ACPI resource question

2007-04-05 Thread Justin Piszcz
On Thu, 5 Apr 2007, Justin Piszcz wrote: http://www.ussg.iu.edu/hypermail/linux/kernel/0701.3/0315.html Here is the badblocks output: p34:~# /usr/bin/time badblocks -b 512 -s -v -w /dev/sdl Checking for bad blocks in read-write mode From block 0 to 293046768 Testing with pattern 0xaa:

Re: Oops in scsi_send_eh_cmnd 2.6.21-rc5-git6,7,10,13

2007-04-05 Thread David Miller
From: Andrew Burgess [EMAIL PROTECTED] Date: Thu, 5 Apr 2007 15:13:27 -0700 David, do you see any other problems with scsi_send_eh_cmnd? I've switched back to 2.6.18 which seems to not oops and am happy to try patches. Does 2.6.20 with my patch OOPS too? Does reverting my patch make the

[PATCH 1/2] Make page-private usable in compound pages V1

2007-04-05 Thread Christoph Lameter
[PATCH] Free up page-private for compound pages If we add a new flag so that we can distinguish between the first page and the tail pages then we can avoid to use page-private in the first page. page-private == page for the first page, so there is no real information in there. Freeing up

[PATCH 2/2] Optimize compound_head() by avoiding a shared page flag

2007-04-05 Thread Christoph Lameter
Unalias PG_tail for performance reasons If PG_tail is an alias then we need to check PageCompound before PageTail. This is particularly bad because the slab and others have to use these tests in performance critical paths. This patch uses one of the freed up software suspend flags that is

optimizing sendfile

2007-04-05 Thread Yaar Schnitman
Hi, How can I control the size of the block requests the sendfile() syscall performs against the disk? I'm using sendfile (on a 2.6.18 kernel) to copy 1M file chunks into a socket. The socket send buffer size is 2MB, and I verify that its empty before making the call. Indeed, 1M chunk is

Re: [PATCH 02/12] mm: scalable bdi statistics counters.

2007-04-05 Thread Andrew Morton
On Thu, 05 Apr 2007 19:42:11 +0200 [EMAIL PROTECTED] wrote: 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

Re: Question: half-duplex and full-duplex serial driver

2007-04-05 Thread Bill Davidsen
Mockern wrote: Hi, Could you help me please, how can my serial driver to work in half-duplex and full-duplex mode? Thank you Since you don't seem to have gotten an answer, and while this is probably the wrong list for your question, I can give you a pointer which may help. The

REISER4: fix for reiser4_write_extent

2007-04-05 Thread Ignatich
While trying to find the cause of problems with reiser4 in recent kernels I came across this. Incomplete write handling seem to be missing from reiser4_write_extent() thanks to reiser4-temp-fix.patch. Strangely, there is a patch by Edward Shishkin that should address that issue, but it is

Re: [PATCH 08/12] mm: fixup possible deadlock

2007-04-05 Thread Andrew Morton
On Thu, 05 Apr 2007 19:42:17 +0200 [EMAIL PROTECTED] wrote: When the threshol is in the order of the per cpu inaccuracies we can deadlock by not receiveing the updated count, That explanation is a bit, umm, terse. introduce a more expensive but more accurate stat read function to use on low

Re: [PATCH 09/12] mm: remove throttle_vm_writeback

2007-04-05 Thread Andrew Morton
On Thu, 05 Apr 2007 19:42:18 +0200 [EMAIL PROTECTED] wrote: rely on accurate dirty page accounting to provide enough push back I think we'd like to see a bit more justification than that, please. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: Any Intel folks on the list? Intel PCI-E bridge ACPI resource question

2007-04-05 Thread Justin Piszcz
My .config is attached.. I cannot reproduce this problem, it only happened once, but I want to find out how to make sure it does not happen again. On Thu, 5 Apr 2007, Justin Piszcz wrote: On Thu, 5 Apr 2007, Justin Piszcz wrote:

Re: Question: half-duplex and full-duplex serial driver

2007-04-05 Thread Valdis . Kletnieks
On Thu, 05 Apr 2007 18:40:55 EDT, Bill Davidsen said: Mockern wrote: Hi, Could you help me please, how can my serial driver to work in half-duplex and full-duplex mode? Thank you Since you don't seem to have gotten an answer, and while this is probably the wrong list for your

RE: [PATCH 4/4] IA64: SPARSE_VIRTUAL 16M page size support

2007-04-05 Thread Luck, Tony
This implements granule page sized vmemmap support for IA64. Christoph, Your calculations here are all based on a granule size of 16M, but it is possible to configure 64M granules. With current sizeof(struct page) == 56, a 16M page will hold enough page structures for about 4.5G of physical

[PATCH RFC] x86: clear X86_FEATURE_MWAIT for AMD Fam10 CPU

2007-04-05 Thread Andreas Herrmann
Hi, I send this as RFC because I won't manage it to test it before end of Easter but want to have a consensus about how the final patch should look like. Andi, what do you finally prefer? (1) Something like the attached patch or (2) a version which keeps to the MWAIT flag for Fam10 but

[PATCH] leave loglevel at 7 through sysrq output so you can actually read it

2007-04-05 Thread Martin Bligh
We carefully set loglevel to 7, and print the sysrq messsage as to what event we're doing, but we can't actually see the output as it sets it back before calling the handler, rather than after. Move the assignment down one line. Signed-off-by: Martin J. Bligh [EMAIL PROTECTED] diff -aurpN -X

Re: [PATCH v3] Stop pmac_zilog from abusing 8250's device numbers; optionally.

2007-04-05 Thread Paul Mackerras
David Woodhouse writes: Of course, the _numbers_ might change -- a given port might no longer be ttyS0 but ttyS1. But we're happy to overlook that one even though the effect on the user is identical, right? Why would the numbers be prone to change, any more than they are already? - To

Re: [OT] the shortest thread of LKML !

2007-04-05 Thread Bill Davidsen
Willy Tarreau wrote: On Wed, Mar 28, 2007 at 01:02:10PM -0700, David Miller wrote: Please nobody reply to his posting, I'm shit-canning this thread from the start as it's nothing but flame fodder. He forgot the most important thing: there are *many* benevolent dictators, all with their own

Re: [PATCH 10/12] mm: page_alloc_wait

2007-04-05 Thread Andrew Morton
On Thu, 05 Apr 2007 19:42:19 +0200 [EMAIL PROTECTED] wrote: Introduce a mechanism to wait on free memory. Currently congestion_wait() is abused to do this. Such a very small explanation for such a terrifying change. ... --- linux-2.6-mm.orig/mm/vmscan.c 2007-04-05 16:29:46.0

Re: [PATCH v3] Stop pmac_zilog from abusing 8250's device numbers; optionally.

2007-04-05 Thread David Woodhouse
On Fri, 2007-04-06 at 08:53 +1000, Paul Mackerras wrote: Why would the numbers be prone to change, any more than they are already? Because now 8250 ports can actually coexist with Zilog ports. Before my fix, it was strictly one or the other. -- dwmw2 - To unsubscribe from this list: send the

Re: Questions about porting perfmon2 to powerpc

2007-04-05 Thread Benjamin Herrenschmidt
On Thu, 2007-04-05 at 14:55 -0500, Kevin Corry wrote: Hello, Carl Love and I have been working on getting the latest perfmon2 patches (http://perfmon2.sourceforge.net/) working on Cell, and on powerpc in general. We've come up with some powerpc-specific questions and we're hoping to get

Re: [PATCH 4/4] IA64: SPARSE_VIRTUAL 16M page size support

2007-04-05 Thread David Miller
From: Luck, Tony [EMAIL PROTECTED] Date: Thu, 5 Apr 2007 15:50:02 -0700 Maybe a granule is not the right unit of allocation ... perhaps 4M would work better (4M/56 ~= 75000 pages ~= 1.1G)? But if this is too small, then a hard-coded 16M would be better than a granule, because 64M is (IMHO)

  1   2   3   4   5   >