Re: [linux-usb-devel] [4/4] 2.6.23-rc3: known regressions

2007-08-20 Thread Arjan van de Ven
> Have we done that? Yes. We actually had a "no-hlt" kernel command line > flag that literally disabled halting the CPU, because it apparently caused > problems for some floppy disk setups (and yes, the main reasonable > explanation was some bad DMA interaction, we never figured it out). > >

Re: [PATCH 0/24] make atomic_read() behave consistently across all architectures

2007-08-20 Thread Linus Torvalds
On Mon, 20 Aug 2007, Chris Snook wrote: > > What about barrier removal? With consistent semantics we could optimize a > fair amount of code. Whether or not that constitutes "premature" optimization > is open to debate, but there's no question we could reduce our register wiping > in some

Re: [PATCH 2/4] Fix mainline filesystems to handle ATTR_KILL_ bits correctly

2007-08-20 Thread Timothy Shimmin
Jeff Layton wrote: This should fix all of the filesystems in the mainline kernels to handle ATTR_KILL_SUID and ATTR_KILL_SGID correctly. For most of them, this is just a matter of making sure that they call generic_attrkill early in the setattr inode op. Signed-off-by: Jeff Layton <[EMAIL

[PATCH] PCI: disable MSI on RX790

2007-08-20 Thread Tejun Heo
RX790 can't do MSI like its predecessors. Disable MSI on RX790. Signed-off-by: Tejun Heo <[EMAIL PROTECTED]> --- Okay, another one from ATI which can't do MSI. 2.6.23 material. drivers/pci/quirks.c|1 + include/linux/pci_ids.h |1 + 2 files changed, 2 insertions(+) diff --git

Re: How Linux /proc filesystem convert a fd to the actual pathname?

2007-08-20 Thread Jan Engelhardt
>In the Linux proc filesystem, /proc/[pid]/fd is a link to the >actually the actual pathname of the opened file. > >I am curious how Linux convert an fd to the pathname? Does it >recursively walk back from current dentry to the root? AFAICS the fd has a pointer to the vma of the file (don't

Re: [linux-usb-devel] [4/4] 2.6.23-rc3: known regressions

2007-08-20 Thread Linus Torvalds
On Mon, 20 Aug 2007, David Brownell wrote: > On Monday 20 August 2007, Linus Torvalds wrote: > > > > Fair enough. However, it still seems particularly idiotic to > > - penalize everybody > > - mix up two totally unrelated areas (cpufreq and USB) for a bug that is > >extremely rare and

[PATCH take #6] [libata] libata driver for bf548 on chip ATAPI controller.

2007-08-20 Thread Sonic Zhang
Fix all issues pointed out in Jeff's email. Acked-by: Alan Cox <[EMAIL PROTECTED]> Signed-off-by: Sonic Zhang <[EMAIL PROTECTED]> --- drivers/ata/Kconfig | 16 drivers/ata/Makefile |1 drivers/ata/pata_bf54x.c | 1627 +++ 3

Re: [PATCH][bugzilla #8679] therm_throt.c: Fix section mismatch

2007-08-20 Thread Andrew Morton
On Mon, 20 Aug 2007 22:03:28 -0700 Andrew Morton <[EMAIL PROTECTED]> wrote: > register_hotcpu_notifier() is cunning. If CONFIG_HOTPLUG_CPU=y, we need > the notifier block and the function to which it points to be in .data and > in .text. If CONFIG_HOTPLUG_CPU=n, we don't need them to be present

Re: [PATCH][bugzilla #8679] therm_throt.c: Fix section mismatch

2007-08-20 Thread Andrew Morton
On Tue, 21 Aug 2007 10:07:31 +0530 (IST) Satyam Sharma <[EMAIL PROTECTED]> wrote: > > WARNING: arch/i386/kernel/built-in.o(.data+0x2148): Section mismatch: > reference > to .init.text: (between 'thermal_throttle_cpu_notifier' and 'mtrr_mutex') > > comes because struct notifier_block

Re: [PATCH 0/3] x86_64 EFI runtime service support

2007-08-20 Thread Huang, Ying
On Mon, 2007-08-20 at 20:54 -0700, H. Peter Anvin wrote: > Huang, Ying wrote: > > > > I think the "next" field can be u32 instead of u64. Because the linked > > list of struct setup_data is prepared by bootloader, which can control > > the memory location. > > > > That's making some pretty

Re: [linux-usb-devel] [4/4] 2.6.23-rc3: known regressions

2007-08-20 Thread David Brownell
On Monday 20 August 2007, Linus Torvalds wrote: > > On Mon, 20 Aug 2007, David Brownell wrote: > > > > MMF basically means the "Transaction Translating" (TT) hub had data > > for the host, but the host didn't collect it in time ... so that some > > data was lost. > > > > Unfortunately, that's

Re: Linux 2.6.22.4

2007-08-20 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index bc2d377..f2a62ee 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ VERSION = 2 PATCHLEVEL = 6 SUBLEVEL = 22 -EXTRAVERSION = .3 +EXTRAVERSION = .4 NAME = Holy Dancing Manatees, Batman! # *DOCUMENTATION* diff --git a/fs/exec.c b/fs/exec.c index

Linux 2.6.22.4

2007-08-20 Thread Greg Kroah-Hartman
We (the -stable team) are announcing the release of the 2.6.22.4 kernel. It contains one security fix and all users of the 2.6.22 series are encouraged to upgrade to it. I'll also be replying to this message with a copy of the patch between 2.6.22.3 and 2.6.22.4 The updated 2.6.22.y git tree can

[PATCH] alsa: replace calls to sys_* with filp_open and vfs_read

2007-08-20 Thread Eugene Teo
This patch replaces calls to sys_* with filp_open and vfs_read. And since this is the last driver in the kernel that uses sys_{read,close}, it kills the exports as well. sys_open is left exported for sparc64 only. Cc: Takashi Iwai <[EMAIL PROTECTED]> Signed-off-by: Eugene Teo <[EMAIL PROTECTED]>

Re: [linux-usb-devel] [4/4] 2.6.23-rc3: known regressions

2007-08-20 Thread David Brownell
[ GRR sorry for the premature "SEND" ... mouspads-r-evil ] On Monday 20 August 2007, Linus Torvalds wrote: > > On Mon, 20 Aug 2007, David Brownell wrote: > > > On Monday 13 August 2007, Michal Piotrowski wrote: > > > Subject         : EHCI Regression in 2.6.23-rc2 > > > References      :

[PATCH][bugzilla #8679] therm_throt.c: Fix section mismatch

2007-08-20 Thread Satyam Sharma
WARNING: arch/i386/kernel/built-in.o(.data+0x2148): Section mismatch: reference to .init.text: (between 'thermal_throttle_cpu_notifier' and 'mtrr_mutex') comes because struct notifier_block thermal_throttle_cpu_notifier in arch/i386/kernel/cpu/mcheck/therm_throt.c goes in .data section but the

RE: [ofa-general] Re: [PATCH RFC] RDMA/CMA: Allocate PS_TCPportsfrom the host TCP port space.

2007-08-20 Thread Felix Marti
> -Original Message- > From: Patrick Geoffray [mailto:[EMAIL PROTECTED] > Sent: Monday, August 20, 2007 1:34 PM > To: Felix Marti > Cc: Evgeniy Polyakov; David Miller; [EMAIL PROTECTED]; > [EMAIL PROTECTED]; [EMAIL PROTECTED]; > [EMAIL PROTECTED]; linux-kernel@vger.kernel.org; > [EMAIL

Re: [patch 04/11] Kprobes - declare kprobe_mutex static

2007-08-20 Thread Ananth N Mavinakayanahalli
On Mon, Aug 20, 2007 at 04:19:06PM -0400, Mathieu Desnoyers wrote: > Since it will not be used by other kernel objects, it makes sense to declare > it > static. > > Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]> Acked-by: Ananth N Mavinakayanahalli <[EMAIL PROTECTED]> > CC: [EMAIL

Re: [linux-usb-devel] [4/4] 2.6.23-rc3: known regressions

2007-08-20 Thread Linus Torvalds
On Mon, 20 Aug 2007, David Brownell wrote: > > MMF basically means the "Transaction Translating" (TT) hub had data > for the host, but the host didn't collect it in time ... so that some > data was lost. > > Unfortunately, that's the type of fault that's especially hard to > recover from.

Re: [patch 02/11] Kprobes - use a mutex to protect the instruction pages list.

2007-08-20 Thread Ananth N Mavinakayanahalli
On Mon, Aug 20, 2007 at 04:19:04PM -0400, Mathieu Desnoyers wrote: > Protect the instruction pages list by a specific insn pages mutex, called in > get_insn_slot() and free_insn_slot(). It makes sure that architectures that > does > not need to call arch_remove_kprobe() does not take an unneeded

Re: [patch 03/11] Kprobes - do not use kprobes mutex in arch code

2007-08-20 Thread Ananth N Mavinakayanahalli
On Mon, Aug 20, 2007 at 04:19:05PM -0400, Mathieu Desnoyers wrote: > Remove the kprobes mutex from kprobes.h, since it does not belong there. Also > remove all use of this mutex in the architecture specific code, replacing it > by > a proper mutex lock/unlock in the architecture agnostic code. >

Re: resume from ram much slower

2007-08-20 Thread Len Brown
> Starting 1-2 weeks ago I have very long resume from > ram times. It takes more than 1 min to resume. Do you see any difference with "pnpacpi=off"? thanks, -Len - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More

[BUG]: posix timer: slab error 'double free'

2007-08-20 Thread taoyue
Hi everyone: A posix timer race condition is found in current kernel source tree. Jeremy has actually reported the same problem. I write a simple stress test program for posix timer subsystem, to reproduce the problem in the lastest mainline kernel. My test program creates 200 threads, and

Re: [linux-usb-devel] [4/4] 2.6.23-rc3: known regressions

2007-08-20 Thread David Brownell
On Monday 20 August 2007, Linus Torvalds wrote: > > On Mon, 20 Aug 2007, David Brownell wrote: > > > On Monday 13 August 2007, Michal Piotrowski wrote: > > > Subject         : EHCI Regression in 2.6.23-rc2 > > > References      : http://lkml.org/lkml/2007/8/10/81 > > > Last known good : ?

Re: [PATCH 0/3] x86_64 EFI runtime service support

2007-08-20 Thread H. Peter Anvin
Huang, Ying wrote: > > I think the "next" field can be u32 instead of u64. Because the linked > list of struct setup_data is prepared by bootloader, which can control > the memory location. > That's making some pretty serious assumptions on future boot loaders and environments. > Previously, I

Re: [PATCH] Send exit code through for taskstats.ac_exitcode

2007-08-20 Thread Balbir Singh
Jonathan Lim wrote: > taskstats.ac_exitcode is assigned to task_struct.exit_code in bacct_add_tsk() > through the following kernel function calls: > > do_exit() > taskstats_exit_send() > fill_pid() > bacct_add_tsk() > > The problem is that in do_exit(), task_struct.exit_code

How Linux /proc filesystem convert a fd to the actual pathname?

2007-08-20 Thread Xin Zhao
Hi, In the Linux proc filesystem, /proc/[pid]/fd is a link to the actually the actual pathname of the opened file. I am curious how Linux convert an fd to the pathname? Does it recursively walk back from current dentry to the root? Can someone point me to the right place in the kernel where

[PATCH] scripts/get_maintainer.pl

2007-08-20 Thread Joe Perches
Find maintainer info for a patch or a file Changes since last submission: (in for a penny...) Might as well do them all. Added --status - Print the status information Added --subsystem - Print the subsystem title Signed-off-by: Joe Perches <[EMAIL PROTECTED]> diff --git

Re: gitstat 0.1: kernel development statistics / monitoring system

2007-08-20 Thread Jakub Narebski
jungseung lee wrote: > We are pleased to announce the release of gitstat 0.1. > > Gitstat is a GPL'd, web-based git statistics/monitoring system. I have added information about gitstat to git wiki: http://git.or.cz/gitwiki/InterfacesFrontendsAndTools#gitstat Please check if the information

[PATCH] Send exit code through for taskstats.ac_exitcode

2007-08-20 Thread Jonathan Lim
taskstats.ac_exitcode is assigned to task_struct.exit_code in bacct_add_tsk() through the following kernel function calls: do_exit() taskstats_exit_send() fill_pid() bacct_add_tsk() The problem is that in do_exit(), task_struct.exit_code is set to 'code' only after

Re: [linux-usb-devel] [4/4] 2.6.23-rc3: known regressions

2007-08-20 Thread Linus Torvalds
On Mon, 20 Aug 2007, David Brownell wrote: > On Monday 13 August 2007, Michal Piotrowski wrote: > > Subject         : EHCI Regression in 2.6.23-rc2 > > References      : http://lkml.org/lkml/2007/8/10/81 > > Last known good : ? > > Submitter       : Daniel Exner <[EMAIL PROTECTED]> >

Re: NFS hang + umount -f: better behaviour requested.

2007-08-20 Thread Salah Coronya
Robin Lee Powell digitalkingdom.org> writes: > > Though I agree that it would be nice if we could convince all > > subsequent requests to a server to fail EIO instead of just the > > currently active ones. I'm not sure that just changing "umount > > -f" is the right interface though Maybe

Re: [PATCH 0/3] x86_64 EFI runtime service support

2007-08-20 Thread Huang, Ying
On Mon, 2007-08-20 at 10:12 -0700, H. Peter Anvin wrote: > Huang, Ying wrote: > >> > >> I propose that, in addition to the aforementioned version number and > >> magic fields, we add a pointer, which should be the last pointer added > >> that doesn't point into I/O space or reserved memory (i.e.

Re: [linux-usb-devel] [4/4] 2.6.23-rc3: known regressions

2007-08-20 Thread David Brownell
On Monday 13 August 2007, Michal Piotrowski wrote: > Subject         : EHCI Regression in 2.6.23-rc2 > References      : http://lkml.org/lkml/2007/8/10/81 > Last known good : ? > Submitter       : Daniel Exner <[EMAIL PROTECTED]> > Caused-By       : [EMAIL PROTECTED] <[EMAIL PROTECTED]> >          

Re: [PATCH 002 of 6] Introduce rq_for_each_segment replacing rq_for_each_bio

2007-08-20 Thread Satyam Sharma
Hi Geert, On Mon, 20 Aug 2007, Geert Uytterhoeven wrote: > On Sat, 18 Aug 2007, Satyam Sharma wrote: > > On Sat, 18 Aug 2007, Jan Engelhardt wrote: > > > On Aug 18 2007 20:07, Satyam Sharma wrote: > > > >On Fri, 17 Aug 2007, Geert Uytterhoeven wrote: > > > >> On Thu, 16 Aug 2007, NeilBrown

Re: [accounting regression since rc1] scheduler updates

2007-08-20 Thread Andi Kleen
Ingo Molnar <[EMAIL PROTECTED]> writes: You should just be using idle notifiers instead instead of adding more and more custom hooks (like NOHZ has already) x86-64 still has them and there is a old patch around to add them to i386. -Andi - To unsubscribe from this list: send the line

Re: [ofa-general] Re: [PATCH RFC] RDMA/CMA: Allocate PS_TCP ports from the host TCP port space.

2007-08-20 Thread Roland Dreier
[TSO / LRO discussion snipped -- it's not the main point so no sense spending energy arguing about it] > Just be realistic and accept that RDMA is a point in time solution, > and like any other such technology takes flexibility away from users. > > Horizontal scaling of cpus up to huge arity

Re: [RFC 7/7] Switch of PF_MEMALLOC during writeout

2007-08-20 Thread Andi Kleen
> Right. I am not sure exactly how to handle that. There is also the issue > of the writes being deferred. I thought maybe of using pdflush to writeout > the pages? Maybe increase priority of the pdflush so that it runs > immediately when notified. Shrink_page_list would gather the dirty pages

BUG: unable to handle kernel NULL pointer dereference - linux-2.6.22

2007-08-20 Thread poison
Hello, after running a few instances of bittorent-curses on 2.6.22 - 2.6.22.3 it takes about 15min to 2hrs for my System to hang. 2.6.21.7 is definately fine, 2.6.21 probably (ran for 4hrs without hanging). If I'm lucky the Oops below makes it to my syslog (unfortunately SysRq-{p,s,i} doesn't

[PATCH] Console keyboard events and accessibility

2007-08-20 Thread Samuel Thibault
Some external modules like Speakup need to use the PC keyboard to control them and also need to get keyboard feedback (caps lock status, etc.) This adds a keyboard notifier that such modules can use to get the keyboard events and possibly eat them, at several stages: - keycodes: even before

[PATCH] dio: zero struct dio with kzalloc instead of manually

2007-08-20 Thread Zach Brown
This patch uses kzalloc to zero all of struct dio rather than manually trying to track which fields we rely on being zero. It passed aio+dio stress testing and some bug regression testing on ext3. This patch was introduced by Linus in the conversation that lead up to Badari's minimal fix to

Re: [patch 1/4] Linux Kernel Markers - Architecture Independent Code

2007-08-20 Thread Rusty Russell
On Mon, 2007-08-20 at 16:27 -0400, Mathieu Desnoyers wrote: > The marker activation functions sits in kernel/marker.c. A hash table is used > to keep track of the registered probes and armed markers, so the markers > within > a newly loaded module that should be active can be activated at module

Re: [RFC 2/9] Use NOMEMALLOC reclaim to allow reclaim if PF_MEMALLOC is set

2007-08-20 Thread Nick Piggin
On Mon, Aug 20, 2007 at 11:14:08PM +0200, Peter Zijlstra wrote: > On Mon, 2007-08-20 at 13:27 -0700, Christoph Lameter wrote: > > On Mon, 20 Aug 2007, Peter Zijlstra wrote: > > > > > > Plus the same issue can happen today. Writes are usually not completed > > > > during reclaim. If the writes

[PATCH] 10-dots braille keyboards

2007-08-20 Thread Samuel Thibault
Hi, Some braille keyboards have 10 dots, so extend the Input braille keys definitions. Signed-off-by: Samuel Thibault <[EMAIL PROTECTED]> diff --git a/include/linux/input.h b/include/linux/input.h index e02c6a6..17df5a7 100644 --- a/include/linux/input.h +++ b/include/linux/input.h @@ -552,6

[PATCH] kconfig: add *_silentdefconfig feature for config targets

2007-08-20 Thread Andres Salomon
Being able to run 'silentoldconfig' with an existing .config has been immensely useful, especially for automated builds. If the kernel code changes in an incompatible manner without the associated .config being updated, the build will fail and call attention to the need for an update. AFAICT,

Re: [RFC 0/3] Recursive reclaim (on __PF_MEMALLOC)

2007-08-20 Thread Nick Piggin
On Mon, Aug 20, 2007 at 12:15:01PM -0700, Christoph Lameter wrote: > On Mon, 20 Aug 2007, Peter Zijlstra wrote: > > > > > <> What Christoph is proposing is doing recursive reclaim and not > > > > initiating writeout. This will only work _IFF_ there are clean pages > > > > about. Which in the

Re: [RFC 0/3] Recursive reclaim (on __PF_MEMALLOC)

2007-08-20 Thread Nick Piggin
On Mon, Aug 20, 2007 at 05:51:34AM +0200, Peter Zijlstra wrote: > On Thu, 2007-08-16 at 05:29 +0200, Nick Piggin wrote: > > Well perhaps it doesn't work for networked swap, because dirty accounting > > doesn't work the same way with anonymous memory... but for _filesystems_, > > right? > > > > I

Re: [PATCH 0/24] make atomic_read() behave consistently across all architectures

2007-08-20 Thread Paul E. McKenney
On Tue, Aug 21, 2007 at 01:02:01AM +0200, Segher Boessenkool wrote: > >>And no, RMW on MMIO isn't "problematic" at all, either. > >> > >>An RMW op is a read op, a modify op, and a write op, all rolled > >>into one opcode. But three actual operations. > > > >Maybe for some CPUs, but not all. ARM

Re: [patch 2/2] Sort module list by pointer address to get coherent sleepable seq_file iterators

2007-08-20 Thread Rusty Russell
On Mon, 2007-08-20 at 16:26 -0400, Mathieu Desnoyers wrote: > plain text document attachment (module.c-sort-module-list.patch) > A race that appears both in /proc/modules and in kallsyms: if, between the > seq file reads, the process is put to sleep and at this moment a module is > or removed from

[PATCH] scripts/get_maintainer.pl

2007-08-20 Thread Joe Perches
Find maintainer info for a patch or a file Changes since last submission: Added -f to search for the maintainer for a specific file Added --scm - Print the S: information Added --web - Print the W: information Added die message "git not found. Add --nogit to options" Changed git log tracking

[patch 21/23] Add cmpxchg_local to sparc64 (update)

2007-08-20 Thread Mathieu Desnoyers
Add cmpxchg_local to sparc64 Use cmpxchg_u32 and cmpxchg_u64 for cmpxchg_local and cmpxchg64_local. For other type sizes, use the new generic cmpxchg_local (disables interrupt). Change: * Julian Calaby ([EMAIL PROTECTED]) wrote: > Shouldn't #includes go at the start of the file? > Since the

Re: [patch 21/23] Add cmpxchg_local to sparc64

2007-08-20 Thread Julian Calaby
On 8/21/07, Christoph Lameter <[EMAIL PROTECTED]> wrote: > On Tue, 21 Aug 2007, Julian Calaby wrote: > > > >}) > > > > > > +#include > > > > Shouldn't #includes go at the start of the file? > > Most of the timee but there are exceptions. As with most things =) However, in the context of

Re: [patch 21/23] Add cmpxchg_local to sparc64

2007-08-20 Thread Christoph Lameter
On Tue, 21 Aug 2007, Julian Calaby wrote: > >}) > > > > +#include > > Shouldn't #includes go at the start of the file? Most of the timee but there are exceptions. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More

Re: [patch 21/23] Add cmpxchg_local to sparc64

2007-08-20 Thread Julian Calaby
On 8/21/07, Mathieu Desnoyers <[EMAIL PROTECTED]> wrote: > Use cmpxchg_u32 and cmpxchg_u64 for cmpxchg_local and cmpxchg64_local. For > other > type sizes, use the new generic cmpxchg_local (disables interrupt). > > Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]> > CC: [EMAIL PROTECTED] >

Re: NFS hang + umount -f: better behaviour requested.

2007-08-20 Thread Robin Lee Powell
On Tue, Aug 21, 2007 at 09:27:06AM +1000, Neil Brown wrote: > On Monday August 20, [EMAIL PROTECTED] wrote: > > (cc's to me appreciated) > > > > It would be really, really nice if "umount -f" against a hung > > NFS mount actually worked on Linux. As much as I hate Solaris, > > I consider it the

Re: [PATCH 0/4] Virtual Machine Time Accounting

2007-08-20 Thread Rusty Russell
On Mon, 2007-08-20 at 09:13 -0700, Jeremy Fitzhardinge wrote: > Laurent Vivier wrote: > > functionnalities: > > > > - allow to measure time spent by a CPU in a virtual CPU. > > - allow to display in /proc/state this value by CPU > > - allow to display in /proc//state this value by process > > -

Re: NFS hang + umount -f: better behaviour requested.

2007-08-20 Thread Neil Brown
On Monday August 20, [EMAIL PROTECTED] wrote: > (cc's to me appreciated) > > It would be really, really nice if "umount -f" against a hung NFS > mount actually worked on Linux. As much as I hate Solaris, I > consider it the gold standard in this case: If I say > "umount -f /mount/that/is/hung"

RE: [PATCH -mm] IOAT: fix for UP use of cpu_physical_id()

2007-08-20 Thread Nelson, Shannon
>-Original Message- >From: H. Peter Anvin [mailto:[EMAIL PROTECTED] >Sent: Monday, August 20, 2007 3:27 PM >To: Nelson, Shannon >Cc: [EMAIL PROTECTED]; linux-kernel@vger.kernel.org; >[EMAIL PROTECTED]; [EMAIL PROTECTED]; Luck, Tony >Subject: Re: [PATCH -mm] IOAT: fix for UP use of

Re: 2.6.23-rc3-hrt2: tasklets replaced by workqueues?

2007-08-20 Thread Stefan Richter
I wrote: > I've got a driver bug filed against 2.6.23-rc3-hrt2 with an oops beneath > run_workqueue. It looks a lot like another bug in mainline with a panic > beneath run_timer_softirq. Does -hrt replace tasklets by workqueues? > > http://bugzilla.kernel.org/show_bug.cgi?id=8906 >

Re: [RFC 7/7] Switch of PF_MEMALLOC during writeout

2007-08-20 Thread Christoph Lameter
On Mon, 21 Aug 2007, Andi Kleen wrote: > Christoph Lameter <[EMAIL PROTECTED]> writes: > > > Switch off PF_MEMALLOC during both direct and kswapd reclaim. > > > > This works because we are not holding any locks at that point because > > reclaim is essentially complete. The write occurs when the

Re: [accounting regression since rc1] scheduler updates

2007-08-20 Thread Paul Mackerras
Ingo Molnar writes: > We seem to agree wrt. sched_clock()'s behavior while the virtual CPU is > busy: sched_clock() very much wants to track virtual time. (real time is > pretty much meaningless and coupling sched_clock() to real time would > make the virtual machine's behavior dependent on

Re: [POWERPC] Fix for assembler -g

2007-08-20 Thread Paul Mackerras
Roland McGrath writes: > Hmm. Check the V=1 make output to see that the lparmap.c really got the -g0. > The log says it didn't. Oops! It looks like the patch that got committed is > the one that sets CFLAGS_lparmap.s, but really it needs to set > CFLAGS_lparmap.o instead (go kbuild). Did I

Re: [PATCH 0/24] make atomic_read() behave consistently across all architectures

2007-08-20 Thread Segher Boessenkool
And no, RMW on MMIO isn't "problematic" at all, either. An RMW op is a read op, a modify op, and a write op, all rolled into one opcode. But three actual operations. Maybe for some CPUs, but not all. ARM for instance can't use the load exclusive and store exclusive instructions to MMIO

Macbook bug after suspend to disk

2007-08-20 Thread Lionel Landwerlin
I'm using 2.6.22.1 on my macbook (32bits). I had got this trace a few hours after a suspend to disk. I never got this kind of trace without suspend. I will try to reproduce with 2.6.22.3. Here is the trace : Aug 20 14:14:23 cocoduo kernel: kernel BUG at mm/slab.c:2980! Aug 20 14:14:23 cocoduo

[patch 14/14] Convert from class_device to device for ISDN capi

2007-08-20 Thread tonyj
-- Content-Disposition: inline; filename=isdn-capi.patch Convert from class_device to device for drivers/isdn/capi. This is part of the work to eliminate struct class_device. --- drivers/isdn/capi/capi.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---

NFS hang + umount -f: better behaviour requested.

2007-08-20 Thread Robin Lee Powell
(cc's to me appreciated) It would be really, really nice if "umount -f" against a hung NFS mount actually worked on Linux. As much as I hate Solaris, I consider it the gold standard in this case: If I say "umount -f /mount/that/is/hung" it just goes away, immediately, and anything still trying

Re: SLUB bug on sparc64

2007-08-20 Thread David Miller
From: Christoph Lameter <[EMAIL PROTECTED]> Date: Mon, 20 Aug 2007 11:34:52 -0700 (PDT) > On Fri, 17 Aug 2007, David Miller wrote: > > > When I force SLUB debugging on sparc64, it barfs on early bootup while > > making the sysfs nodes. Removing the BUG()'s on the sysfs error > > returns, and

[patch 12/14] Convert from class_device to device for TI flash media

2007-08-20 Thread tonyj
-- Content-Disposition: inline; filename=misc.patch Convert from class_device to device for drivers/misc/tifm. This is part of the work to eliminate struct class_device. --- drivers/misc/tifm_7xx1.c |4 ++-- drivers/misc/tifm_core.c | 24 include/linux/tifm.h

[patch 13/14] Convert from class_device to device for UCB1x00

2007-08-20 Thread tonyj
-- Content-Disposition: inline; filename=mfd.patch Convert from class_device to device for drivers/mfd/ucb1x00. This is part of the work to eliminate struct class_device. --- drivers/mfd/ucb1x00-assabet.c | 17 + drivers/mfd/ucb1x00-core.c| 14 +++---

[patch 10/14] Convert from class_device to device for USB core

2007-08-20 Thread tonyj
-- Content-Disposition: inline; filename=usb-core.patch Convert from class_device to device for drivers/ide/usb/core. Greg, not sure if you're looking for a patch for this. Kay mentioned maybe it was to be superceded by a diff mechanism. Free free to drop if so. --- drivers/usb/core/hcd.c |

[patch 11/14] Convert from class_device to device for USB host

2007-08-20 Thread tonyj
-- Content-Disposition: inline; filename=usb-host.patch Convert from class_device to device for drivers/ide/usb/host. Greg, not sure if you're looking for a patch for this. Kay mentioned maybe it was to be superceded by a diff mechanism. Free free to drop if so. Thanks! ---

[patch 07/14] Convert from class_device to device for IDE/ide-tape

2007-08-20 Thread tonyj
-- Content-Disposition: inline; filename=ide.patch Convert from class_device to device for drivers/drivers/ide/ide-tape. This is part of the work to eliminate struct class_device. --- drivers/ide/ide-tape.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) ---

[patch 08/14] Convert from class_device to device for DMA engine

2007-08-20 Thread tonyj
-- Content-Disposition: inline; filename=dma.patch Convert from class_device to device for drivers/dma/dmaengine. This is part of the work to eliminate struct class_device. --- drivers/dma/dmaengine.c | 43 ++- include/linux/dmaengine.h |3 ++-

[patch 09/14] Convert from class_device to device for SPI

2007-08-20 Thread tonyj
-- Content-Disposition: inline; filename=spi.patch Convert from class_device to device for drivers/spi. This is part of the work to eliminate struct class_device. --- drivers/spi/spi.c | 36 ++-- drivers/spi/spi_bitbang.c |2 +-

[patch 05/14] Convert from class_device to device for cosa sync driver

2007-08-20 Thread tonyj
-- Content-Disposition: inline; filename=wan.patch Convert from class_device to device for drivers/net/wan/cosa. This is part of the work to eliminate struct class_device. --- drivers/net/wan/cosa.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) --- a/drivers/net/wan/cosa.c

[patch 06/14] Convert from class_device to device for MTD/mtdchar

2007-08-20 Thread tonyj
-- Content-Disposition: inline; filename=mtd.patch Convert from class_device to device for drivers/mtd/mtdchar. This is part of the work to eliminate struct class_device. --- drivers/mtd/mtdchar.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) ---

[patch 03/14] Convert from class_device to device for block/aoechr

2007-08-20 Thread tonyj
-- Content-Disposition: inline; filename=aoechr.patch Convert from class_device to device for block/aoechr. This is part of the work to eliminate struct class_device. --- drivers/block/aoe/aoechr.c |7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) ---

[patch 04/14] Convert from class_device to device for drivers/macintosh

2007-08-20 Thread tonyj
-- Content-Disposition: inline; filename=macintosh.patch Convert from class_device to device for macintosh. This is part of the work to eliminate struct class_device. --- drivers/macintosh/adb.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/macintosh/adb.c +++

[patch 01/14] Convert from class_device to device for block/paride

2007-08-20 Thread tonyj
-- Content-Disposition: inline; filename=paride.patch Convert from class_device to device for block/paride. This is part of the work to eliminate struct class_device. Signed-off-by: Tony Jones <[EMAIL PROTECTED]> --- drivers/block/paride/pg.c |6 +++--- drivers/block/paride/pt.c | 12

[patch 02/14] Convert from class_device to device for block/pktcdvd

2007-08-20 Thread tonyj
-- Content-Disposition: inline; filename=block.patch Convert from class_device to device for block/pktcdvd. --- drivers/block/pktcdvd.c | 16 +++- include/linux/pktcdvd.h |2 +- 2 files changed, 8 insertions(+), 10 deletions(-) --- a/drivers/block/pktcdvd.c +++

[patch 00/14] More patches to convert from struct class_device to struct device

2007-08-20 Thread tonyj
-- [patch 01/14] block/paride [patch 02/14] block/pktcdvd [patch 03/14] block/aoechr [patch 04/14] drivers/macintosh [patch 05/14] cosa sync driver [patch 06/14] MTD/mtdchar [patch 07/14] IDE/ide-tape [patch 08/14] DMA engine [patch 09/14] SPI [patch 10/14] USB core [patch 11/14] USB host [patch

Re: [PATCH 1/1] ensure we don't use bootconsoles after init has been released

2007-08-20 Thread Paul Mundt
On Mon, Aug 20, 2007 at 03:22:47PM -0400, Robin Getz wrote: > Try #4... (sorry) > > From: Robin Getz <[EMAIL PROTECTED]> > > This is a followup to the cleanups for earlyprintk patch from Gerd Hoffmann > >

Re: [PATCH 0/24] make atomic_read() behave consistently across all architectures

2007-08-20 Thread Russell King
On Tue, Aug 21, 2007 at 12:04:17AM +0200, Segher Boessenkool wrote: > And no, RMW on MMIO isn't "problematic" at all, either. > > An RMW op is a read op, a modify op, and a write op, all rolled > into one opcode. But three actual operations. Maybe for some CPUs, but not all. ARM for instance

Re: [POWERPC] Fix for assembler -g

2007-08-20 Thread Segher Boessenkool
But there is no lparmap.o! lparmap.s is the generated file. Yeah, tell that to scripts/Makefile.lib: _c_flags = $(CFLAGS) $(EXTRA_CFLAGS) $(CFLAGS_$(basetarget).o) What would do what a person expects is $(CFLAGS_$(@F)), I think. Looks good to me. Sam? We wanted to set

Re: [patch 01/23] Fall back on interrupt disable in cmpxchg8b on 80386 and 80486

2007-08-20 Thread Mathieu Desnoyers
* Christoph Lameter ([EMAIL PROTECTED]) wrote: > @@ -1638,18 +1668,26 @@ static void __always_inline slab_free(st > struct page *page, void *x, void *addr) > { > void **object = (void *)x; > - unsigned long flags; > + void **freelist; > struct

Re: [POWERPC] Fix for assembler -g

2007-08-20 Thread Segher Boessenkool
In a way though, good thing, or mainline would have continued to be broken :) What do I need to do to see this bug, btw? A special config symbol perhaps? CONFIG_DEBUG_INFO=y and pass-g-to-assembler-under-config_debug_info.patch from -mm Ah, an -mm patch. Gotcha. The fix most likely won't

Re: [PATCH -mm] IOAT: fix for UP use of cpu_physical_id()

2007-08-20 Thread H. Peter Anvin
Shannon Nelson wrote: > Make sure we can use cpu_physical_id() even when compiled for > uni-processor. > > diff --git a/drivers/dma/ioat_dca.c b/drivers/dma/ioat_dca.c > index c3a500b..b1af49c 100644 > --- a/drivers/dma/ioat_dca.c > +++ b/drivers/dma/ioat_dca.c > @@ -25,6 +25,14 @@ > #include >

Re: CFS review

2007-08-20 Thread Roman Zippel
Hi, On Sat, 11 Aug 2007, Ingo Molnar wrote: > the only relevant thing that comes to mind at the moment is that last > week Peter noticed a buggy aspect of sleeper bonuses (in that we do not > rate-limit their output, hence we 'waste' them instead of redistributing > them), and i've got the

Re: [PATCH 0/24] make atomic_read() behave consistently across all architectures

2007-08-20 Thread Segher Boessenkool
Such code generally doesn't care precisely when it gets the update, just that the update is atomic, and it doesn't loop forever. Yes, it _does_ care that it gets the update _at all_, and preferably as early as possible. Regardless, I'm convinced we just need to do it all in assembly. So do

Re: [RFC 7/7] Switch of PF_MEMALLOC during writeout

2007-08-20 Thread Andi Kleen
Christoph Lameter <[EMAIL PROTECTED]> writes: > Switch off PF_MEMALLOC during both direct and kswapd reclaim. > > This works because we are not holding any locks at that point because > reclaim is essentially complete. The write occurs when the memory on > the zones is at the high water mark so

Re: [PATCH 0/24] make atomic_read() behave consistently across all architectures

2007-08-20 Thread Segher Boessenkool
Right. ROTFL... volatile actually breaks atomic_t instead of making it safe. x++ becomes a register load, increment and a register store. Without volatile we can increment the memory directly. It seems that volatile requires that the variable is loaded into a register first and then operated

Re: [patch 01/23] Fall back on interrupt disable in cmpxchg8b on 80386 and 80486

2007-08-20 Thread Christoph Lameter
On Mon, 20 Aug 2007, Mathieu Desnoyers wrote: > * Christoph Lameter ([EMAIL PROTECTED]) wrote: > > On Mon, 20 Aug 2007, Mathieu Desnoyers wrote: > > > > > I'm digging in the slub with cmpxchg_local patch... first detail: > > > slab_alloc seems to have a return path that does not reenable > > >

Re: [linux-usb-devel] [4/4] 2.6.23-rc3: known regressions v2

2007-08-20 Thread Greg KH
On Mon, Aug 20, 2007 at 04:52:47PM -0400, Alan Stern wrote: > On Mon, 20 Aug 2007, Michal Piotrowski wrote: > > > Subject : USB-related oops in sysfs with linux > > v2.6.23-rc3-50-g28e8351 > > References : http://lkml.org/lkml/2007/8/15/144 > > Last known good : ? > > Submitter

Re: [patch 01/23] Fall back on interrupt disable in cmpxchg8b on 80386 and 80486

2007-08-20 Thread Mathieu Desnoyers
* Christoph Lameter ([EMAIL PROTECTED]) wrote: > On Mon, 20 Aug 2007, Mathieu Desnoyers wrote: > > > I'm digging in the slub with cmpxchg_local patch... first detail: > > slab_alloc seems to have a return path that does not reenable > > preemption... I'll keep you posted when I finish the

[RFC 7/7] Switch of PF_MEMALLOC during writeout

2007-08-20 Thread Christoph Lameter
Switch off PF_MEMALLOC during both direct and kswapd reclaim. This works because we are not holding any locks at that point because reclaim is essentially complete. The write occurs when the memory on the zones is at the high water mark so it is unlikely that writeout will get into trouble. If so

[RFC 5/7] Laundry handling for direct reclaim

2007-08-20 Thread Christoph Lameter
Direct reclaim collects a global laundry list in try_to_free_pages(). Pages are only written back after a reclaim pass is complete. Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]> --- mm/vmscan.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) Index:

[RFC 4/7] Pass laundry through shrink_inactive_list() and shrink_zone()

2007-08-20 Thread Christoph Lameter
Both functions are equipped with an additional laundry parameter that is then passed to shrink_page_list. Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]> --- mm/vmscan.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) Index: linux-2.6/mm/vmscan.c

[RFC 6/7] kswapd: Do laundry after reclaim

2007-08-20 Thread Christoph Lameter
Collect dirty pages and perform writeout when everything else is done. Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]> --- mm/vmscan.c |7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) Index: linux-2.6/mm/vmscan.c

[RFC 2/7] Move checks from pageout() to shrink_page_list

2007-08-20 Thread Christoph Lameter
This is necessary because we soon will do other things than calling pageout() from shrink_page_list(). Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]> --- mm/vmscan.c | 90 ++-- 1 file changed, 45 insertions(+), 45 deletions(-)

[RFC 3/7] shrink_page_list: Support isolating dirty pages on laundry list

2007-08-20 Thread Christoph Lameter
If a laundry list is specified then do not write out pages but put dirty pages on a laundry list for later processing. Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]> --- mm/vmscan.c | 23 ++- 1 file changed, 18 insertions(+), 5 deletions(-) Index:

  1   2   3   4   5   6   7   8   >