[PATCH 11/14] kbuild: add support for reading stdin with gen_init_cpio

2007-05-17 Thread Sam Ravnborg
>From ad5409f51b70b12575a8b0dc07c897395311d13b Mon Sep 17 00:00:00 2001 From: Mike Frysinger <[EMAIL PROTECTED]> Date: Thu, 10 May 2007 22:44:28 -0700 Subject: [PATCH 11/14] kbuild: add support for reading stdin with gen_init_cpio Treat an argument of "-" as meaning "read stdin for cpio files" so

[PATCH 10/14] powerpc: Fix the MODALIAS generation in modpost for of devices

2007-05-17 Thread Sam Ravnborg
>From 61f24a916b640ae1ac5f7bc783d3bb4d7d833c00 Mon Sep 17 00:00:00 2001 From: Sylvain Munaut <[EMAIL PROTECTED]> Date: Tue, 8 May 2007 19:59:29 +1000 Subject: [PATCH 10/14] powerpc: Fix the MODALIAS generation in modpost for of devices Since the devices may have multiple (or none) compatible prop

[PATCH 09/14] mm/slab: fix section mismatch warning

2007-05-17 Thread Sam Ravnborg
>From 8727055cf189053a0605919611cec5f3c725dc82 Mon Sep 17 00:00:00 2001 From: Sam Ravnborg <[EMAIL PROTECTED]> Date: Thu, 17 May 2007 23:48:19 +0200 Subject: [PATCH 09/14] mm/slab: fix section mismatch warning Use the new __init_refok marker to avoid the section mismatch warning from slab.c Signe

Re: [PATCH 01/14] kbuild: make modpost section warnings clearer

