[PATCH 01/19] Unionfs: compile if debug is off

2007-10-01 Thread Erez Zadok
Signed-of-by: John Johansen [EMAIL PROTECTED] Signed-off-by: Erez Zadok [EMAIL PROTECTED] --- fs/unionfs/union.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/fs/unionfs/union.h b/fs/unionfs/union.h index 824bb67..7ce4771 100644 --- a/fs/unionfs/union.h +++

[PATCH 04/19] Unionfs: use consistent printk prefixes

2007-10-01 Thread Erez Zadok
Signed-off-by: Erez Zadok [EMAIL PROTECTED] --- fs/unionfs/inode.c |4 ++-- fs/unionfs/union.h |4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/fs/unionfs/inode.c b/fs/unionfs/inode.c index 021e206..ba85a67 100644 --- a/fs/unionfs/inode.c +++ b/fs/unionfs/inode.c @@

[PATCH 03/19] Unionfs: minor comment cleanups

2007-10-01 Thread Erez Zadok
Signed-off-by: Erez Zadok [EMAIL PROTECTED] --- fs/unionfs/lookup.c |2 +- fs/unionfs/mmap.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/unionfs/lookup.c b/fs/unionfs/lookup.c index 94e4c8e..53668d6 100644 --- a/fs/unionfs/lookup.c +++ b/fs/unionfs/lookup.c

[PATCH 07/19] Unionfs: remove unnecessary if condition

2007-10-01 Thread Erez Zadok
The condition is always true there. Signed-off-by: Erez Zadok [EMAIL PROTECTED] --- fs/unionfs/dirfops.c | 10 -- 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/fs/unionfs/dirfops.c b/fs/unionfs/dirfops.c index 200fb55..da0fcdb 100644 --- a/fs/unionfs/dirfops.c +++

[PATCH 08/19] Unionfs: use page_offset() helper

2007-10-01 Thread Erez Zadok
Signed-off-by: Erez Zadok [EMAIL PROTECTED] --- fs/unionfs/mmap.c |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/fs/unionfs/mmap.c b/fs/unionfs/mmap.c index cf9545e..8928e99 100644 --- a/fs/unionfs/mmap.c +++ b/fs/unionfs/mmap.c @@ -179,8 +179,7 @@ static int

[PATCH 05/19] Unionfs: use UNIONFS_NAME macro

2007-10-01 Thread Erez Zadok
Signed-off-by: Erez Zadok [EMAIL PROTECTED] --- fs/unionfs/debug.c |2 +- fs/unionfs/main.c |4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/unionfs/debug.c b/fs/unionfs/debug.c index b103eb9..da82a47 100644 --- a/fs/unionfs/debug.c +++ b/fs/unionfs/debug.c @@

[PATCH 11/19] Unionfs: add missing newlines in printk's

2007-10-01 Thread Erez Zadok
Signed-off-by: Erez Zadok [EMAIL PROTECTED] --- fs/unionfs/main.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/unionfs/main.c b/fs/unionfs/main.c index 5c7f672..185ddb8 100644 --- a/fs/unionfs/main.c +++ b/fs/unionfs/main.c @@ -175,7 +175,7 @@ skip:

[PATCH 06/19] Unionfs: properly indent static struct

2007-10-01 Thread Erez Zadok
Signed-off-by: Erez Zadok [EMAIL PROTECTED] --- fs/unionfs/main.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/fs/unionfs/main.c b/fs/unionfs/main.c index 615617a..5c7f672 100644 --- a/fs/unionfs/main.c +++ b/fs/unionfs/main.c @@ -564,7 +564,10 @@ static struct

[PATCH 18/19] Unionfs: coding style: miscellaneous fixes

2007-10-01 Thread Erez Zadok
No braces around single-statement if's. No externs in .c files. use linux/mman.h not asm/mman.h. Use (foo *) not (foo*). Signed-off-by: Erez Zadok [EMAIL PROTECTED] --- fs/unionfs/rdstate.c |3 +-- fs/unionfs/super.c |3 +-- fs/unionfs/union.h |3 ++- fs/unionfs/xattr.c |6

[PATCH 17/19] Unionfs: coding style: avoid multiple assignments on same line

2007-10-01 Thread Erez Zadok
Signed-off-by: Erez Zadok [EMAIL PROTECTED] --- fs/unionfs/mmap.c |3 ++- fs/unionfs/super.c |9 ++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/fs/unionfs/mmap.c b/fs/unionfs/mmap.c index ac1a060..6440282 100644 --- a/fs/unionfs/mmap.c +++ b/fs/unionfs/mmap.c @@

[PATCH 14/19] Unionfs: use braces in both branches of conditionals

2007-10-01 Thread Erez Zadok
As per CodingStyle, if one branch of an if-then-else has braces because it has multiple statements, then the other branch should have braces too, even if the other branch has only one statement in it. Signed-off-by: Erez Zadok [EMAIL PROTECTED] --- fs/unionfs/commonfops.c |6 --

[PATCH 09/19] Unionfs: use pr_debug() instead of custom dprintk()

