Re: regression: 100% io-wait with 2.6.24-rcX

2008-01-18 Thread Linus Torvalds
On Fri, 18 Jan 2008, Mel Gorman wrote: > > Right, and this is consistent with other complaints about the PFN of the > page mattering to some hardware. I don't think it's actually the PFN per se. I think it's simply that some controllers (quite probably affected by both driver and hardware

Re: [PATCH -mm 1/3] i386 boot: replace boot_ioremap with enhanced bt_ioremap - enhance bt_ioremap

2008-01-18 Thread Ian Campbell
On Fri, 2008-01-18 at 09:27 -0800, Jeremy Fitzhardinge wrote: > Ingo Molnar wrote: > > * Ian Campbell <[EMAIL PROTECTED]> wrote: > > > > > >>> Eric Biederman had a patchset that makes a PAE kernel use PAE page > >>> tables from the start. That is really The Right Thing[TM]. > >>> > >>

Re: [Patch] document ext3 requirements (was Re: [RFD] Incremental fsck)

2008-01-18 Thread Bryan Henderson
"H. Peter Anvin" <[EMAIL PROTECTED]> wrote on 01/18/2008 07:08:30 AM: > Bryan Henderson wrote: > > > > We weren't actually talking about writing out the cache. While that was > > part of an earlier thread which ultimately conceded that disk drives most > > probably do not use the spinning

[patch 3/3] LatencyTOP instrumentations part 2

2008-01-18 Thread Arjan van de Ven
A few more high level annotations for LatencyTOP; split into a separate patch since they're at a higher level than the first part (and thus hide some lower level details potentially, but could also obsolete several other low level instrumentations) --- fs/read_write.c |7 ++-

RE: [ofa-general] InfiniBand/RDMA merge plans for 2.6.25

2008-01-18 Thread Sean Hefty
>> Sean Hefty (6): >> IB/mad: Fix incorrect access to items on local_list > >It wasn't clear to me that this issue was ever really nailed. Was the >loop on this closed ? The error that this patches addresses is fairly obvious if you inspect the code. There's a strong chance that the patch

[patch 2/3] Latencytop instrumentations part 1

2008-01-18 Thread Arjan van de Ven
This patch contains the first set of instrumentations for latencytop; each instrumentation needs to be evaluated for usefulness before this can go into mainline; posting here just to show how the infrastructure can be used --- arch/x86/mm/fault_64.c|4 block/ll_rw_blk.c |

[patch 1/3] LatencyTOP infrastructure patch

2008-01-18 Thread Arjan van de Ven
This patch is the core LatencyTOP kernel infrastructure; it measures latencies in the scheduler and tracks it system wide and per process --- fs/proc/base.c | 61 + include/linux/latencytop.h | 62 + include/linux/sched.h |6 kernel/Makefile|

Re: Why is the kfree() argument const?

2008-01-18 Thread Olivier Galibert
On Thu, Jan 17, 2008 at 09:02:44PM -0800, David Schwartz wrote: > 3) It is most useful for 'kfree' to be non-const because destroying an > object through a const pointer can easily be done in error. One of the > reasons you provide a const pointer is because you need the function you > pass the

Re: Why not creating a GIT RT tree ?

2008-01-18 Thread Francis Moreau
Hello, On Jan 18, 2008 4:55 PM, Steven Rostedt <[EMAIL PROTECTED]> wrote: > > On Fri, 18 Jan 2008, Francis Moreau wrote: > > > Maybe I missed it but I'm wondering why GIT is not used for > > the RT development ? I can't find a rt tree anywhere and all > > new rt release spoke about a patchset to

[Announce] Development release 0.1 of the LatencyTOP tool

2008-01-18 Thread Arjan van de Ven
The Intel Open Source Technology Center is pleased to announce the release of version 0.1 of LatencyTOP, a tool for developers to visualize system latencies. http://www.latencytop.org Slow servers, Skipping audio, Jerky video --everyone knows the symptoms of latency. But to know what's really

Re: 2.6.24-rc8-mm1: powerpc oopses