2007-05-17 Thread Jan Engelhardt
On May 18 2007 08:49, Sam Ravnborg wrote: >index 113dc77..acd28ab 100644 >--- a/scripts/mod/modpost.c >+++ b/scripts/mod/modpost.c >@@ -885,29 +885,28 @@ static void warn_sec_mismatch(const char *modname, const >char *fromsec, > return; > > if (before && after) { >-

[PATCH 07/14] init/main: use __init_refok to fix section mismatch

2007-05-17 Thread Sam Ravnborg
>From 2f92cdcf9de22b1a18885919b323793f89a6ff94 Mon Sep 17 00:00:00 2001 From: Sam Ravnborg <[EMAIL PROTECTED]> Date: Thu, 17 May 2007 20:43:54 +0200 Subject: [PATCH 07/14] init/main: use __init_refok to fix section mismatch Kill a special case in modpost by introducing the __init_refok marker. Si

[PATCH 08/14] mm: fix section mismatch warnings

2007-05-17 Thread Sam Ravnborg
>From 90deffab03386508abfa1529fe4926a2fc7300f2 Mon Sep 17 00:00:00 2001 From: Sam Ravnborg <[EMAIL PROTECTED]> Date: Thu, 17 May 2007 23:29:25 +0200 Subject: [PATCH 08/14] mm: fix section mismatch warnings modpost had two cases hardcoded for mm/ Shift over to __init_refok and kill the hardcoded fu

[PATCH 05/14] all-archs: consolidate .data section definition in asm-generic

2007-05-17 Thread Sam Ravnborg
>From 653bc43c6c2c292e6abc98860fd241eb12e2c80f Mon Sep 17 00:00:00 2001 From: Sam Ravnborg <[EMAIL PROTECTED]> Date: Thu, 17 May 2007 13:38:44 +0200 Subject: [PATCH 05/14] all-archs: consolidate .data section definition in asm-generic With this consolidation we can now modify the .data section de

[PATCH 06/14] kbuild: introduce __init_refok/__initdata_refok to supress section mismatch warnings

2007-05-17 Thread Sam Ravnborg
>From 9ea9840b8258e81ea88548bc22b2cb2871e2b1c4 Mon Sep 17 00:00:00 2001 From: Sam Ravnborg <[EMAIL PROTECTED]> Date: Thu, 17 May 2007 20:14:48 +0200 Subject: [PATCH 06/14] kbuild: introduce __init_refok/__initdata_refok to supress section mismatch warnings Throughout the kernel there are a few le

[PATCH 04/14] all-archs: consolidate .text section definition in asm-generic

2007-05-17 Thread Sam Ravnborg
>From abe82ff8e73db114634b38ef1cd24e121643a2e9 Mon Sep 17 00:00:00 2001 From: Sam Ravnborg <[EMAIL PROTECTED]> Date: Sun, 13 May 2007 00:31:33 +0200 Subject: [PATCH 04/14] all-archs: consolidate .text section definition in asm-generic Move definition of .text section to asm-generic. Signed-off-b

[PATCH 03/14] kbuild: add "Section mismatch" warning whitelist for powerpc

2007-05-17 Thread Sam Ravnborg
>From bdfeed222963cadd30cbfcad799c89f3a7b94e02 Mon Sep 17 00:00:00 2001 From: Li Yang <[EMAIL PROTECTED]> Date: Mon, 14 May 2007 18:04:28 +0800 Subject: [PATCH 03/14] kbuild: add "Section mismatch" warning whitelist for powerpc This patch fixes the following class of "Section mismatch" warnings w

Re: [PATCH 01/14] kbuild: make modpost section warnings clearer

2007-05-17 Thread David Miller
From: Sam Ravnborg <[EMAIL PROTECTED]> Date: Fri, 18 May 2007 08:49:18 +0200 > >From 4dba30ccfdb911b0810f6527de66b1515349d8c4 Mon Sep 17 00:00:00 2001 > From: Russell King <[EMAIL PROTECTED]> > Date: Thu, 10 May 2007 23:03:25 +0100 > Subject: [PATCH 01/14] kbuild: make modpost section warnings cle

[PATCH 02/14] kbuild: make better section mismatch reports on i386, arm and mips

2007-05-17 Thread Sam Ravnborg
>From 41fa40aeb2314458b25dd2227dc71fdecb504e5e Mon Sep 17 00:00:00 2001 From: Atsushi Nemoto <[EMAIL PROTECTED]> Date: Thu, 17 May 2007 01:14:38 +0900 Subject: [PATCH 02/14] kbuild: make better section mismatch reports on i386, arm and mips On i386, ARM and MIPS, warn_sec_mismatch() sometimes fai

[PATCH 01/14] kbuild: make modpost section warnings clearer

2007-05-17 Thread Sam Ravnborg
>From 4dba30ccfdb911b0810f6527de66b1515349d8c4 Mon Sep 17 00:00:00 2001 From: Russell King <[EMAIL PROTECTED]> Date: Thu, 10 May 2007 23:03:25 +0100 Subject: [PATCH 01/14] kbuild: make modpost section warnings clearer Change modpost section mismatch warnings to be less confusing; model them on the

Re: [PATCH] LogFS take three

2007-05-17 Thread David Woodhouse
On Fri, 2007-05-18 at 08:17 +0200, Jan Engelhardt wrote: > > AFAIK, the camera stops writing to the flash card and automatically > > turns off when it's low on battery (before empty). > > But then, one should also consider the case where a cam is connected to > AC and someone inadvertently trips o

Re: [PATCH (v2)] crypto: Remove pointless padlock module

2007-05-17 Thread Herbert Xu
On Sun, Apr 29, 2007 at 09:01:10AM +0100, Simon Arlott wrote: > When this is compiled in it is run too early to do anything useful: > [6.052000] padlock: No VIA PadLock drivers have been loaded. > [6.052000] padlock: Using VIA PadLock ACE for AES algorithm. > [6.052000] padlock: Using V

kbuild fixes for -rc1 (touches all arch .lds files)

2007-05-17 Thread Sam Ravnborg
I have following set of fixes queued for -rc1. I no major comments are raised I will request for inclusion tomorrow. This patchset include the discussed infrastructure to silence section mismatch warnings in the legitimite cases. Included are also a few section mismatch fixes so my x86_64 and i38

Re: [PATCH] LogFS take three

2007-05-17 Thread Jan Engelhardt
On May 18 2007 09:01, Dongjun Shin wrote: > On 5/18/07, Pavel Machek <[EMAIL PROTECTED]> wrote: >> >> Hmm.. so operating your camera on batteries should be against the >> warranty, since batteries commonly run empty while storing pictures? > > AFAIK, the camera stops writing to the flash card and

Re: [PATCH] timerfd/eventfd context lock doesn't protect against poll_wait

2007-05-17 Thread Andrew Morton
On Thu, 17 May 2007 23:20:05 -0700 (PDT) Davide Libenzi <[EMAIL PROTECTED]> wrote: > On Fri, 18 May 2007, Davi Arnaut wrote: > > > Hi, > > > > poll_wait() callback may modify the waitqueue without holding the > > context private lock. > > Thx Davi, patch is correct. Nice catch. But at this poi

Re: SideWinder GameVoice driver

2007-05-17 Thread Tomas Carnecky
Jiri Kosina wrote: > We don't want neither the 'Telephony' nor 'LEDs' usages to be claimed by > the hid-input system, that seems to make a little sense. I changed the IS_INPUT_APPLICATION() macro to accept 'Telephony/Headset' and now the kernel has created a new event device node for the device

Re: usb-storage nice value

2007-05-17 Thread Jan Engelhardt
On May 18 2007 08:15, DervishD wrote: >Date: Fri, 18 May 2007 08:15:12 +0200 >From: DervishD <[EMAIL PROTECTED]> >To: Stefan Richter <[EMAIL PROTECTED]> >Cc: linux-kernel@vger.kernel.org >Subject: Re: usb-storage nice value Try ionice. >> DervishD wrote: >> > I'm having problems when readin

Re: [PATCH] LogFS take three

2007-05-17 Thread Jan Engelhardt
On May 17 2007 21:00, Kyle Moffett wrote: >> > > Opinions? >> > >> > Why would we need another btree, when there is lib/rbtree.c? Or does >> > yours do something fundamentally different? >> >> It is not red-black tree, it is b+ tree. > > It might be better to use the prefix "bptree" to help pre

Re: signals logged / [RFC] log out-of-virtual-memory events

2007-05-17 Thread Jan Engelhardt
On May 17 2007 14:22, Rik van Riel wrote: > Andrea Righi wrote: >> I'm looking for a way to keep track of the processes that fail to allocate >> new >> virtual memory. What do you think about the following approach (untested)? > > Looks like an easy way for users to spam syslogd over and > over an

Re: [1/2] 2.6.22-rc1: known regressions

2007-05-17 Thread Jean Delvare
On Thu, 17 May 2007 20:33:20 -0400, Bill Davidsen wrote: > Jean Delvare wrote: > > Hi Michal, > > > > On Sun, 13 May 2007 20:14:45 +0200, Michal Piotrowski wrote: > >> I2C > >> > >> Subject: "Sensors Applet" give an error message "No chip detected" > >> References : http://lkml.org/lkml/2007/5

Re: This kernel requires the following features not present on the CPU... (on a VIA C7 CPU)

2007-05-17 Thread Jan Engelhardt
Hi, since VIA seems to be one of the quirkier CPUs... On May 17 2007 21:12, Simon Arlott wrote: > On 17/05/07 13:27, Claas Langbehn wrote: >>> Claas Langbehn wrote: Would it be possible to override the BIOS settings of cx8 and nx and activate it with linux anyway? The CPU support

Re: [PATCH] INPUT: Sanitize PIT locking in pcspkr

2007-05-17 Thread Dmitry Torokhov
On Thursday 17 May 2007 10:49, Thomas Gleixner wrote: > On Thu, 2007-05-17 at 10:36 -0400, Dmitry Torokhov wrote: > > > BTW, there are more creative PIT users in drivers/input which use the > > > global lock already, but the PIT usage there is definitely broken on > > > anything >= 2.6.21. > > > >

Re: [PATCH] timerfd/eventfd context lock doesn't protect against poll_wait

2007-05-17 Thread Davide Libenzi
On Fri, 18 May 2007, Davi Arnaut wrote: > Hi, > > poll_wait() callback may modify the waitqueue without holding the > context private lock. Thx Davi, patch is correct. Nice catch. But at this point instead of ending up getting two locks, we may look into using Andrew suggestion of reusing the

Re: usb-storage nice value

2007-05-17 Thread DervishD
Hi Stefan :) * Stefan Richter <[EMAIL PROTECTED]> dixit: > DervishD wrote: > > I'm having problems when reading/writing to external USB harddisks: > > my *internal* harddisk stalls from time to time, so watching a movie > > while copying data is a PITA (well, if the movie is bad, the leap

Re: BUG in mm/slab.c

2007-05-17 Thread Andrew Morton
On Fri, 18 May 2007 01:53:20 -0400 Jeff Garzik <[EMAIL PROTECTED]> wrote: > Platform: Fedora Core 6/x86-64 (lspci, kconfig, dmesg attached) > > dmesg shows: > > PCI: Using ACPI for IRQ routing > > PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a > > report > > BUG: at mm/

Re: BUG in mm/slab.c

2007-05-17 Thread Satyam Sharma
Hi Jeff, On 5/18/07, Jeff Garzik <[EMAIL PROTECTED]> wrote: Platform: Fedora Core 6/x86-64 (lspci, kconfig, dmesg attached) dmesg shows: > PCI: Using ACPI for IRQ routing > PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report > BUG: at mm/slab.c:777 __find_general_ca

Re: 2.6.22-rc1-mm1 - s390 vs. md

2007-05-17 Thread Cornelia Huck
On Wed, 16 May 2007 23:36:56 -0700, "Williams, Dan J" <[EMAIL PROTECTED]> wrote: > async_tx: add the Kconfig infrastructure for async_tx > > From: Dan Williams <[EMAIL PROTECTED]> > > async_tx is similar to crypto in that there is an api component and a > drivers component. > > * Add 'source "a

Re: [PATCH 2.6.21-rt2] PowerPC: decrementer clockevent driver

2007-05-17 Thread Dave Liu
> > Yes, on some implementations there can be other conditions that > > make a decrementer exception go away; there is no contradiction > > here (thankfully). My wording was sloppy. > > Some CPUs have the DEC exceptions basically edge triggered (yeah I know for example? > it sucks). That's why,

Re: [rfc] increase struct page size?!

2007-05-17 Thread Nick Piggin
On Thu, May 17, 2007 at 10:22:17PM -0700, David Miller wrote: > From: Nick Piggin <[EMAIL PROTECTED]> > Date: Fri, 18 May 2007 07:12:38 +0200 > > > The page->virtual thing is just a bonus (although have you seen what > > sort of hoops SPARSEMEM has to go through to find page_address?! It > > will

Re: Asynchronous scsi scanning

2007-05-17 Thread Satyam Sharma
On 5/18/07, Matthew Wilcox <[EMAIL PROTECTED]> wrote: On Thu, May 17, 2007 at 03:43:26PM -0400, Benjamin LaHaise wrote: > On Thu, May 17, 2007 at 01:39:54PM -0600, Matthew Wilcox wrote: > > On Fri, May 18, 2007 at 12:34:40AM +0530, Satyam Sharma wrote: > > > Hmmm, actually those other users could

Re: [rfc] increase struct page size?!

2007-05-17 Thread David Miller
From: Nick Piggin <[EMAIL PROTECTED]> Date: Fri, 18 May 2007 07:12:38 +0200 > The page->virtual thing is just a bonus (although have you seen what > sort of hoops SPARSEMEM has to go through to find page_address?! It > will definitely be a win on those architectures). If you set the bit ranges in

Re: [rfc] increase struct page size?!

2007-05-17 Thread Nick Piggin
On Thu, May 17, 2007 at 09:47:40PM -0700, David Miller wrote: > From: Nick Piggin <[EMAIL PROTECTED]> > Date: Fri, 18 May 2007 06:08:54 +0200 > > > I'd like to be the first to propose an increase to the size of struct page > > just for the sake of increasing it! > > > > If we add 8 bytes to struc

Re: [PATCH 2.6.21-rt2] PowerPC: decrementer clockevent driver

2007-05-17 Thread Benjamin Herrenschmidt
> > Yes, on some implementations there can be other conditions that > make a decrementer exception go away; there is no contradiction > here (thankfully). My wording was sloppy. Some CPUs have the DEC exceptions basically edge triggered (yeah I know it sucks). That's why, among others, the IRQ

Re: [rfc] increase struct page size?!

2007-05-17 Thread David Miller
From: Nick Piggin <[EMAIL PROTECTED]> Date: Fri, 18 May 2007 06:08:54 +0200 > I'd like to be the first to propose an increase to the size of struct page > just for the sake of increasing it! > > If we add 8 bytes to struct page on 64-bit machines, it becomes 64 bytes, > which is quite a nice numb

[PATCH -rt] futex_performance_hack sysctl build fix

2007-05-17 Thread Paul Mundt
-rt adds a futex_performance_hack sysctl, which is only defined if kernel/futex.c is built in. This fixes the build in the CONFIG_FUTEX=n case. Signed-off-by: Paul Mundt <[EMAIL PROTECTED]> -- kernel/sysctl.c |2 ++ 1 file changed, 2 insertions(+) --- linux-2.6.21-rt3/kernel/sysctl.c20

Re: [patch] fix oprofile SMP ...

2007-05-17 Thread Andi Kleen
On Friday 18 May 2007 04:18, Davide Libenzi wrote: > This fixed oprofile being broken on x86-64 SMP. The current reservation > runs on all CPUs, but the ones following the first, will fail since the > reservation bitmap has an 1 in the MSR entry. > The reservation code should really run once, and t

Re: [PATCH] INPUT: Sanitize PIT locking in pcspkr

2007-05-17 Thread Andi Kleen
On Thursday 17 May 2007 16:49, Thomas Gleixner wrote: > Both read the PIT directly, which will lead to interesting results. The > PIT is either stopped or it can be used in one shot mode with per event > changing intervals due to the changes introduced by the clock events > layer. > > This code sh

Re: [patch] CFS scheduler, -v12

2007-05-17 Thread William Lee Irwin III
On Sun, May 13, 2007 at 05:38:53PM +0200, Ingo Molnar wrote: >> So i've added a yield workaround to -v12, which makes it work similar to >> how the vanilla scheduler and SD does it. (Xorg has been notified and >> this bug should be fixed there too. This took some time to debug because >> the 3D

[rfc] increase struct page size?!

2007-05-17 Thread Nick Piggin
Hi, I'd like to be the first to propose an increase to the size of struct page just for the sake of increasing it! If we add 8 bytes to struct page on 64-bit machines, it becomes 64 bytes, which is quite a nice number for cache purposes. However we don't have to let those 8 bytes go to waste: we

Re: [PATCH] Kconfig powernow-k8 driver should depend on ACPI P-States driver

2007-05-17 Thread Ed Sweetman
the previous post i keep referring you to has a patch that was mangled ...here is the non-mangled version --- ./linux-backup/arch/x86_64/kernel/cpufreq/Kconfig 2007-02-04 13:44:54.0 -0500 +++ ./linux-2.6.21-rc5-mm2/arch/x86_64/kernel/cpufreq/Kconfig 2007-05-17 18:13:07.0 -040

Re: [PATCH] Kconfig powernow-k8 driver should depend on ACPI P-States driver

2007-05-17 Thread Ed Sweetman
Joshua Hoblitt wrote: I think it's pretty clear that Dave and Daniel were both correct and that ACPI_PROCESSOR is the correct dependency for multi-socket systems. However, it's worth noting that this dependency seems to be unrelated to SMP support. Ed Sweetman has reported that his single-socket

Re: RSS controller v2 Test results (lmbench )

2007-05-17 Thread Balbir Singh
Rik van Riel wrote: > Balbir Singh wrote: > >> A meaningful container size does not hamper performance. I am in the >> process >> of getting more results (with varying container sizes). Please let me >> know >> what you think of the results? Would you like to see different >> benchmarks/ >> tests/

Re: [PATCH] x86-64 highres/dyntick support 2.6.22-rc1-v5

2007-05-17 Thread Frank Sorenson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christoph Lameter wrote: > On Thu, 17 May 2007, Frank Sorenson wrote: >> Frank Sorenson wrote: >> >>> Hrm. Looks like it gets past the hpet_is_known There's still something >>> in the hpet detection code, but I didn't get to the bottom of it yet. >>>

Re: RSS controller v2 Test results (lmbench )

2007-05-17 Thread Balbir Singh
Andrew Morton wrote: > On Thu, 17 May 2007 23:20:12 +0530 > Balbir Singh <[EMAIL PROTECTED]> wrote: > >> A meaningful container size does not hamper performance. I am in the process >> of getting more results (with varying container sizes). Please let me know >> what you think of the results? Woul

[PATCH] timerfd/eventfd context lock doesn't protect against poll_wait

2007-05-17 Thread Davi Arnaut
Hi, poll_wait() callback may modify the waitqueue without holding the context private lock. Signed-off-by: Davi E. M. Arnaut <[EMAIL PROTECTED]> diff --git a/fs/eventfd.c b/fs/eventfd.c index 480e2b3..9c672be 100644 --- a/fs/eventfd.c +++ b/fs/eventfd.c @@ -50,7 +50,7 @@ int eventfd_signal(struc

Re: Asynchronous scsi scanning

2007-05-17 Thread Satyam Sharma
On Thu, May 17, 2007 at 01:39:54PM -0600, Matthew Wilcox wrote: > On Fri, May 18, 2007 at 12:34:40AM +0530, Satyam Sharma wrote: > > Hmmm, actually those other users could easily write and maintain > > a 20-line patch that does the wait for async scans thing for them > > using /proc/scsi/scsi in a

Re: [RFC] select and dependencies in Kconfig

2007-05-17 Thread Roman Zippel
Hi, On Wed, 16 May 2007, Al Viro wrote: > On Tue, May 15, 2007 at 08:36:20PM +0100, Al Viro wrote: > > > > stuff that does select USB should depend on USB_ARCH_HAS_HCD, or we'll > > end up with unbuildable configs. > > BTW, this kind of situation happens often enough, so how about doing > the f

Re: filesystem benchmarking fun

2007-05-17 Thread Eric Sandeen
Jeff Garzik wrote: Jan Engelhardt wrote: On May 16 2007 10:42, Chris Mason wrote: For example, I'll pick on xfs for a minute. compilebench shows the default FS you get from mkfs.xfs is pretty slow for untarring a bunch of kernel trees. I suppose you used 'nobarrier'? [ http://lkml.org/lkml/2

Re: [Patch] Allocate sparsemem memmap above 4G on X86_64

2007-05-17 Thread Andrew Morton
On 18 May 2007 10:52:57 +0800 Zou Nan hai <[EMAIL PROTECTED]> wrote: > On Fri, 2007-05-18 at 03:32, Andrew Morton wrote: > > On 17 May 2007 10:40:07 +0800 > > Zou Nan hai <[EMAIL PROTECTED]> wrote: > > > > > > > Please always prefer to use static inline functions rather than macros. > > They ar

Re: [PATCH 2.6.21-rt2] PowerPC: decrementer clockevent driver

2007-05-17 Thread Albert Cahalan
Sergei Shtylyov writes: Kumar Gala wrote: [Sergei Shtylyov] Kumar Gala wrote: I haven't looked at all the new clock/timer code, is there any utility in having support for more than one clock source? Of course, you may register as many as you like. Sure, but is there any utility in regist

Re: 2.6.21-mm1 and now 2.6.21-git: SLUB Crashes on boot - crypto?

2007-05-17 Thread Herbert Xu
On Tue, May 15, 2007 at 08:52:12PM +0200, Luca Tettamanti wrote: > > CONFIG_CRYPTO_ALGAPI=m Are you sure you're actually running 2.6.22-rc1? Due to a bug in the padlock patch present in 2.6.22-rc1 it shouldn't be possible to select ALGAPI as a module. Cheers, -- Visit Openswan at http://www.open

Re: [PATCH] ubi: kill homegrown endian macros

2007-05-17 Thread David Woodhouse
On Thu, 2007-05-17 at 22:57 -0400, John Anthony Kazos Jr. wrote: > Wouldn't the appropriate test be to demonstrate that the same program text > opcodes are generated in both cases for all architectures? No, empirical testing with the compiler is never the _correct_ thing to do. It's just expedie

Re: [PATCH] "volatile considered harmful", take 3

2007-05-17 Thread Satyam Sharma
Hi Bill, On 5/18/07, Bill Davidsen <[EMAIL PROTECTED]> wrote: Satyam Sharma wrote: > *Unfortunately* (the trouble with C itself, is that a *committee* has made > it into ... something ... that it should not have made it into) -- anyway, > unfortunately C took it upon itself to solve a problem t

Re: [PATCH] Kconfig powernow-k8 driver should depend on ACPI P-States driver

2007-05-17 Thread Joshua Hoblitt
I think it's pretty clear that Dave and Daniel were both correct and that ACPI_PROCESSOR is the correct dependency for multi-socket systems. However, it's worth noting that this dependency seems to be unrelated to SMP support. Ed Sweetman has reported that his single-socket but multi-core system d

Re: RSS controller v2 Test results (lmbench )

2007-05-17 Thread Rik van Riel
Balbir Singh wrote: A meaningful container size does not hamper performance. I am in the process of getting more results (with varying container sizes). Please let me know what you think of the results? Would you like to see different benchmarks/ tests/configuration results? AIM7 results might

Re: [PATCH] ubi: kill homegrown endian macros

2007-05-17 Thread John Anthony Kazos Jr.
On Fri, 18 May 2007, David Woodhouse wrote: > On Thu, 2007-05-17 at 20:30 +, Matthieu CASTET wrote: > > On Thu, 17 May 2007 10:29:31 -0700, Andrew Morton wrote: > > > > > On Thu, 17 May 2007 18:09:50 +0300 Artem Bityutskiy > > > <[EMAIL PROTECTED]> wrote: > > > > > > umm.. I'd say what you'v

Re: [Patch] Allocate sparsemem memmap above 4G on X86_64

2007-05-17 Thread Zou Nan hai
On Fri, 2007-05-18 at 03:32, Andrew Morton wrote: > On 17 May 2007 10:40:07 +0800 > Zou Nan hai <[EMAIL PROTECTED]> wrote: > > > > Please always prefer to use static inline functions rather than macros. > They are more readable, they are more likely to have comments attached to > them and they p

[PATCH 2/2] lguest update for mm: disable tsc, don't set PGE bit

2007-05-17 Thread Rusty Russell
Lguest guests don't use the TSC, and so we must disable it otherwise sched-clock.c barfs. Also, we no longer need to explicitly set the PGE feature bit: cpu_detect->cpuid->lguest_cpuid does that for us now that cpu_detect uses paravirt_ops (IIRC it used to do a direct cpuid from assembler). Signe

[PATCH 1/2] lguest update for mm: simplify boot_params

2007-05-17 Thread Rusty Russell
Andrew patched up lguest after the boot parameters became a proper structure, but in fact it can be considerably neatened. Signed-off-by: Rusty Russell <[EMAIL PROTECTED]> diff -r ffe7ce731118 drivers/lguest/lguest.c --- a/drivers/lguest/lguest.c Fri May 18 10:18:56 2007 +1000 +++ b/drivers/lgu

[PATCH] sched_clock vs tsc_disable

2007-05-17 Thread Rusty Russell
(Not sure who's code this is, but it's in 2.6.22-rc1-mm1): If you set tsc_disable (eg "notsc" on cmdline), sched-clock.c gives a divide by zero on boot. Signed-off-by: Rusty Russell <[EMAIL PROTECTED]> diff -r fd2ae7085ca2 arch/i386/kernel/sched-clock.c --- a/arch/i386/kernel/sched-clock.cFr

Re: [PATCH] ubi: kill homegrown endian macros

2007-05-17 Thread David Woodhouse
On Thu, 2007-05-17 at 20:30 +, Matthieu CASTET wrote: > On Thu, 17 May 2007 10:29:31 -0700, Andrew Morton wrote: > > > On Thu, 17 May 2007 18:09:50 +0300 Artem Bityutskiy > > <[EMAIL PROTECTED]> wrote: > > > > umm.. I'd say what you've done in there is an improvement to the > > exiting stuff

Re: [PATCH] AFS: Implement shared-writable mmap [try #2]

2007-05-17 Thread Nick Piggin
David Howells wrote: Nick Piggin <[EMAIL PROTECTED]> wrote: No, you shouldn't. We could theoretically introduce a new API for this, but I think it would be preferable if you can fix the race in the fs. Actually, I might be able to do better. When making a StoreData call to the AFS server,

[PATCH] vsyscall time() fix

2007-05-17 Thread john stultz
Hey Andrew, Andi, The vsyscall time() function basically returns the second portion of xtime directly. This however means that there is about a ticks worth of time each second where time() will return a second value less then what gettimeofday() does. Additionally, this window where vtime

[patch] fix oprofile SMP ...

2007-05-17 Thread Davide Libenzi
This fixed oprofile being broken on x86-64 SMP. The current reservation runs on all CPUs, but the ones following the first, will fail since the reservation bitmap has an 1 in the MSR entry. The reservation code should really run once, and their addresses used on other CPUs. There are other solu

Re: [xfs-masters] Re: 2.6.22-rc1-mm1

2007-05-17 Thread David Chinner
On Thu, May 17, 2007 at 10:05:11PM +0200, Michal Piotrowski wrote: > I applied your patch and I get another oops > > [ 261.491499] XFS mounting filesystem loop0 > [ 261.501641] Ending clean XFS mount for filesystem: loop0 > [ 261.507698] SELinux: initialized (dev loop0, type xfs), uses xattr >

Re: [PATCH] drivers/ata: Add the SW NCQ support to sata_nv for MCP51/MCP55/MCP61

2007-05-17 Thread Robert Hancock
Zoltan Boszormenyi wrote: Hi, thanks for publishing this. Add the Software NCQ support to sata_nv.c for MCP51/MCP55/MCP61 SATA controller. This patch base on sata_nv.c file from kernel 2.6.22-rc1 See attachment for the patch. Signed-off-by: Kuan Luo <[EMAIL PROTECTED]> Signed-off-by: Peer C

Re: [PATCH] drivers/ata: Add the SW NCQ support to sata_nv for MCP51/MCP55/MCP61

2007-05-17 Thread Robert Hancock
Peer Chen wrote: Add the Software NCQ support to sata_nv.c for MCP51/MCP55/MCP61 SATA controller. This patch base on sata_nv.c file from kernel 2.6.22-rc1 See attachment for the patch. Signed-off-by: Kuan Luo <[EMAIL PROTECTED]> Signed-off-by: Peer Chen <[EMAIL PROTECTED]> Good to finally s

[git patches] libata fixes

2007-05-17 Thread Jeff Garzik
Main thing of note: still sorting out the shutdown mess. See the extended commit texts for more info. 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: Documentation/feature-removal-

[git patches] net driver fixes

2007-05-17 Thread Jeff Garzik
Please pull from 'upstream-linus' branch of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6.git upstream-linus to receive the following updates: Documentation/networking/netdevices.txt |2 +- drivers/net/e1000/e1000.h |4 +- drivers/net/e1000/e1000_main.c

Re: radeonfb and X800 cards

2007-05-17 Thread Benjamin Herrenschmidt
On Thu, 2007-05-17 at 22:29 +0200, Fabio Comolli wrote: > Is there a reason why this patch can't go upstream? Yes. A change of that magnitude will most certainly introduce regressions. So we can either: - Have it in -mm for monthes trying to iron out all of them (and we'll miss some). And strug

Re: radeonfb and X800 cards

2007-05-17 Thread Benjamin Herrenschmidt
> This is what I'm using here, it's still the same old patch (Solomon's > plus my stuff). I think I can coordinate with [EMAIL PROTECTED] to > create an incremental patch to fix radeonfb on his hardware (provided > that this mega-patch is suitable as baseline that is). Yes, I would very much appr

Re: [PATCH 2/3] drm modesetting core

2007-05-17 Thread Jesse Barnes
On Thursday, May 17, 2007, Luca Tettamanti wrote: > Il Thu, May 17, 2007 at 03:37:45PM -0700, Jesse Barnes ha scritto: > > This patch adds the core of the new DRM based modesetting system. > > A couple of comments on drm_fb since I'm somewhat familiar with fb code: > > new file mode 100644 > > inde

Re: [PATCH] LogFS take three

2007-05-17 Thread Kyle Moffett
On May 17, 2007, at 13:45:33, Evgeniy Polyakov wrote: On Thu, May 17, 2007 at 07:26:07PM +0200, Jan Engelhardt ([EMAIL PROTECTED]) wrote: My plan was to move this code to lib/ sooner or later. If you consider it useful in its current state, I can do it immediatly. And if someone else merge

Re: [patch] x86_64, irq: check remote IRR bit before migrating level triggered irq

2007-05-17 Thread Siddha, Suresh B
On Thu, May 17, 2007 at 05:30:13PM -0700, Eric W. Biederman wrote: > So why does any of this matter? > > My memory says that the ioapic state for sending irqs gets reset when we > unmask the irq. No. Atleast not on the platform we have tested. > If not I expect we can use the mask and edge, unmas

Re: [patch] CFS scheduler, -v12

2007-05-17 Thread hui
On Thu, May 17, 2007 at 05:18:41PM -0700, Bill Huey wrote: > On Sun, May 13, 2007 at 05:38:53PM +0200, Ingo Molnar wrote: > > Even a simple 3D app like glxgears does a sys_sched_yield() for every > > frame it generates (!) on certain 3D cards, which in essence punishes > > any scheduler that impl

Re: [PATCH] sata_nv: fix fallout of devres conversion

2007-05-17 Thread Jeff Garzik
Tejun Heo wrote: As with all other drivers, sata_nv's hpriv is allocated with devm_kzalloc() and there's no need to free it explicitly. Kill nv_remove_one() which incorrectly used kfree() instead of devm_kfree() and use ata_pci_remove_one() directly. Original fix is from Peer Chen. Signed-off-

Re: [PATCH 1/3] allow console unregistration

2007-05-17 Thread Jesse Barnes
On Thursday, May 17, 2007, Antonino A. Daplas wrote: > On Thu, 2007-05-17 at 15:32 -0700, Jesse Barnes wrote: > > Randy just informed me that the patch limits are bigger now, so here > > are the actual patches. > > > > This patch allows for proper console unregistration via the VT layer, > > and up

Re: [PATCH] fix kmalloc(0) in arch/ia64/pci/pci.c

2007-05-17 Thread KAMEZAWA Hiroyuki
On Thu, 17 May 2007 12:19:59 -0700 Andrew Morton <[EMAIL PROTECTED]> wrote: > > + if (!windows) > > + goto out2; > > controller->window = kmalloc_node(sizeof(*controller->window) * windows, > > GFP_KERNEL, controller->node); > > if (!controller->window) > >

Re: [patch] x86_64, irq: check remote IRR bit before migrating level triggered irq

2007-05-17 Thread Siddha, Suresh B
On Thu, May 17, 2007 at 04:58:02PM -0700, Eric W. Biederman wrote: > In essence this makes sense, and it may be the best work around for > buggy hardware available. However I am not convinced that the remote > IRR on ioapics works reliably enough to be used for anything. I > tested this earlier

Re: pata_via appears to incorrectly detects 40-pin cable

2007-05-17 Thread Alan Cox
On Thu, 17 May 2007 19:01:43 + (GMT) Francis Russell <[EMAIL PROTECTED]> wrote: > I'm testing Linux kernel version 2.6.22-rc1 using Debian Testing on an Acer > Ferrari 3400 Laptop. This has a VIA IDE controller with the internal HDD and > DVD writer attached. The via_pata module and SCSI dis

Re: [1/2] 2.6.22-rc1: known regressions

2007-05-17 Thread Bill Davidsen
Jean Delvare wrote: Hi Michal, On Sun, 13 May 2007 20:14:45 +0200, Michal Piotrowski wrote: I2C Subject: "Sensors Applet" give an error message "No chip detected" References : http://lkml.org/lkml/2007/5/13/109 Submitter : Antonino Ingargiola <[EMAIL PROTECTED]> Status : Unknown The

Re: [patch] x86_64, irq: check remote IRR bit before migrating level triggered irq

2007-05-17 Thread Eric W. Biederman
"Siddha, Suresh B" <[EMAIL PROTECTED]> writes: > on x86_64 kernel, level triggered irq migration gets initiated in the context > of that interrupt(after executing the irq handler) and following steps are > followed to do the irq migration. > > 1. mask IOAPIC RTE entry; // write to IOAPIC RTE >

RE: Software raid0 will crash the file-system, when each disk is 5TB

2007-05-17 Thread Neil Brown
On Friday May 18, [EMAIL PROTECTED] wrote: > Fix confirmed, filled the whole 11T hard disk, without crashing. > I presume this would go into 2.6.22 Yes, and probably 2.6.21.y, though the patch will be slightly different, see below. > > Thanks again. And thank-you for pursuing this with me. Nei

Re: [patch] CFS scheduler, -v12

2007-05-17 Thread hui
On Sun, May 13, 2007 at 05:38:53PM +0200, Ingo Molnar wrote: > Even a simple 3D app like glxgears does a sys_sched_yield() for every > frame it generates (!) on certain 3D cards, which in essence punishes > any scheduler that implements sys_sched_yield() in a sane manner. This > interaction of C

Re: usb-scanner-cameras kernel-2.6.22 and udev-095 problem

2007-05-17 Thread art
greg and part of /etc/udev/rules.d/60-libsane.rules ... ACTION!="add", GOTO="libsane_rules_end" SUBSYSTEM!="usb_device", GOTO="libsane_rules_end" # Hewlett-Packard ScanJet 4100C SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="0101", SYMLINK+="scanner-%k" # Hewlett-Packard Photosmart S20 (C5101A) |

Re: [PATCH] LogFS take three

2007-05-17 Thread Dongjun Shin
Hi, On 5/18/07, Pavel Machek <[EMAIL PROTECTED]> wrote: Hi! Hmm.. so operating your camera on batteries should be against the warranty, since batteries commonly run empty while storing pictures? AFAIK, the camera stops writing to the flash card and automatically turns off when it's low on

Re: [patch] x86_64, irq: check remote IRR bit before migrating level triggered irq

2007-05-17 Thread Eric W. Biederman
"Siddha, Suresh B" <[EMAIL PROTECTED]> writes: > on x86_64 kernel, level triggered irq migration gets initiated in the context > of that interrupt(after executing the irq handler) and following steps are > followed to do the irq migration. > > 1. mask IOAPIC RTE entry; // write to IOAPIC RTE >

Re: [PATCH] Further update of the i386 boot documentation

2007-05-17 Thread Grzegorz Kulewski
On Thu, 17 May 2007, H. Peter Anvin wrote: +Field name:kernel_version +Type: read +Offset/size: 0x20e/2 +Protocol: 2.00+ + + If set to a nonzero value, contains a pointer to a null-terminated "nil-terminated"? "\0-terminated"? Uh? That seems more than a little silly. Y

Re: [PATCH] "volatile considered harmful", take 3

2007-05-17 Thread Bill Davidsen
Satyam Sharma wrote: *Unfortunately* (the trouble with C itself, is that a *committee* has made it into ... something ... that it should not have made it into) -- anyway, unfortunately C took it upon itself to solve a problem that it did not have (and does not even bring about) in the first plac

Re: Why can't we sleep in an ISR?

2007-05-17 Thread Dong Feng
Hi, Phillip, I have said the gap between you and me is the definition of context. In Robert's definition, *context* is used in a classification method and really something in higher-level. And I used that term to explain why ISR can not sleep. If you do not like the name, name it your way and su

Re: Dumping a process's pagetable entries?

2007-05-17 Thread Andrew Morton
On Thu, 17 May 2007 11:11:42 +0200 Matthias Andree <[EMAIL PROTECTED]> wrote: > [please remember to Cc: me on your replies] > > Greetings, > > is there an easy way to dump a process's pagetables from outside that > process? Tools, /proc or /sys file or syscall that I missed? > /proc/pid/pagem

Re: [PATCH] Further update of the i386 boot documentation

2007-05-17 Thread Randy Dunlap
On Thu, 17 May 2007 16:30:44 -0700 Jeremy Fitzhardinge wrote: > >>> + If set to a nonzero value, contains a pointer to a null-terminated > >>> > >>> > >> "nil-terminated"? "\0-terminated"? > >> > > > > Uh? That seems more than a little silly. Yes, I guess formally > > speaking we

Re: [patch] CFS scheduler, -v12

2007-05-17 Thread Peter Williams
Ingo Molnar wrote: * Peter Williams <[EMAIL PROTECTED]> wrote: Load balancing appears to be badly broken in this version. When I started 4 hard spinners on my 2 CPU machine one ended up on one CPU and the other 3 on the other CPU and they stayed there. could you try to debug this a bit more

Re: [PATCH 2/3] drm modesetting core

2007-05-17 Thread Luca Tettamanti
Il Thu, May 17, 2007 at 03:37:45PM -0700, Jesse Barnes ha scritto: > This patch adds the core of the new DRM based modesetting system. A couple of comments on drm_fb since I'm somewhat familiar with fb code: > new file mode 100644 > index 000..0d06792 > --- /dev/null > +++ b/linux-core/drm_e

Re: [BUG] (regression) AMD k6-III/450 won't boot w/2.6.22-rc1

2007-05-17 Thread Bob Tracy
Andi Kleen wrote: > Hmpf. > > We cold either use rdmsr_safe or add a family check again or clear it > in k6 setup. I think clearing it in setup is cleanest. > > Does this patch work? > > -Andi > > Clear MCE flag on AMD K6 > > It reports machine check capability in CPUID, but doesn't actually

Re: [PATCH] Further update of the i386 boot documentation

2007-05-17 Thread H. Peter Anvin
Jeremy Fitzhardinge wrote: > H. Peter Anvin wrote: >> Given that we have already established littleendian byte order, it's the >> same thing. >> > > Well, not quite; mentioning the string form first creates an ambiguity. > I'd express as something like: ``The magic number is 0x53726448 > (impl

Re: [PATCH 2.6.21.1] i386: save registers before intra-privilege syscall

2007-05-17 Thread H. Peter Anvin
Philipp Kohlbecher wrote: > > I don't know of any problems this causes. The kernel needs to be aware > of the fact that the xss and esp fields of the pt_regs struct may > contain wrong values anyway, as hardware interrupts arriving while the > CPU is in kernel mode would also lead to this conditio

  1   2   3   4   5   >