2007-10-01 Thread Erez Zadok
Also turn on DEBUG if CONFIG_UNION_FS_DEBUG is on Signed-off-by: Erez Zadok [EMAIL PROTECTED] --- fs/unionfs/Makefile |4 fs/unionfs/commonfops.c |4 ++-- fs/unionfs/dentry.c |6 +++--- fs/unionfs/lookup.c |2 +- fs/unionfs/union.h |6 +- 5 files

[PATCH 02/19] Unionfs: add un/likely on conditionals

2007-10-01 Thread Erez Zadok
Signed-off-by: Erez Zadok [EMAIL PROTECTED] --- fs/unionfs/commonfops.c | 34 +++--- fs/unionfs/copyup.c | 18 fs/unionfs/debug.c | 108 +-- fs/unionfs/dentry.c | 25 ++- fs/unionfs/dirfops.c|6 +-

[PATCH 12/19] Unionfs: update/assign a KERN_* level to all printk statements

2007-10-01 Thread Erez Zadok
Also use pr_info() instead of printk(KERN_INFO ...) Signed-off-by: Erez Zadok [EMAIL PROTECTED] --- fs/unionfs/commonfops.c |4 ++-- fs/unionfs/copyup.c |2 +- fs/unionfs/dentry.c | 18 +- fs/unionfs/file.c |7 --- fs/unionfs/inode.c | 16

[PATCH 13/19] Unionfs: remove periods from the end of printk strings

2007-10-01 Thread Erez Zadok
Signed-off-by: Erez Zadok [EMAIL PROTECTED] --- fs/unionfs/lookup.c |2 +- fs/unionfs/main.c |2 +- fs/unionfs/rename.c |4 ++-- fs/unionfs/super.c | 10 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/fs/unionfs/lookup.c b/fs/unionfs/lookup.c index

[PATCH 15/19] Unionfs: coding style: proper spacing

2007-10-01 Thread Erez Zadok
Signed-off-by: Erez Zadok [EMAIL PROTECTED] --- fs/unionfs/copyup.c |2 +- fs/unionfs/debug.c | 22 +++--- fs/unionfs/dentry.c |8 fs/unionfs/fanout.h |2 +- fs/unionfs/super.c | 14 +++--- fs/unionfs/union.h | 38

[PATCH 10/19] Unionfs: convert all appropriate printk's to pr_debug calls

2007-10-01 Thread Erez Zadok
Signed-off-by: Erez Zadok [EMAIL PROTECTED] --- fs/unionfs/commonfops.c | 14 ++-- fs/unionfs/debug.c | 248 +++--- fs/unionfs/union.h |8 +- 3 files changed, 134 insertions(+), 136 deletions(-) diff --git a/fs/unionfs/commonfops.c

Re: [git] CFS-devel, latest code

2007-10-01 Thread Mike Galbraith
On Sun, 2007-09-30 at 21:15 +0200, Dmitry Adamushko wrote: remove obsolete code -- calc_weighted() Here's another piece of low hanging obsolete fruit. Remove obsolete TASK_NONINTERACTIVE. Signed-off-by: Mike Galbraith [EMAIL PROTECTED] diff -uprNX /root/dontdiff

[PATCH 16/19] Unionfs: coding style: take assignments out of if conditions

2007-10-01 Thread Erez Zadok
Signed-off-by: Erez Zadok [EMAIL PROTECTED] --- fs/unionfs/commonfops.c | 12 fs/unionfs/copyup.c |9 ++--- fs/unionfs/dirfops.c|6 -- fs/unionfs/dirhelper.c |3 ++- fs/unionfs/file.c | 18 -- fs/unionfs/inode.c | 18

[PATCH 19/19] Unionfs: coding style: avoid lines longer than 80 chars

2007-10-01 Thread Erez Zadok
Signed-off-by: Erez Zadok [EMAIL PROTECTED] --- fs/unionfs/commonfops.c | 18 ++- fs/unionfs/debug.c | 80 +++--- fs/unionfs/dentry.c |3 +- fs/unionfs/dirfops.c|8 +++-- fs/unionfs/fanout.h |9 +++-- 5 files

Re: [git] CFS-devel, latest code

2007-10-01 Thread Ingo Molnar
* Mike Galbraith [EMAIL PROTECTED] wrote: On Sun, 2007-09-30 at 21:15 +0200, Dmitry Adamushko wrote: remove obsolete code -- calc_weighted() Here's another piece of low hanging obsolete fruit. Remove obsolete TASK_NONINTERACTIVE. Signed-off-by: Mike Galbraith [EMAIL PROTECTED]

Re: 2.6.21 - 2.6.22 2.6.23-rc8 performance regression

2007-10-01 Thread Eric Dumazet
Denys a écrit : Hi I got pi linux-git # git bisect bad Bisecting: 0 revisions left to test after this [f85958151900f9d30fa5ff941b0ce71eaa45a7de] [NET]: random functions can use nsec resolution instead of usec I will make sure and will try to reverse this patch on 2.6.22 But it seems

Re: [PATCH] PCI hotplug : Switch to pci_get_bus_and_slot instead of deprecated pci_find_slot.