2008-01-18 Thread Matt Mackall
On Fri, 2008-01-18 at 18:23 +0100, Mariusz Kozlowski wrote: > Hello, > > > > Do we need `offset' at all? > > > > Looks like no. > > > > I wonder if there's a good argument for adding a pte_offset_val() which > > would let us do: > > > > pteval = pte_offset_val(pmd, addr); > > > > and shrink

Re: [patch 0/4] x86: PAT followup - Incremental changes and bug fixes

2008-01-18 Thread Balbir Singh
* Pallipadi, Venkatesh <[EMAIL PROTECTED]> [2008-01-18 09:13:10]: > > > >-Original Message- > >From: Andreas Herrmann3 [mailto:[EMAIL PROTECTED] > >Sent: Friday, January 18, 2008 8:11 AM > >To: Pallipadi, Venkatesh > >Cc: Ingo Molnar; Siddha, Suresh B; [EMAIL PROTECTED]; > >[EMAIL

Re: [PATCH 1/3] enhanced ESTALE error handling

2008-01-18 Thread Peter Staubach
J. Bruce Fields wrote: On Fri, Jan 18, 2008 at 11:45:52AM -0500, Peter Staubach wrote: Matthew Wilcox wrote: On Fri, Jan 18, 2008 at 10:36:01AM -0500, Peter Staubach wrote: static int path_lookup_create(int dfd, const char *name, - unsigned int

Re: [PATCH] printk deadlocks if called with runqueue lock held

2008-01-18 Thread Linus Torvalds
On Fri, 18 Jan 2008, Jan Kiszka wrote: > Steven Rostedt wrote: > ... > > @@ -978,7 +980,13 @@ void release_console_sem(void) > > console_locked = 0; > > up(_sem); > > Hmm, just looking at this fragment: Doesn't up() include the risk of > running onto the runqueue lock as well? In

Re: [PATCH/RFCv2] [POWERPC] Add support for freescale watchdog to CPM serial driver.

2008-01-18 Thread Jochen Friedrich
Scott Wood schrieb: +void watchdog_poke(void) +{ +if (wdt) { +out_be16(>swsrr, 0x556c); +out_be16(>swsrr, 0xaa39); +} +} This should be a function pointer, to allow for other watchdog types. Thanks for the comments. Stephen Rothwell also asked if the filename

Re: [PATCH 0/3] enhanced ESTALE error handling

2008-01-18 Thread Peter Staubach
Chuck Lever wrote: On Jan 18, 2008, at 11:55 AM, Peter Staubach wrote: Chuck Lever wrote: Hi Peter- On Jan 18, 2008, at 10:35 AM, Peter Staubach wrote: Hi. Here is a patch set which modifies the system to enhance the ESTALE error handling for system calls which take pathnames as arguments.

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

2008-01-18 Thread Hal Rosenstock
On Thu, 2008-01-17 at 16:11 -0800, Roland Dreier wrote: > Here all the patches I already have in my for-2.6.25 branch: > Sean Hefty (6): > IB/mad: Fix incorrect access to items on local_list It wasn't clear to me that this issue was ever really nailed. Was the loop on this closed ? -- Hal

Re: [PATCH -mm 1/3] i386 boot: replace boot_ioremap with enhanced bt_ioremap - enhance bt_ioremap

2008-01-18 Thread Jeremy Fitzhardinge
Ingo Molnar wrote: * Ian Campbell <[EMAIL PROTECTED]> wrote: Eric Biederman had a patchset that makes a PAE kernel use PAE page tables from the start. That is really The Right Thing[TM]. That's much saner than dup'ing up the early ioremap stuff to support both PAE and non-PAE at

Re: [2.6.24 patch] x86: allow 64bit setting in Kconfig

2008-01-18 Thread Adrian Bunk
On Fri, Jan 18, 2008 at 06:00:37PM +0100, Ingo Molnar wrote: > > * Ingo Molnar <[EMAIL PROTECTED]> wrote: > > > > > * Adrian Bunk <[EMAIL PROTECTED]> wrote: > > > > > # Select 32 or 64 bit > > > config 64BIT > > > - bool "64-bit kernel" if ARCH = "x86" > > > + bool "64-bit kernel" > > >

[PATCH] [7/7] Add generic clearcpuid=... option

2008-01-18 Thread Andi Kleen
Add a generic option to clear any cpuid bit. I added it because it was very easy to add with the new generic cpuid disable bitmap and perhaps it will be useful in the future. Signed-off-by: Andi Kleen <[EMAIL PROTECTED]> --- Documentation/kernel-parameters.txt | 13 +

[PATCH] [6/7] Add noclflush option

2008-01-18 Thread Andi Kleen
To disable CLFLUSH usage, especially in change_page_attr(). Ingo asked for this. Signed-off-by: Andi Kleen <[EMAIL PROTECTED]> --- Documentation/kernel-parameters.txt |2 ++ arch/x86/kernel/cpu/common.c|7 +++ arch/x86/kernel/setup_64.c |7 +++ 3 files

[PATCH] [5/7] Remove CONFIG_X86_TSC for 32bit

2008-01-18 Thread Andi Kleen
The config option protects so little code that it is fairly pointless. Also a lot of its code was related to itself only (as in panicing without TSC). And TSC less CPUs are completely handled at runtime anyways. This makes 32bit behaviour match x86-64. I also removed an #if

[PATCH] [4/7] Convert TSC disabling to generic cpuid disable bitmap

2008-01-18 Thread Andi Kleen
This cleans up quite a lot of code. I think I test compiled all the affected variants (voyager, numaq), but didn't test them, but the change is pretty straight forward for them. This means NUMAQ didn't compile, but I don't think it was related to my patches. Signed-off-by: Andi Kleen

[PATCH] [3/7] Don't disable RDTSC in userland for 32bit notsc

2008-01-18 Thread Andi Kleen
Modern 32bit userland doesn't even boot when the TSC is disabled because ld.so tends to contain RDTSCs. So make notsc only effective for the kernel, similar to 64bit. Signed-off-by: Andi Kleen <[EMAIL PROTECTED]> --- arch/x86/kernel/cpu/common.c |1 - 1 file changed, 1 deletion(-) Index:

[PATCH] [1/7] Add frame work to disable CPUID bits on the command line

2008-01-18 Thread Andi Kleen
There are already various options to disable specific cpuid bits on the command line. They all use their own variable. Add a generic mask to make this easier in the future. Signed-off-by: Andi Kleen <[EMAIL PROTECTED]> --- arch/x86/kernel/cpu/common.c |6 ++ arch/x86/kernel/setup_64.c

[PATCH] [2/7] Convert some existing cpuid disable options to new generic bitmap

2008-01-18 Thread Andi Kleen
This convers nofxsr, mem=nopentium and nosep to use the new generic cpuid disable bitmap instead of using own variables. Signed-off-by: Andi Kleen <[EMAIL PROTECTED]> --- arch/x86/kernel/cpu/common.c | 34 -- arch/x86/kernel/setup_32.c |5 + 2 files

Re: 2.6.24-rc8-mm1 (KVM build issues)

2008-01-18 Thread Balbir Singh
* Andrew Morton <[EMAIL PROTECTED]> [2008-01-17 02:35:14]: > - kvm probably doesn't work properly because I couldn't be bothered fixing > the conflicts between git-kvm and the driver tree > Hi, Andrew, The following changes got KVM up and running for me This patch fixes the kvm build on

[PATCH] [0/7] Add noclflush option and related cleanup

2008-01-18 Thread Andi Kleen
I added a noclflush option because Ingo asked for it to make it possible to disable parts of the new CPA code. While I was at it I did some generic cleanup in the area of cpuid disable options and generalized them a bit. That is where the other patches come from. -Andi -- To unsubscribe from

Re: Cannot boot xen DomU > 2.6.23.1

2008-01-18 Thread Jeremy Fitzhardinge
xming wrote: Would it be possible to map the eip and some top parts of the stack back to kernel symbols? Seems to be the same place in both traces, which is interesting. Can you tell me how, or show me some pointers? Do "nm -n vmlinux" on the kernel to set an address sorted list of

Re: Why is the kfree() argument const?

2008-01-18 Thread Olivier Galibert
On Fri, Jan 18, 2008 at 08:53:44AM -0500, Andy Lutomirski wrote: > I'd say this implies the exact opposite. It almost sounds like the > compiler is free to change: > > void foo(const int *x); > foo(x); > printf("%d", x); > > to: > > void foo(const int *x); > printf("%d", x); > foo(x); That's

Re: [PATCH] Core driver for WM97xx touchscreens

2008-01-18 Thread Dmitry Torokhov
Hi Mark, On Fri, Jan 18, 2008 at 04:27:06PM +, Mark Brown wrote: > This patch series adds support for the touchscreen controllers provided > by Wolfson Microelectronics WM97xx series chips in both polled and > streaming modes. > Thank you for the patches. Some comments below. > +static int

mount: can not restrict mode of iso9660 files

2008-01-18 Thread Ilya N. Golubev
Versions: `2.6.17-1.2142_FC4' (fedora core) for x86_64; `kernel-syms-2.6.22.5-31' (opensuse 10.3) for i586. File system may contain data not to let any logged in user read. Wish to specify more restrictive mode of files in it - files of all types, including not only regular ones, but also

Re: 2.6.24-rc8-mm1: powerpc oopses

2008-01-18 Thread Mariusz Kozlowski
Hello, > > Do we need `offset' at all? > > Looks like no. > > I wonder if there's a good argument for adding a pte_offset_val() which > would let us do: > > pteval = pte_offset_val(pmd, addr); > > and shrink the map/unmap window and overhead here and possibly > elsewhere? > > Anyway, updated

Re: x86: Add support for the latest Intel processors to Oprofile

2008-01-18 Thread Arjan van de Ven
On Fri, 18 Jan 2008 13:36:11 +0100 Ingo Molnar <[EMAIL PROTECTED]> wrote: > > * Arjan van de Ven <[EMAIL PROTECTED]> wrote: > > > Subject: x86: Add support for the latest Intel processors to > > Oprofile From: Arjan van de Ven <[EMAIL PROTECTED]> > > > > The latest Intel processors (the 45nm

Re: [PATCH 1/3] enhanced ESTALE error handling

2008-01-18 Thread J. Bruce Fields
On Fri, Jan 18, 2008 at 11:45:52AM -0500, Peter Staubach wrote: > Matthew Wilcox wrote: >> On Fri, Jan 18, 2008 at 10:36:01AM -0500, Peter Staubach wrote: >>> static int path_lookup_create(int dfd, const char *name, >>> - unsigned int lookup_flags, struct nameidata *nd,

Re: CPA boot crash (was: [PATCH] [0/36] Great change_page_attr patch series v3)

2008-01-18 Thread Andi Kleen
> i pointed it out how to port a larger series ontop of a whitespace > cleanup patch: > > http://lkml.org/lkml/2008/1/18/281 > > the "there's an easy technique" bit. But it will be even easier to just redo the cleanup stuff at the end. If I do what you describe here I'm sure I will make a

Re: [PATCH 0/3] enhanced ESTALE error handling

2008-01-18 Thread Chuck Lever
On Jan 18, 2008, at 11:55 AM, Peter Staubach wrote: Chuck Lever wrote: Hi Peter- On Jan 18, 2008, at 10:35 AM, Peter Staubach wrote: Hi. Here is a patch set which modifies the system to enhance the ESTALE error handling for system calls which take pathnames as arguments. The VFS already

RE: [patch 0/4] x86: PAT followup - Incremental changes and bug fixes

2008-01-18 Thread Pallipadi, Venkatesh
>-Original Message- >From: Andreas Herrmann3 [mailto:[EMAIL PROTECTED] >Sent: Friday, January 18, 2008 8:11 AM >To: Pallipadi, Venkatesh >Cc: Ingo Molnar; Siddha, Suresh B; [EMAIL PROTECTED]; >[EMAIL PROTECTED]; [EMAIL PROTECTED]; >[EMAIL PROTECTED]; [EMAIL PROTECTED]; >[EMAIL

Re: [PATCH] x86: fix unconditional arch/x86/kernel/pcspeaker.c?compiling

2008-01-18 Thread Matt Mackall
On Fri, 2008-01-18 at 17:29 +0100, Michael Opdenacker wrote: > On 01/18/2008 02:50 PM, Matt Mackall wrote: > > On Fri, 2008-01-18 at 14:03 +0100, Michael Opdenacker wrote: > > > >> However, wouldn't the Makefile look nicer if we introduced a > >> CONFIG_PCSPEAKER setting as in the mips

Re: 2.6.24-rc8-mm1: broken suspend (due to git-cpufreq.patch)

2008-01-18 Thread Dave Jones
On Fri, Jan 18, 2008 at 02:34:59PM +0100, Rafael J. Wysocki wrote: > On Thursday, 17 of January 2008, Andrew Morton wrote: > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.24-rc8/2.6.24-rc8-mm1/ > > > > - selinux is busted on one of my two selinux-enabled test

Re: [PATCH/RFCv2] [POWERPC] Add support for freescale watchdog to CPM serial driver.

2008-01-18 Thread Scott Wood
Jochen Friedrich wrote: +void watchdog_poke(void) +{ +if (wdt) { +out_be16(>swsrr, 0x556c); +out_be16(>swsrr, 0xaa39); +} +} This should be a function pointer, to allow for other watchdog types. -Scott -- To unsubscribe from this list: send the line "unsubscribe

Re: USB HID: Missing keys on Gyration Media Center Universal Remote Control

2008-01-18 Thread Adolfo R. Brandes
Hey Jiri, Jiri Kosina: > this is really weird, that the keys do not produce any debugging output at > all. Do you think you could use usbmon to see what data is coming from > they keyboard through USB bus? For the "TV" key: f7d32680 3699560314 C Ii:2:006:2 0:8 3 = 064600 f7d32680 3699560330 S

Re: [2.6.24 patch] x86: allow 64bit setting in Kconfig

2008-01-18 Thread Ingo Molnar
* Ingo Molnar <[EMAIL PROTECTED]> wrote: > > * Adrian Bunk <[EMAIL PROTECTED]> wrote: > > > # Select 32 or 64 bit > > config 64BIT > > - bool "64-bit kernel" if ARCH = "x86" > > + bool "64-bit kernel" > > default ARCH = "x86_64" > > help > > Say yes to build a 64-bit kernel

Re: [PATCH] x86: fix unconditional arch/x86/kernel/pcspeaker.c?compiling

2008-01-18 Thread Michael Opdenacker
On 01/18/2008 02:50 PM, Matt Mackall wrote: > On Fri, 2008-01-18 at 14:03 +0100, Michael Opdenacker wrote: > >> However, wouldn't the Makefile look nicer if we introduced a >> CONFIG_PCSPEAKER setting as in the mips platform? We would just have: >> >> obj-$(CONFIG_PCSPEAKER) +=

Re: Cannot boot xen DomU > 2.6.23.1

2008-01-18 Thread xming
On Jan 18, 2008 5:19 PM, Jeremy Fitzhardinge <[EMAIL PROTECTED]> wrote: > > First of all this patch solves the lock-ups, it works as advertised :) > > OK, good. I guess events are getting lost somewhere with vcpu_info > placement. > Would it be possible to map the eip and some top parts of the

Re: [PATCH 0/3] enhanced ESTALE error handling

2008-01-18 Thread Peter Staubach
Chuck Lever wrote: Hi Peter- On Jan 18, 2008, at 10:35 AM, Peter Staubach wrote: Hi. Here is a patch set which modifies the system to enhance the ESTALE error handling for system calls which take pathnames as arguments. The VFS already handles ESTALE. If a pathname resolution encounters an

Re: 2.6.24-rc8-mm1: broken suspend (due to git-cpufreq.patch)

2008-01-18 Thread Dave Jones
On Fri, Jan 18, 2008 at 02:34:59PM +0100, Rafael J. Wysocki wrote: > On Thursday, 17 of January 2008, Andrew Morton wrote: > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.24-rc8/2.6.24-rc8-mm1/ > > > > - selinux is busted on one of my two selinux-enabled test

mount: can not restrict mode of iso9660 files

2008-01-18 Thread Ilya N. Golubev
Versions: `2.6.17-1.2142_FC4' (fedora core) for x86_64; `2.6.22.5-31' (opensuse 10.3) for i586. File system may contain data not to let any logged in user read. Wish to specify more restrictive mode of files in it - files of all types, including not only regular ones, but also directories, even