2007-10-01 Thread Greg KH
On Mon, Oct 01, 2007 at 12:09:07PM +0900, JoonwooPark wrote: This patch fixes these warnings: drivers/pci/hotplug/cpqphp_pci.c: In function ???cpqhp_configure_device???: drivers/pci/hotplug/cpqphp_pci.c:92: warning: ???pci_find_slot??? is deprecated (declared at include/linux/pci.h:481)

Re: [git] CFS-devel, latest code

2007-10-01 Thread Ingo Molnar
* Dmitry Adamushko [EMAIL PROTECTED] wrote: here is a few patches on top of the recent 'sched-dev': (1) [ proposal ] make timeslices of SCHED_RR tasks constant and not dependent on task's static_prio; (2) [ cleanup ] calc_weighted() is obsolete, remove it; (3) [ refactoring ] make

Re: + sched-use-show_regs-to-improve-__schedule_bug-output.patch added to -mm tree

2007-10-01 Thread Ingo Molnar
* [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: The patch titled sched: Use show_regs() to improve __schedule_bug() output has been added to the -mm tree. Its filename is sched-use-show_regs-to-improve-__schedule_bug-output.patch [...] */ static noinline void

Re: 2.6.21 - 2.6.22 2.6.23-rc8 performance regression

2007-10-01 Thread Denys
Just a bit more details about hardware: Sun Fire X4100 (AMD Opteron 252), chipset looks like AMD-8111/AMD-8131 chips. There is no HPET detected, and by default acpi_pm used, which is seems more CPU intensive(based on oprofile results) than TSC. Choosing TSC over /sys doesn't make much

Re: checkpatch and kernel/sched.c

2007-10-01 Thread Ingo Molnar
(lkml Cc:-ed - this might be of interest to others too) * Andy Whitcroft [EMAIL PROTECTED] wrote: WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable #411: FILE: home/apw/git/linux-2.6/kernel/sched.c:408: +EXPORT_SYMBOL_GPL(cpu_clock); yes, this is a legit warning

Re: [patch] MTD: fix cfi_interleave() build errors

2007-10-01 Thread David Woodhouse
On Mon, 2007-10-01 at 07:01 +0200, Ingo Molnar wrote: * Ingo Molnar [EMAIL PROTECTED] wrote: FYI, the attached .config fails with the build errors below. Kernel is latest 2.6.23-git. Found via make randconfig. the quick fix below resolves these build failures. (i guess it might be

Re: 2.6.21 - 2.6.22 2.6.23-rc8 performance regression

2007-10-01 Thread David Miller
From: Eric Dumazet [EMAIL PROTECTED] Date: Mon, 01 Oct 2007 07:59:12 +0200 No problem here on bigger servers, so I CC David Miller and netdev on this one. AFAIK do_gettimeofday() and ktime_get_real() should use the same underlying hardware functions on PC and no performance problem should

A bit of kconfig rewrite (Re: [PATCH] 9p: fix compile error if !CONFIG_SYSCTL)

2007-10-01 Thread Oleg Verych
* Fri, 28 Sep 2007 11:12:51 -0600 On Thursday 27 September 2007, Nick Piggin wrote: On Saturday 29 September 2007 00:34, Linus Torvalds wrote: On Fri, 28 Sep 2007, Nick Piggin wrote: God I hate select. IMO a better implementation would result in a notification / confirmation of

Re: [patch] MTD: fix cfi_interleave() build errors

2007-10-01 Thread Ingo Molnar
* David Woodhouse [EMAIL PROTECTED] wrote: On Mon, 2007-10-01 at 07:01 +0200, Ingo Molnar wrote: * Ingo Molnar [EMAIL PROTECTED] wrote: FYI, the attached .config fails with the build errors below. Kernel is latest 2.6.23-git. Found via make randconfig. the quick fix below

Re: [RFC][PATCH 0/2] New API to change the IDs of an existing IPC

2007-10-01 Thread Pierre Peiffer
Michael Kerrisk a écrit : Hi Pierre, As I'm seeing some discussion/interest about IPC, I would like to propose these patches, which provide an easy way to change the ID of an exiting IPC. This work is done around the checkpoint/restart of applications. In the case of the

Re: [PATCH] blacklist NCQ on Seagate Barracuda ST380817AS

2007-10-01 Thread Paolo Ornati
On Sun, 30 Sep 2007 17:45:41 -0600 Robert Hancock [EMAIL PROTECTED] wrote: Are you sure this isn't just a bum drive? Looking at the SMART listing that was posted, looks like it's had some uncorrectable sector read errors in the event log.. Don't know. The error count is still 12 today, the

Re: [patch] MTD: fix cfi_interleave() build errors

2007-10-01 Thread David Woodhouse
On Mon, 2007-10-01 at 09:14 +0200, Ingo Molnar wrote: MTD is the only code in the tree at the moment that breaks make randconfig tests (after ~2000 random rebuilds) - and those tests _are_ immensely useful, they catch a lot of build breakage in the scheduler git tree for example, before i

[GIT PULL] XFS update for 2.6.23 - revert a commit

2007-10-01 Thread Tim Shimmin
Hi Linus, A problem has been found for the XFS commit b394e43e995d08821588a22561c6a71a63b4ff27 and it needs to be reverted. It has the potential for worse corruption than what it is meant to fix. Please pull from the for-linus branch: git pull git://oss.sgi.com:8090/xfs/xfs-2.6.git

Re: checkpatch and kernel/sched.c

2007-10-01 Thread Andrew Morton
On Mon, 1 Oct 2007 08:44:48 +0200 Ingo Molnar [EMAIL PROTECTED] wrote: (lkml Cc:-ed - this might be of interest to others too) * Andy Whitcroft [EMAIL PROTECTED] wrote: WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable #411: FILE:

Re: What's in linux-backlight.git for 2.6.24?

2007-10-01 Thread Richard Purdie
On Sun, 2007-09-30 at 19:43 -0700, Greg KH wrote: On Mon, Oct 01, 2007 at 12:52:07AM +0100, Richard Purdie wrote: I've become aware that I should be posting a merge plan, probably slightly earlier than this but better late than never. Can you post a diffstat too, so we get an idea of what

Re: checkpatch and kernel/sched.c

2007-10-01 Thread Avi Kivity
Andrew Morton wrote: this is actually a false positive - as the debug code constructs a printk output _without_ \n. So the script should check whether there's any \n in the printk string - if there is none, do not emit a warning. (if you implement that then i think it can remain a warning

Re: What's in linux-leds.git for 2.6.24?

2007-10-01 Thread Richard Purdie
On Mon, 2007-10-01 at 00:52 +0100, Richard Purdie wrote: The leds tree doesn't have much in it, basically some changes to the cobalt LED drivers. http://git.o-hand.com/?p=linux-rpurdie-leds;a=shortlog;h=for-mm Yoichi Yuasa (3): leds: Rename leds-cobalt driver leds: Add Cobalt

Re: software unplug and plug USB

2007-10-01 Thread Miguel
actually, I have a USB keyboard, could that be the problem? why? removing and adding modules doesn't solve my problem... The USB has several functions: modem and usb mass storage and only the storage one is recognized :( any thoughts? On Fri, 2007-09-28 at 14:17 +0200, Tomasz Chmielewski

Re: software unplug and plug USB

2007-10-01 Thread Tomasz Chmielewski
Miguel schrieb: actually, I have a USB keyboard, could that be the problem? why? Because when you remove USB modules, USB devices, including USB keyboards, won't work... removing and adding modules doesn't solve my problem... The USB has several functions: modem and usb mass storage and

Re: checkpatch and kernel/sched.c

2007-10-01 Thread Andrew Morton
On Mon, 01 Oct 2007 09:48:25 +0200 Avi Kivity [EMAIL PROTECTED] wrote: Andrew Morton wrote: this is actually a false positive - as the debug code constructs a printk output _without_ \n. So the script should check whether there's any \n in the printk string - if there is none, do not

Promise SATA300 TX4: errors, oops in ext3 code

2007-10-01 Thread Alexander Sabourenkov
Hardware: Athlon64, Asus A8V, Promise SATA300 TX4, 2xSeagate 7200.10 320G, jumper-limited to SATA150. Kernel : 2.6.22.9 amd64 Problem: Heavy load causes errors and triggers oops. History: Problems were first encountered on kernel 2.6.19, both i686 (old system) and amd64 (gentoo installation

Re: [PATCH 3/5] Move the IPC namespace under the option

2007-10-01 Thread Pavel Emelyanov
Cedric Le Goater wrote: Pavel Emelyanov wrote: Currently all the IPC namespace management code is in ipc/util.c. I moved this code into ipc/namespace.c file which is compiled out when needed. The linux/ipc_namespace.h file is used to store the prototypes of the functions in namespace.c and

Re: [PATCH 4/5] Move the user namespace under the option

2007-10-01 Thread Pavel Emelyanov
Robert P. J. Day wrote: On Thu, 27 Sep 2007, Cedric Le Goater wrote: diff --git a/include/linux/user_namespace.h b/include/linux/user_namespace.h index b5f41d4..dda160c 100644 --- a/include/linux/user_namespace.h +++ b/include/linux/user_namespace.h @@ -17,7 +17,7 @@ struct user_namespace

Re: A bit of kconfig rewrite (Re: [PATCH] 9p: fix compile error if !CONFIG_SYSCTL)

2007-10-01 Thread Sam Ravnborg
Hi Oleg. Today's kconfig was proposed and accepted in a very unpleasant circumstances, has very poor design, development and no working alternative (for 5+ years now). I have read all your mails about this subject - but I still miss what is so bad about current design. Could you try to stay

Re: [PATCH] PCI hotplug : Switch to pci_get_bus_and_slot instead of deprecated pci_find_slot.

2007-10-01 Thread Joonwoo Park
Thank you so much for your check advise. This time, I've tried on ibmphp_core.c, is it OK? Signed-off-by: Joonwoo Park [EMAIL PROTECTED] --- drivers/pci/hotplug/ibmphp_core.c | 11 +++ 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/pci/hotplug/ibmphp_core.c

Re: Out of memory management in embedded systems

2007-10-01 Thread Markku Savela
How about just simple solution? Make it possible that malloc works as it was originally intended: return NULL, if memory not available, non-NULL only if allocation truly succeeded and is guaranteed.. Make kernel configuration option? (e.g. disable over commit mis-feature :-) -- Markku Savela -

Re: 2.6.21 - 2.6.22 2.6.23-rc8 performance regression

2007-10-01 Thread Denys
Well, i can play a bit more on live servers. I have now hot-swap server with full gentoo, where i can rebuild any kernel you want, with any applied patch. But it looks more like not overhead, load becoming high too spiky, and it is not just permantenly higher. Also it is not normal that all

Re: [PATCH] blacklist NCQ on Seagate Barracuda ST380817AS

2007-10-01 Thread Jiri Slaby
On 10/01/2007 01:45 AM, Robert Hancock wrote: Are you sure this isn't just a bum drive? Looking at the SMART listing that was posted, looks like it's had some uncorrectable sector read errors in the event log.. Seagate is known to report wrong numbers in smart. regards, -- Jiri Slaby ([EMAIL

Re: Out of memory management in embedded systems

2007-10-01 Thread Bernd Eckenfels
In article [EMAIL PROTECTED] you wrote: Make kernel configuration option? (e.g. disable over commit mis-feature :-) # egrep . /proc/sys/vm/overcommit_* /proc/sys/vm/overcommit_memory:0 /proc/sys/vm/overcommit_ratio:50 Gruss Bernd - To unsubscribe from this list: send the line unsubscribe

Re: software unplug and plug USB

2007-10-01 Thread Miguel
I also have a mobile phone connected, a gps and a keyboard, i do the following: [EMAIL PROTECTED]:~$ lsmod | grep usb usbserial 29928 1 pl2303 usbtouchscreen 8708 0 usbcore 130304 7 libusual,pl2303,usbserial,usbtouchscreen,ehci_hcd,uhci_hcd [EMAIL

Re: iwl4965 and driver merging policy

2007-10-01 Thread Jiri Kosina
On Thu, 27 Sep 2007, Theodore Tso wrote: Well, pulling in iwlwifi would require also pulling in the mac80211 subsystem, so it's not quite that simple (although I'm not sure what's holding back that going into the kernel.) Hi Ted, sorry? mac80211 is already in the tree, isn't it? Thanks,

Re: 2.6.22.3 out of memory crash

2007-10-01 Thread Dag Nygren
On Thursday 20 September 2007 16:56, Dag Nygren wrote: Hi, I have the kview zoom function mapped to the scrollwheel with ctrl. Now my wife found out and watching our photos wanted to zoom out a bit. Then she just rotated the scrollwheel a lot and expected the zoom to happen. What

Re: software unplug and plug USB

2007-10-01 Thread Jiri Slaby
On 10/01/2007 10:18 AM, Miguel wrote: but only when I unplug and plug manually, the modem starts up ... Because of that i wanted to unplug/plug via scripting (software way) You might try this (bottom of the page): http://lkml.org/lkml/2007/5/28/193 regards, -- Jiri Slaby ([EMAIL PROTECTED])

Re: 2.6.21 - 2.6.22 2.6.23-rc8 performance regression

2007-10-01 Thread Eric Dumazet
Eric Dumazet a écrit : Denys a écrit : Well, i can play a bit more on live servers. I have now hot-swap server with full gentoo, where i can rebuild any kernel you want, with any applied patch. But it looks more like not overhead, load becoming high too spiky, and it is not just permantenly

Re: Network slowdown due to CFS

2007-10-01 Thread Jarek Poplawski
On Fri, Sep 28, 2007 at 04:10:00PM +1000, Nick Piggin wrote: On Friday 28 September 2007 00:42, Jarek Poplawski wrote: On Thu, Sep 27, 2007 at 03:31:23PM +0200, Ingo Molnar wrote: * Jarek Poplawski [EMAIL PROTECTED] wrote: ... OK, but let's forget about fixing iperf. Probably I got

Re: x86-64 sporadic hang in 2.6.23rc7 and 2.6.22

2007-10-01 Thread Helge Hafting
Andi Kleen wrote: Helge Hafting [EMAIL PROTECTED] writes: shrink_dcache_memory That usually means random memory corruption from somewhere -- dcache tends to use a lot of memory and when it is corrupted anywhere these functions tend to crash while walking the lists. Unfortunately

Re: [PATCH 4/5] Move the user namespace under the option

2007-10-01 Thread Robert P. J. Day
On Mon, 1 Oct 2007, Pavel Emelyanov wrote: Robert P. J. Day wrote: On Thu, 27 Sep 2007, Cedric Le Goater wrote: diff --git a/include/linux/user_namespace.h b/include/linux/user_namespace.h index b5f41d4..dda160c 100644 --- a/include/linux/user_namespace.h +++

Re: 2.6.21 - 2.6.22 2.6.23-rc8 performance regression

2007-10-01 Thread Eric Dumazet
Denys a écrit : Well, i can play a bit more on live servers. I have now hot-swap server with full gentoo, where i can rebuild any kernel you want, with any applied patch. But it looks more like not overhead, load becoming high too spiky, and it is not just permantenly higher. Also it is not

linux cache routines for Write-back cache policy on MIPS24KE

2007-10-01 Thread veerasena reddy
Hi, I have ported Linux-2.6.18 kernel on MIPS24KE processor. I am using write back cache policy. Could you please guide me under what cases the below cache API's are being used: - dma_cache_wback_inv() : Could you explain what exactly this function does - dma_cache_wback() : This function write

Re: Promise SATA300 TX4: errors, oops in ext3 code

2007-10-01 Thread Clemens Koller
Alexander Sabourenkov schrieb: Hardware: Athlon64, Asus A8V, Promise SATA300 TX4, 2xSeagate 7200.10 320G, jumper-limited to SATA150. Kernel : 2.6.22.9 amd64 Problem: Heavy load causes errors and triggers oops. Have you checked your memory already (memtest86)? We have several applications

Re: linux cache routines for Write-back cache policy on MIPS24KE

2007-10-01 Thread Geert Uytterhoeven
On Mon, 1 Oct 2007, veerasena reddy wrote: I have ported Linux-2.6.18 kernel on MIPS24KE processor. I am using write back cache policy. Could you please guide me under what cases the below cache API's are being used: - dma_cache_wback_inv() : Could you explain what exactly this function

Re: [PATCH] removes array_size duplicates

2007-10-01 Thread Andrew Morton
On Fri, 28 Sep 2007 00:51:13 +0200 roel [EMAIL PROTECTED] wrote: This patch removes some ARRAY_SIZE macro duplicates. There is also one in arch/um/include/user.h, which isn't fixed here because comments in that file explicitly state a preference for the 'less fancy' version. If that's the

Re: 2.6.23-rc8-mm2 - tcp_fastretrans_alert() WARNING

2007-10-01 Thread Cedric Le Goater
Ilpo Järvinen wrote: On Sat, 29 Sep 2007, Cedric Le Goater wrote: Ilpo Järvinen wrote: On Fri, 28 Sep 2007, Ilpo Järvinen wrote: On Fri, 28 Sep 2007, Cedric Le Goater wrote: I just found that warning in my logs. It seems that it's been happening since rc7-mm1 at least. WARNING: at

[Patch / 000](memory hotplug) Fix NULL pointer access of kmem_cache_node when hot-add.

2007-10-01 Thread Yasunori Goto
Hello. This patch set is to fix panic due to access NULL pointer of SLUB. When new memory is hot-added on the new node (or memory less node), kmem_cache_node for the new node is not prepared, and panic occurs by it. So, new kmem_cache_node should be created before new memory is available on the

Re: [PATCH] removes array_size duplicates

2007-10-01 Thread Geert Uytterhoeven
On Mon, 1 Oct 2007, Andrew Morton wrote: On Fri, 28 Sep 2007 00:51:13 +0200 roel [EMAIL PROTECTED] wrote: This patch removes some ARRAY_SIZE macro duplicates. There is also one in arch/um/include/user.h, which isn't fixed here because comments in that file explicitly state a preference for

Re: x86_64 and AMD with C1E

2007-10-01 Thread Andi Kleen
Mikhail Kshevetskiy [EMAIL PROTECTED] writes: The same situation can be observed for linux-2.6.22. You're saying 2.6.22/x86-64 without any patches doesn't boot out of the box with C1E enabled? If yes what are the exact symptoms? -Andi - To unsubscribe from this list: send the line

[Patch / 001](memory hotplug) fix some defects of memory notifer callback interface.

2007-10-01 Thread Yasunori Goto
Current memory notifier has some defects yet. (Nothing uses it.) This patch is to fix for them. - Add information of start_pfn and nr_pages for callback functions. They can't do anything without those information. - Add notification going-online status. It is necessary for creating

[Patch / 002](memory hotplug) Callback function to create kmem_cache_node.

2007-10-01 Thread Yasunori Goto
This is to make kmem_cache_nodes of all SLUBs for new node when memory-hotadd is called. This fixes panic due to access NULL pointer at discard_slab() after memory hot-add. If pages on the new node available, slub can use it before making new kmem_cache_nodes. So, this callback should be called

Re: [Patch 000/002](memory hotplug) Fix NULL pointer access of kmem_cache_node when hot-add.

2007-10-01 Thread Yasunori Goto
I'm sorry. There are 2 patches for this fix. Subtitle should be [Patch 000/002]. :-( -- Yasunori Goto - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] removes array_size duplicates

2007-10-01 Thread Andrew Morton
On Mon, 1 Oct 2007 11:33:01 +0200 (CEST) Geert Uytterhoeven [EMAIL PROTECTED] wrote: On Mon, 1 Oct 2007, Andrew Morton wrote: On Fri, 28 Sep 2007 00:51:13 +0200 roel [EMAIL PROTECTED] wrote: This patch removes some ARRAY_SIZE macro duplicates. There is also one in

Re: [RFC][PATCH] make module refcounts use percpu_counters

2007-10-01 Thread Rusty Russell
On Fri, 2007-09-28 at 16:00 -0700, Dave Hansen wrote: Module refcounts currently use a percpu counter stored in the 'struct module'. However, we also have a more generic implementation that does stuff like handle hotplug cpus. I'm not actually all that convinced that this refcount

Re: bluetooth: hci_sysfs work queue problem

2007-10-01 Thread Marcel Holtmann
Hi Dave, The hci_sysfs uses work queue to finish the sysfs add/del fuction. But when the same device connection failed, if another connection of same device come in before the delete work finish, sysfs will warn about duplicate filename creating. which kernel are we talking about. This

Re: [PATCH] removes array_size duplicates

2007-10-01 Thread Robert P. J. Day
On Mon, 1 Oct 2007, Andrew Morton wrote: On Fri, 28 Sep 2007 00:51:13 +0200 roel [EMAIL PROTECTED] wrote: This patch removes some ARRAY_SIZE macro duplicates. There is also one in arch/um/include/user.h, which isn't fixed here because comments in that file explicitly state a preference

Re: [PATCH] removes array_size duplicates

2007-10-01 Thread Robert P. J. Day
On Mon, 1 Oct 2007, Robert P. J. Day wrote: ... among other things, one of the creepy issues here is the definition in include/linux/netfilter/xt_sctp.h of the macro: ... #define SCTP_CHUNKMAP_COPY(destmap, srcmap) \ do {

Re: software unplug and plug USB

2007-10-01 Thread Oliver Neukum
Am Montag 01 Oktober 2007 schrieb Miguel: but only when I unplug and plug manually, the modem starts up ... Because of that i wanted to unplug/plug via scripting (software way) You can use the bind unbind attributes in sysfs. Regards Oliver - To unsubscribe from this

Re: 2.6.21 - 2.6.22 2.6.23-rc8 performance regression

2007-10-01 Thread Andi Kleen
Denys [EMAIL PROTECTED] writes: by mistake i will miss a point (it can detect bug easily, IF softirq in mpstat 1 will jump up to 30+%. On 2.6.21 it is always staying +-10%, on buggy version it jumps up to 100%. Now cause less load at night up to 30- 50%, so on hardware it is not very

Re: [PATCH] firewire: adopt read cycle timer ABI from raw1394

2007-10-01 Thread Pieter Palmers
Stefan Richter wrote: This duplicates the read cycle timer feature of raw1394 (added in Linux 2.6.21) in firewire-core's userspace ABI. Kristian and Pieter, does this simple duplication of the ioctl make sense on its own? AFAIU rawiso's iso packet buffers look different from fw-cdevs's. It

Re: software unplug and plug USB

2007-10-01 Thread Tomasz Chmielewski
Miguel schrieb: I also have a mobile phone connected, a gps and a keyboard, i do the following: [EMAIL PROTECTED]:~$ lsmod | grep usb usbserial 29928 1 pl2303 usbtouchscreen 8708 0 usbcore 130304 7

Re: F_DUPFD_CLOEXEC implementation

2007-10-01 Thread Denys Vlasenko
On Monday 01 October 2007 04:15, Davide Libenzi wrote: On Mon, 1 Oct 2007, Denys Vlasenko wrote: My use case is: I want to do a nonblocking read on descriptor 0 (stdin). It may be a pipe or a socket. There may be other processes which share this descriptor with me, I simply cannot

Re: [patch 1/2] ACPI: disable lower idle C-states across suspend/resume

2007-10-01 Thread Andi Kleen
Thomas Gleixner [EMAIL PROTECTED] writes: +/* + * Suspend / resume control + */ +static int acpi_idle_suspend; + +int acpi_processor_suspend(struct acpi_device * device, pm_message_t state) +{ + acpi_idle_suspend = 1; + return 0; +} + +int acpi_processor_resume(struct

Re: Promise SATA300 TX4: errors, oops in ext3 code

2007-10-01 Thread Alexander Sabourenkov
Clemens Koller wrote: Alexander Sabourenkov schrieb: Hardware: Athlon64, Asus A8V, Promise SATA300 TX4, 2xSeagate 7200.10 320G, jumper-limited to SATA150. Kernel : 2.6.22.9 amd64 Problem: Heavy load causes errors and triggers oops. Have you checked your memory already (memtest86)?

Re: 2.6.22.6 + oprofile oops

2007-10-01 Thread Andi Kleen
Sami Farin [EMAIL PROTECTED] writes: x86_64 SMP kernel v2.6.22.6 (not using callgraph). sometimes oprofile works for a longer time... but not this time. 2007-09-22 13:53:32.52723 1[ 3372.390188] Unable to handle kernel NULL pointer dereference at 0650 RIP: 2007-09-22

[PATCH] Make initializer for statically declared krefs

2007-10-01 Thread Pavel Emelyanov
Since the struct kref already has the _get, _put and _init routines, this seems useful to have an initializer for those statically declared (like for atomic_t or spinlock_t). Signed-off-by: Pavel Emelyanov [EMAIL PROTECTED] --- diff --git a/include/linux/kref.h b/include/linux/kref.h index

Re: 2.6.21 - 2.6.22 2.6.23-rc8 performance regression

2007-10-01 Thread Denys
Already i did, and it didn't show real failure point. On 01 Oct 2007 12:01:24 +0200, Andi Kleen wrote Denys [EMAIL PROTECTED] writes: by mistake i will miss a point (it can detect bug easily, IF softirq in mpstat 1 will jump up to 30+%. On 2.6.21 it is always staying +-10%, on buggy

Re: checkpatch and kernel/sched.c

2007-10-01 Thread Ingo Molnar
* Andrew Morton [EMAIL PROTECTED] wrote: WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable #411: FILE: home/apw/git/linux-2.6/kernel/sched.c:408: +EXPORT_SYMBOL_GPL(cpu_clock); yes, this is a legit warning and i fix it every time i see it. (I

Re: [patches] [PATCH] [13/50] x86: Fix and reenable CLFLUSH support inchange_page_attr()

2007-10-01 Thread Andi Kleen
On Monday 24 September 2007 10:23:29 Jan Beulich wrote: @@ -162,7 +198,7 @@ __change_page_attr(unsigned long address /* on x86-64 the direct mapping set at boot is not using 4k pages */ BUG_ON(PageReserved(kpte_page)); -save_page(kpte_page); +save_page(kpte_page, 0);

Re: checkpatch and kernel/sched.c

2007-10-01 Thread Ingo Molnar
* Andrew Morton [EMAIL PROTECTED] wrote: On Mon, 01 Oct 2007 09:48:25 +0200 Avi Kivity [EMAIL PROTECTED] wrote: Andrew Morton wrote: this is actually a false positive - as the debug code constructs a printk output _without_ \n. So the script should check whether there's any \n in

Re: [PATCH] [50/50] x86_64: Remove fpu io port resource

2007-10-01 Thread Andi Kleen
=== --- linux.orig/arch/x86_64/kernel/setup.c +++ linux/arch/x86_64/kernel/setup.c @@ -121,8 +121,6 @@ struct resource standard_io_resources[] .flags = IORESOURCE_BUSY | IORESOURCE_IO }, { .name = dma2,

Re: checkpatch and kernel/sched.c

2007-10-01 Thread Ingo Molnar
* Andrew Morton [EMAIL PROTECTED] wrote: WARNING: braces {} are not necessary for single statement blocks #5706: FILE: home/apw/git/linux-2.6/kernel/sched.c:5703: + if (parent-groups == parent-groups-next) { + pflags = ~(SD_LOAD_BALANCE | +

Re: software unplug and plug USB

2007-10-01 Thread Miguel
if I remove ehci_hcd / uhci_hcd / ohci_hcd , some other devices like touchscreen, GPS and keyboard could stop working. backup_modules doesn't matter here, is my personal backup. I have tried also to recompile some modules because some times my modem huaweis is recognized like usb mass storage. I

[GIT PATCHES] V4L/DVB update

2007-10-01 Thread Mauro Carvalho Chehab
Linus, Please pull from: ssh://master.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb.git master For one bug fix at ivtv driver. Cheers, Mauro. --- drivers/media/video/ivtv/ivtv-fileops.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) Ian Armstrong (1):

Re: [PATCH] [13/50] x86: Fix and reenable CLFLUSH support in change_page_attr()

2007-10-01 Thread Andi Kleen
On Saturday 22 September 2007 07:47:59 Oleg Verych wrote: * Sat, 22 Sep 2007 00:32:11 +0200 (CEST) [] - flush_map(l); + flush_map(arg); + flush_map(arg.l); CC arch/x86_64/mm/pageattr.o arch/x86_64/mm/pageattr.c: In function 'global_flush_tlb':

Re: linux cache routines for Write-back cache policy on MIPS24KE

2007-10-01 Thread Ralf Baechle
On Mon, Oct 01, 2007 at 10:04:32AM +0100, veerasena reddy wrote: I have ported Linux-2.6.18 kernel on MIPS24KE processor. I am using write back cache policy. Could you please guide me under what cases the below cache API's are being used: - dma_cache_wback_inv() : Could you explain what

Re: software unplug and plug USB

2007-10-01 Thread Jiri Slaby
On 10/01/2007 12:46 PM, Miguel wrote: if I remove ehci_hcd / uhci_hcd / ohci_hcd , some other devices like touchscreen, GPS and keyboard could stop working. backup_modules doesn't matter here, is my personal backup. I have tried also to recompile some modules because some times my modem

Re: [PATCH] Inconsistent mmap()/mremap() flags

2007-10-01 Thread Andi Kleen
@@ -388,6 +392,9 @@ if (vma-vm_flags VM_MAYSHARE) map_flags |= MAP_SHARED; + if (flags MAP_32BIT) + map_flags |= MAP_32BIT; + new_addr =

Re: 2.6.21 - 2.6.22 2.6.23-rc8 performance regression

2007-10-01 Thread Andi Kleen
On Mon, Oct 01, 2007 at 01:30:52PM +0300, Denys wrote: Already i did, and it didn't show real failure point. There was no difference between the profile of the working kernel and the high load kernel? Perhaps you just have legitimate higher load? -Andi - To unsubscribe from this list: send

Re: [PATCH] [4/50] x86: add cpu codenames for Kconfig.cpu

2007-10-01 Thread Andi Kleen
This will never be up to date. It will. There are no new P4 cores anymore. -Andi - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at

Re: [PATCH] [50/50] x86_64: Remove fpu io port resource

2007-10-01 Thread Jeff Garzik
Andi Kleen wrote: So far I still maintain i386 and x86-64. If Thomas wants to take both over completely he can do that; but I won't bother handling any patches i didn't write then anymore. What does that mean? Didn't we all agree that x86 and x86-64 are going to be merged? If yes, isn't it

  1   2   3   4   5   6   7   8   >