Re: CPA boot crash (was: [PATCH] [0/36] Great change_page_attr patch series v3)

2008-01-18 Thread Ingo Molnar
* Andi Kleen <[EMAIL PROTECTED]> wrote: > That rule of thumb makes sense if someone does a series from scratch, > but redoing a large existing series just because someone else sneaked > in a white space patch at the wrong time does not seem to be very > efficient to me. i pointed it out how

Re: [PATCH 1/3] enhanced ESTALE error handling

2008-01-18 Thread Peter Staubach
Matthew Wilcox wrote: On Fri, Jan 18, 2008 at 10:36:01AM -0500, Peter Staubach wrote: @@ -1025,12 +1027,27 @@ static int fastcall link_path_walk(const mntget(save.mnt); result = __link_path_walk(name, nd); - if (result == -ESTALE) { + while (result == -ESTALE) { +

Re: [patch 02/11] PAT x86: Map only usable memory in x86_64 identity map and kernel text

2008-01-18 Thread Jesse Barnes
On Friday, January 18, 2008 5:12 am Andi Kleen wrote: > > (AMD machines apparently don't need it > > That's not true -- we had AMD systems in the past with broken MTRRs for > large memory configurations too, Mostly it was pre revE though. It should be easy enough to enable it for AMD as well,

Re: Why is the kfree() argument const?

2008-01-18 Thread ecolbus
Giacomo A. Catenazzi wrote : > [EMAIL PROTECTED] wrote: > > Giacomo Catenazzi wrote: > > > >> const No writes through this lvalue. In the absence of this qualifier, > >> writes may occur > >> through this lvalue. > >> > >> volatile No cacheing through this lvalue: each operation in the abstract

Re: [PATCH 0/3] enhanced ESTALE error handling

2008-01-18 Thread Chuck Lever
Hi Peter- On Jan 18, 2008, at 10:35 AM, Peter Staubach wrote: Hi. Here is a patch set which modifies the system to enhance the ESTALE error handling for system calls which take pathnames as arguments. The VFS already handles ESTALE. If a pathname resolution encounters an ESTALE at any

42c9c06bec x86: ACPI: use ioremap_early() instead of __va()/__pa()

2008-01-18 Thread Johannes Weiner
Hi Ingo, with the commit 42c9c06bec2f48002d5b6573c8700461120070a9 x86: ACPI: use ioremap_early() instead of __va()/__pa() you made __acpi_map_table(), which is non-__init, call early_ioremap() which is __init on 64bit (init_64.c) but non-__init on 32bit (ioremap_32.c). This

Re: SCHED_FIFO & system()

2008-01-18 Thread Steven Rostedt
On Thu, 17 Jan 2008 [EMAIL PROTECTED] wrote: > time kernel thread does not get scheduled. > > The thread that calls system("run_my_script") is configured as SCHED_OTHER. > > The Kernel is 2.6.21. Could you try the latest kernel, and if that still gives you problems, try out Ingo's sched-devel

Re: [patch 0/4] x86: PAT followup - Incremental changes and bug fixes

2008-01-18 Thread Andreas Herrmann3
On Thu, Jan 17, 2008 at 03:04:10PM -0800, Venki Pallipadi wrote: > > Below is another potential fix for the problem here. Going through ACPI > ioremap usages, we found at one place the mapping is cached for possible > optimization reason and not unmapped later. Patch below always unmaps > ioremap

Re: [PATCH] Documentation: mention email-clients.txt in SubmittingPatches

2008-01-18 Thread Randy Dunlap
On Fri, 18 Jan 2008 11:20:02 +0100 Michael Opdenacker wrote: > Applies to 2.6.24-rc8-git2 > > I was struggling to get my email-client no to mangle my patch files, > and I didn't find enough information in the SubmittingPatches file. > By looking for more information on the web, I eventually

Re: CPA boot crash (was: [PATCH] [0/36] Great change_page_attr patch series v3)

2008-01-18 Thread Andi Kleen
On Friday 18 January 2008 17:21:18 Ingo Molnar wrote: > > * Andi Kleen <[EMAIL PROTECTED]> wrote: > > > > > (except for the white space changes, but that can be redone once > > > > everything settled down again). Then it will be bisectable. > > > > > > it's a revert barrier (within v2.6.25), >

Re: [PATCH] printk deadlocks if called with runqueue lock held

2008-01-18 Thread Steven Rostedt
On Fri, 18 Jan 2008, Jan Kiszka wrote: > Steven Rostedt wrote: > > > @@ -978,7 +980,13 @@ void release_console_sem(void) > > console_locked = 0; > > up(_sem); > > Hmm, just looking at this fragment: Doesn't up() include the risk of > running onto the runqueue lock as well? Very

Re: [2.6.24-rc8-mm1] Locking API boot-time self-tests hangs.

2008-01-18 Thread Zan Lynx
On Thu, 2008-01-17 at 20:42 -0800, Andrew Morton wrote: > On Fri, 18 Jan 2008 12:19:56 +0900 Tetsuo Handa <[EMAIL PROTECTED]> wrote: > > > Hello. > > > > Andrew Morton wrote: > > > I'd be suspecting git-sched, so in lieu of a full bisection search it > > > would > > > be great if one of you

[PATCH] Core driver for WM97xx touchscreens

2008-01-18 Thread Mark Brown
This patch series adds support for the touchscreen controllers provided by Wolfson Microelectronics WM97xx series chips in both polled and streaming modes. These drivers have been maintained out of tree since 2003. During that time the driver the primary maintainer was Liam Girdwood and a number

[PATCH] Add chip driver for WM9713 touchscreen

2008-01-18 Thread Mark Brown
Signed-off-by: Liam Girdwood <[EMAIL PROTECTED]> Signed-off-by: Graeme Gregory <[EMAIL PROTECTED]> Signed-off-by: Mike Arthur <[EMAIL PROTECTED]> Signed-off-by: Mark Brown <[EMAIL PROTECTED]> Cc: Stanley Cai <[EMAIL PROTECTED]> Cc: Rodolfo Giometti <[EMAIL PROTECTED]> Cc: Russell King <[EMAIL

[PATCH] Add chip driver for WM9712 touchscreen

2008-01-18 Thread Mark Brown
Signed-off-by: Liam Girdwood <[EMAIL PROTECTED]> Signed-off-by: Graeme Gregory <[EMAIL PROTECTED]> Signed-off-by: Mike Arthur <[EMAIL PROTECTED]> Signed-off-by: Mark Brown <[EMAIL PROTECTED]> Cc: Stanley Cai <[EMAIL PROTECTED]> Cc: Rodolfo Giometti <[EMAIL PROTECTED]> Cc: Russell King <[EMAIL

[PATCH] Driver for WM97xx touchscreens in streaming mode on Mainstone

2008-01-18 Thread Mark Brown
Signed-off-by: Liam Girdwood <[EMAIL PROTECTED]> Signed-off-by: Graeme Gregory <[EMAIL PROTECTED]> Signed-off-by: Mike Arthur <[EMAIL PROTECTED]> Signed-off-by: Mark Brown <[EMAIL PROTECTED]> Cc: Stanley Cai <[EMAIL PROTECTED]> Cc: Rodolfo Giometti <[EMAIL PROTECTED]> Cc: Russell King <[EMAIL

[PATCH] Build system and MAINTAINERS entry for WM97xx touchscreen drivers

2008-01-18 Thread Mark Brown
Signed-off-by: Mark Brown <[EMAIL PROTECTED]> Signed-off-by: Liam Girdwood <[EMAIL PROTECTED]> Cc: Sam Ravnborg <[EMAIL PROTECTED]> --- MAINTAINERS|9 ++ drivers/input/touchscreen/Kconfig | 52

[PATCH] Add chip driver for WM9705 touchscreen

2008-01-18 Thread Mark Brown
Signed-off-by: Liam Girdwood <[EMAIL PROTECTED]> Signed-off-by: Graeme Gregory <[EMAIL PROTECTED]> Signed-off-by: Mike Arthur <[EMAIL PROTECTED]> Signed-off-by: Mark Brown <[EMAIL PROTECTED]> Cc: Stanley Cai <[EMAIL PROTECTED]> Cc: Rodolfo Giometti <[EMAIL PROTECTED]> Cc: Russell King <[EMAIL

[UPDATED] WM97xx touchscreen drivers

2008-01-18 Thread Mark Brown
This patch series adds support for the touchscreen controllers provided by Wolfson Microelectronics WM97xx series chips in both polled and streaming modes. It has been updated to reflect feedback since the submission last week, most substantially in that the Makefile has been cleaned up and the

Re: [PATCH -mm 1/3] i386 boot: replace boot_ioremap with enhanced bt_ioremap - enhance bt_ioremap

2008-01-18 Thread Ingo Molnar
* Ian Campbell <[EMAIL PROTECTED]> wrote: > > Eric Biederman had a patchset that makes a PAE kernel use PAE page > > tables from the start. That is really The Right Thing[TM]. > > That's much saner than dup'ing up the early ioremap stuff to support > both PAE and non-PAE at runtime, which is

Re: CPA boot crash (was: [PATCH] [0/36] Great change_page_attr patch series v3)

2008-01-18 Thread Ingo Molnar
* Andi Kleen <[EMAIL PROTECTED]> wrote: > > > (except for the white space changes, but that can be redone once > > > everything settled down again). Then it will be bisectable. > > > > it's a revert barrier (within v2.6.25), > > What is a revert barrier? > > Anyways of course the way to

[PATCH]Fix the order of atomic operations in restore_previous_kprobes on ia64

2008-01-18 Thread Masami Hiramatsu
From: Masami Hiramatsu <[EMAIL PROTECTED]> Fix the order of atomic operations to prevent overwriting prev_kprobe[0]. To pop values from stack, we must decrement stack index right AFTER reading values. Signed-off-by: Masami Hiramatsu <[EMAIL PROTECTED]> --- Details of this issue was reported to

Re: Cannot boot xen DomU > 2.6.23.1

2008-01-18 Thread Jeremy Fitzhardinge
xming wrote: OK, I misunderstood your original report to mean that something was complaining about "too much" output. You're saying that lots of console output seems to lock the domain. Sorry about that, and yes that is the case. I've had a report about heavy disk IO seems to lock

Re: [PATCH 2/2] Allow any x86 sub-architecture type to set CONFIG_NUMA

2008-01-18 Thread Ingo Molnar
* Mel Gorman <[EMAIL PROTECTED]> wrote: > While there are a limited number of x86 sub-architecture types that > can really support NUMA, there is nothing stopping other machines > booting that type of kernel. The fact that X86_GENERICARCH can set > NUMA currently is an indicator of that. This

Re: [PATCH 1/2] Do not require CONFIG_HIGHMEM64G to set CONFIG_NUMA on x86

2008-01-18 Thread Ingo Molnar
* Mel Gorman <[EMAIL PROTECTED]> wrote: > There is nothing inherent in HIGHMEM64G required for CONFIG_NUMA to > work. It just limits potential testing coverage so remove the > limitation. thanks Mel, applied. Great change - this will trigger NUMA related build (and boot) failures must faster

Re: x86 refuses to build [Re: 2.6.24-rc8-mm1]

2008-01-18 Thread Mike Travis
Ingo Molnar wrote: > * Dhaval Giani <[EMAIL PROTECTED]> wrote: > >> grepping around and looking through the code, I notice it is because >> these variables just do not exist for 32 bit NUMA. I am not sure how >> to go about it, and will just leave it to folks who know what they are >> doing

Re: build #343 issue for v2.6.24-rc8-29-g03bbe08 : Section mismatch: reference to .init.text.1:start_kernel (between 'is386' and 'check_x87')

2008-01-18 Thread WANG Cong
On Fri, Jan 18, 2008 at 02:22:42PM +0100, Sam Ravnborg wrote: >On Fri, Jan 18, 2008 at 08:51:44PM +0800, WANG Cong wrote: >> On Fri, Jan 18, 2008 at 01:46:27PM +0100, Sam Ravnborg wrote: >> >On Fri, Jan 18, 2008 at 08:29:17PM +0800, WANG Cong wrote: >> >> On Fri, Jan 18, 2008 at 01:18:27PM +0100,

Re: CPA boot crash (was: [PATCH] [0/36] Great change_page_attr patch series v3)

2008-01-18 Thread Andi Kleen
On Friday 18 January 2008 17:07:57 Ingo Molnar wrote: > > * Andi Kleen <[EMAIL PROTECTED]> wrote: > > > > could you please make your queue bisectable? > > > > The idea was that you git revert the original patches I referenced and > > then drop the undo patches since I reimplement all that in

Re: [PATCH 1/3] enhanced ESTALE error handling

2008-01-18 Thread Matthew Wilcox
On Fri, Jan 18, 2008 at 10:36:01AM -0500, Peter Staubach wrote: > @@ -1025,12 +1027,27 @@ static int fastcall link_path_walk(const > mntget(save.mnt); > > result = __link_path_walk(name, nd); > - if (result == -ESTALE) { > + while (result == -ESTALE) { > + /* > +

RE: Why is the kfree() argument const?

2008-01-18 Thread Linus Torvalds
On Thu, 17 Jan 2008, David Schwartz wrote: > > Nonsense. The 'kfree' function *destroys* the object pointer to by the > pointer. How can you describe that as not doing anything to the object? Here's an idea. Think it through. Why don't we need write permissions to a file to unlink it?

Re: CPA boot crash (was: [PATCH] [0/36] Great change_page_attr patch series v3)

2008-01-18 Thread Ingo Molnar
* Andi Kleen <[EMAIL PROTECTED]> wrote: > > could you please make your queue bisectable? > > The idea was that you git revert the original patches I referenced and > then drop the undo patches since I reimplement all that in different > ways (except for the white space changes, but that can

Re: x86: Debug warning: early ioremap leak of 2 areas detected.

2008-01-18 Thread Jeremy Fitzhardinge
Ingo Molnar wrote: sidenote, is this failure normal: acpiphp_ibm: ibm_acpiphp_init: acpi_walk_namespace failed ? Yes, I see it on all boots. When booting native, I get a "acpiphp: too many resources found" message (I'll get the exact wording next time I boot). the leaked

Re: CPA boot crash (was: [PATCH] [0/36] Great change_page_attr patch series v3) II

2008-01-18 Thread Andi Kleen
On Friday 18 January 2008 17:01:04 Andi Kleen wrote: > > > could you please make your queue bisectable? > > The idea was that you git revert the original patches Or rather instead of git reverting drop them completely. I'm sure it can be done somehow. You should also move CPA: Implement

Re: regression: 100% io-wait with 2.6.24-rcX

2008-01-18 Thread Mel Gorman
On (18/01/08 00:19), Martin Knoblauch didst pronounce: > > > The effect is defintely depending on the IO hardware. > > > performed the same tests > > > on a different box with an AACRAID controller and there things > > > look different. > > > > I take it different also means it does not

Re: CPA boot crash (was: [PATCH] [0/36] Great change_page_attr patch series v3)

2008-01-18 Thread Andi Kleen
> could you please make your queue bisectable? The idea was that you git revert the original patches I referenced and then drop the undo patches since I reimplement all that in different ways (except for the white space changes, but that can be redone once everything settled down again). Then

Re: CPA boot crash (was: [PATCH] [0/36] Great change_page_attr patch series v3)

2008-01-18 Thread Ingo Molnar
* Ingo Molnar <[EMAIL PROTECTED]> wrote: > hm, i just found a failing 64-bit .config while testing your CPA > patchset: > > [1.916541] CPA mapping 4k 0 large 2048 gb 0 x 0[0-0] miss 0 > [1.919874] Unable to handle kernel paging request at 0335aea8 > RIP: > [1.919874]

Re: [PATCH 4 of 4] x86: mask NX from pte_pfn

2008-01-18 Thread Jeremy Fitzhardinge
Hugh Dickins wrote: Shouldn't that be return (pte_val(pte) & ~_PAGE_NX) >> PAGE_SHIFT; Yes, it should be. Thanks, J -- 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: Why not creating a GIT RT tree ?

2008-01-18 Thread Steven Rostedt
On Fri, 18 Jan 2008, Francis Moreau wrote: > Maybe I missed it but I'm wondering why GIT is not used for > the RT development ? I can't find a rt tree anywhere and all > new rt release spoke about a patchset to apply on mainline > kernels. The answer to this is pretty much the same as why the

Re: [PATCH -mm 1/3] i386 boot: replace boot_ioremap with enhanced bt_ioremap - enhance bt_ioremap

2008-01-18 Thread Ian Campbell
On Fri, 2008-01-18 at 09:54 -0500, H. Peter Anvin wrote: > huang ying wrote: > > > > If CONFIG_X86_PAE is defined, the set_pte, clear_pte etc will operate > > 3-level page tables, while on i386, the early page table is always > > 2-level, so set_pte, clear_pte etc functions can not be used here.

Re: [PATCH 6/7] Char: mxser, remove it

2008-01-18 Thread Alan Cox
On Fri, 18 Jan 2008 15:31:15 +0100 Jiri Slaby <[EMAIL PROTECTED]> wrote: > (Old) mxser is obsoleted by mxser_new and scheduled for removal on Dec 2007. > Remove it by renaming mxser_new to mxser. > > Signed-off-by: Jiri Slaby <[EMAIL PROTECTED]>(info->board->chip_flag)) { All 7 parts

Re: [PATCH] cgroup: limit block I/O bandwidth

2008-01-18 Thread Andrea Righi
Andrea Righi wrote: [snip] > +static ssize_t iothrottle_read(struct cgroup *cont, struct cftype *cft, > +struct file *file, char __user *buf, > +size_t nbytes, loff_t *ppos) > +{ > + ssize_t count, ret; > + unsigned long delta,

Re: [PATCH 0/3] enhanced ESTALE error handling

2008-01-18 Thread J. Bruce Fields
On Fri, Jan 18, 2008 at 10:35:50AM -0500, Peter Staubach wrote: > Hi. > > Here is a patch set which modifies the system to enhance the > ESTALE error handling for system calls which take pathnames > as arguments. I think your cover letter may be bigger than any of the actual patches I'm not

[git pull] x86 fixes for v2.6.24

2008-01-18 Thread Ingo Molnar
Linus, please pull the latest x86 git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86.git two fixes: a "make mrproper" bug and a new cpuid for oprofile, both build/boot tested. Ingo --> Arjan van de Ven (1): x86: add support for the

Re: [PATCH 2/6] percpu: Change Kconfig ARCH_SETS_UP_PER_CPU_AREA to HAVE_SETUP_PER_CPU_AREA

2008-01-18 Thread Mike Travis
Sam Ravnborg wrote: > Hi Mike. > >> --- a/arch/x86/Kconfig >> +++ b/arch/x86/Kconfig >> @@ -20,6 +20,7 @@ config X86 >> def_bool y >> select HAVE_OPROFILE >> select HAVE_KPROBES >> +select HAVE_SETUP_PER_CPU_AREA if ARCH = "x86_64" > > It is simpler to just say: >> +select

Re: Why is the kfree() argument const?

2008-01-18 Thread Chris Friesen
David Schwartz wrote: 2) The 'kfree' operation changes the logical state of the object pointed to, as the object goes from existent to non-existent. I don't think that kfree() itself changes the state of the object. It doesn't call a destructor or anything like that, so the object itself

Re: CPA boot crash (was: [PATCH] [0/36] Great change_page_attr patch series v3)

2008-01-18 Thread Ingo Molnar
* Ingo Molnar <[EMAIL PROTECTED]> wrote: > hm, i just found a failing 64-bit .config while testing your CPA > patchset: > > [1.916541] CPA mapping 4k 0 large 2048 gb 0 x 0[0-0] miss 0 > [1.919874] Unable to handle kernel paging request at 0335aea8 > RIP: > [1.919874]

Re: [Patch] document ext3 requirements (was Re: [RFD] Incremental fsck)

2008-01-18 Thread Ric Wheeler
Theodore Tso wrote: On Thu, Jan 17, 2008 at 04:31:48PM -0800, Bryan Henderson wrote: But I heard some years ago from a disk drive engineer that that is a myth just like the rotational energy thing. I added that to the discussion, but admitted that I haven't actually seen a disk drive write a

[PATCH 3/3] enhanced ESTALE error handling

2008-01-18 Thread Peter Staubach
Hi. The patch enhanced the ESTALE error handling for NFS mounted file systems. It expands the number of places that the NFS client checks for ESTALE returns from the server. It also enhances the ESTALE handling for directories by occasionally retrying revalidation to check to see whether the

[PATCH 1/3] enhanced ESTALE error handling

2008-01-18 Thread Peter Staubach
Hi. This is a patch to enhance ESTALE error handling during the lookup process. The error, ESTALE, can occur when out of data dentries, stored in the dcache, is used to translate a pathname component to a dentry. When this occurs, the dentry which contains the pointer to the inode which refers

[PATCH 2/3] enhanced ESTALE error handling

2008-01-18 Thread Peter Staubach
Hi. This patch adds handling for the error, ESTALE, to the system calls which take pathnames as arguments. The algorithm used is to detect that an ESTALE error has occurred during an operation subsequent to the lookup process and then to unwind appropriately and then to perform the lookup

[PATCH 2/2] Allow any x86 sub-architecture type to set CONFIG_NUMA

2008-01-18 Thread Mel Gorman
While there are a limited number of x86 sub-architecture types that can really support NUMA, there is nothing stopping other machines booting that type of kernel. The fact that X86_GENERICARCH can set NUMA currently is an indicator of that. This restriction only limits potential testing coverage.

[PATCH 0/3] enhanced ESTALE error handling

2008-01-18 Thread Peter Staubach
Hi. Here is a patch set which modifies the system to enhance the ESTALE error handling for system calls which take pathnames as arguments. The error, ESTALE, was originally introduced to handle the situation where a file handle, which NFS uses to uniquely identify a file on the server, no

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