Re: [patch] add kdump_after_notifier

2007-08-03 Thread Eric W. Biederman
Andrew Morton <[EMAIL PROTECTED]> writes: > > Much of the onus is upon the various RAS tool developers to demonstrate why it > is unsuitable for their use and, hopefully, to explain how it can be fixed for > them. My current take on the situation. There are 4 different cases we care about. - Triv

Re: gcc fixed size char array initialization bug - known?

2007-08-03 Thread Bernd Petrovitsch
On Fri, 2007-08-03 at 11:40 +0800, WANG Cong wrote: > On Fri, Aug 03, 2007 at 08:47:56AM +0530, Satyam Sharma wrote: [] > >While we're talking of null-termination of strings, then I bet you > >generally want to be using strlcpy(), really. Often strncpy() isn't > >what you want. Of course, if th

Re: eurotechwdt will cause reboot

2007-08-03 Thread Dave Young
>On 8/3/07, Wim Van Sebroeck <[EMAIL PROTECTED]> wrote: > Hi Dave, > > > Hi, > > News: 2.6.23-rc1-mm1 will reboot with eurotechwdt, but 2.6.23-rc1-mm2 > > will not. do you need the config files? > > > > I will concentrate on this problem as well. Any hints how to debug? > > Yes: make a diff file be

Re: per bdi dirty balancing (was Re: kupdate weirdness)

2007-08-03 Thread Peter Zijlstra
On Fri, 2007-08-03 at 08:43 +0200, Miklos Szeredi wrote: > (cc restored) > > > > > There were heaps of problems in there and it is surprising how few > > > > people > > > > were hitting them. Ordered-mode journalling filesystems will fix it > > > > all up > > > > behind the scenes, of course. >

Re: NETPOLL=y , NETDEVICES=n compile error ( Re: 2.6.23-rc1-mm1 )

2007-08-03 Thread Jarek Poplawski
On Thu, Aug 02, 2007 at 10:59:23AM -0500, Matt Mackall wrote: > On Thu, Aug 02, 2007 at 11:00:08AM +0200, Jarek Poplawski wrote: > > On Wed, Aug 01, 2007 at 09:02:19PM -0500, Matt Mackall wrote: ... > > > How about cc:ing the netpoll maintainer? > > > > Is there a new one or do you suggest possibi

Re: MTD: pnc2000 iomem oops

2007-08-03 Thread Dave Young
>On 8/1/07, Dave Young <[EMAIL PROTECTED]> wrote: > Hi, > The pnc2000 probe function cause oops. Possible reason is its iomem > region not being remaped. > > I searched lkml history, the oops was reported at 2006-06-14, but still there. > http://lkml.org/lkml/2006/6/14/59 > > If the ioremap/iounma

Re: gcc fixed size char array initialization bug - known?

2007-08-03 Thread Jan Engelhardt
On Aug 3 2007 01:30, Guennadi Liakhovetski wrote: >On Fri, 3 Aug 2007, Al Viro wrote: > >> It doesn't change the fact that use of c[4] or strlen(c) or strcpy(..., c) >> means nasal demon country for you. > >Haha, funny. You, certainly, may think whatever you want, I'm anyway >greatful to you and

Re: [linux-usb-devel] [PATCH] USB: Only enable autosuspend by default on certain device classes

2007-08-03 Thread Oliver Neukum
Am Freitag 03 August 2007 schrieb Matthew Garrett: > > Also, we have udev rules for SANE that disables their autosuspend > > settings, which handles the majority of the devices we have seen with > > problems. > > Several printers seem to have the issue as well, and the blacklist seems > to contai

Re: VIA EPIA EK: strange eth dev numbering

2007-08-03 Thread Jan Engelhardt
On Aug 3 2007 00:49, Kay Sievers wrote: >> I think it is helpful to integrate the suse patch rather than to patch udev >> alone. This way, renames that do not involve udev also show up. > >But if you need to swap interface names, you will see the useless >temporary device names. On SUSE, nothing e

Re: per bdi dirty balancing (was Re: kupdate weirdness)

2007-08-03 Thread Miklos Szeredi
> > My plan is to extract the minimal set of features from your patchset, > > that solves the dirty balancing deadlocks and submit them as quickly > > as possible. > > I had hoped to post a new version yesterday, but lets hope for today. Would be cool. > > After that we can look at trying to sol

Re: [patch] add kdump_after_notifier

2007-08-03 Thread Andrew Morton
On Fri, 03 Aug 2007 16:34:04 +1000 Keith Owens <[EMAIL PROTECTED]> wrote: > Andrew Morton (on Thu, 2 Aug 2007 23:25:02 -0700) wrote: > >On Fri, 03 Aug 2007 14:05:47 +1000 Keith Owens <[EMAIL PROTECTED]> wrote: > > Switching to [EMAIL PROTECTED], I just resigned from SGI. > > >> I have pretty wel

Re: System clock frequency offset changes drastically across reboots

2007-08-03 Thread John Sigler
[ Expanding recipients list to include NTP mailing list ] John Sigler wrote: I'm using 2.6.20.7-rt8 on a P3. (But some ntpd users have reported the problem with mainline kernels and different versions.) I've noticed that the frequency offset of my system clock (computed either by ntpd, o

Re: [PATCH] ehca: map 4k firmware context of cq, qp to user space

2007-08-03 Thread Hoang-Nam Nguyen
From: Hoang-Nam Nguyen Date: Fri, 3 Aug 2007 09:44:56 +0200 Subject: [PATCH] ehca: map 4k firmware context of cq, qp to user space This patch utilizes remap_4k_pfn() as introduced by Paul M., for details see http://patchwork.ozlabs.org/linuxppc/patch?id=10281, to map ehca cq, qp firmware context (

Re: [NFS] rpc.mountd crashes when extensively using netgroups

2007-08-03 Thread Stefan Walter
Neil Brown wrote: > I'm having troubling visualising the problematic setup. Is it > possible to get a copy of the /etc/exports file, and some idea of what > hosts are in which netgroups? Knowing that would help assess the > appropriateness of various solutions. > The attached file contains a s

Re: [PATCH -mm] Introduce strtol_check_range()

2007-08-03 Thread Jan Engelhardt
On Aug 2 2007 05:16, Satyam Sharma wrote: > >BSD's strtonum(3) is a detestful, horrible shame. > >The strtol_check_range() I implemented here does _all_ that strtonum() >does, plus is generic w.r.t. base, and minus the tasteless "errstr" >argument. > >Tell me, how does that "errstr" ever make sens

Re: [patch] genirq: fix simple and fasteoi irq handlers

2007-08-03 Thread Ingo Molnar
* Jarek Poplawski <[EMAIL PROTECTED]> wrote: > I can't guarantee this is all needed to fix this bug, but I think this > patch is necessary here. hmmm ... very interesting! Now _this_ is something we'd like to see tested. Could you send a patch to Marcin that also undoes the workaround we have

Re: [PATCH] mtd: Makefile fix (was Re: [PATCH] mtdsuper: licensce = GPL)

2007-08-03 Thread Rafał Bilski
[PATCH] mtd: Makefile fix We want drivers/mtd/{mtdcore, mtdsuper, mtdpart}.c to be built and linked into the same mtd.ko module. Fix the Makefile to ensure this, and remove duplicate MODULE_ declarations in mtdpart.c, as mtdcore.c already has them. Signed-off-by: Satyam Sharma <[EMAIL PROTECTED]

Re: [NFSD OOPS] 2.6.23-rc1-git10

2007-08-03 Thread Andrew Clayton
On Fri, 3 Aug 2007 13:53:39 +1000, Neil Brown wrote: [snip] > So clearly we need some proper locking around thread start-up and > shutdown. We had previous relied on lock_kernel, but that isn't > really good enough for this. I'll try to figure out the best way to > fix it. Meanwhile, I doubt

Re: ICH8 CF timeout (regression)...

2007-08-03 Thread Daniel J Blueman
On 02/08/07, Mark Lord <[EMAIL PROTECTED]> wrote: > Daniel J Blueman wrote: > > On 02/08/07, Tejun Heo <[EMAIL PROTECTED]> wrote: > >> Daniel J Blueman wrote: > >>> I'll grab kernel logs from the legacy ATA boot; what else can help > >>> debug this issue? No problem testing patches too. > >> Yeap,

Implementation of POSIX mqueues in Linux 2.6

2007-08-03 Thread gregfe
Hi there, I find little documentation on the actual implementation of POSIX message queues in Linux, and need some advise. In particular, I am wondering whether it supports inter-process *and* inter-thread communication, and if can I manage to use shared memory pools for zero-copy messaging in ca

[ANNOUNCE] Gujin PC graphic bootloader version 2.1

2007-08-03 Thread Etienne Lorrain
Hi, A new version of the Gujin bootloader has been released, with those improvements: - Uses now by default the 16 bits entry point of bzImage Linux files (zImage not supported) and do not uncompress the initrd, under the control of the "force bzImage protocol" of the graphic menu, or the "/

Re: [REGRESSION] tg3 dead after s2ram

2007-08-03 Thread Joachim Deguara
On Thursday 02 August 2007 21:10:29 Michael Chan wrote: > Alternatively, we can also fix it by calling pci_enable_device() again > in tg3_open().  But I think it is better to just always save and restore > in suspend/resume.  bnx2.c will also require the same fix. > > Thanks Joachim for helping to

Re: Distributed storage.

2007-08-03 Thread Evgeniy Polyakov
On Fri, Aug 03, 2007 at 02:26:29PM +0400, Evgeniy Polyakov ([EMAIL PROTECTED]) wrote: > > Memory deadlock is a concern of course. From a cursory glance through, > > it looks like this code is pretty vm-friendly and you have thought > > quite a lot about it, however I respectfully invite peterz

Re: Implementation of POSIX mqueues in Linux 2.6

2007-08-03 Thread Jakub Jelinek
On Fri, Aug 03, 2007 at 09:59:32AM +, gregfe wrote: > I find little documentation on the actual implementation of POSIX message > queues in Linux, and need some advise. In particular, I am wondering > whether it supports inter-process *and* inter-thread communication, and if Not sure what exac

Re: 2.6.22 regression: thermal trip points

2007-08-03 Thread Thomas Renninger
On Thu, 2007-08-02 at 20:38 +0200, Andi Kleen wrote: > On Thu, Aug 02, 2007 at 03:57:54PM +, Pavel Machek wrote: > > On Thu 2007-08-02 15:16:22, Andi Kleen wrote: > > > On Thu, Aug 02, 2007 at 02:04:42PM +0100, Alan Cox wrote: > > > > > > Set a taint flag, > > > > > That's hardly any useful if

Re: [linux-usb-devel] [PATCH] USB: Only enable autosuspend by default on certain device classes

2007-08-03 Thread Felipe Balbi
On 8/3/07, Rogan Dawes <[EMAIL PROTECTED]> wrote: > Matthew Garrett wrote: > > On Fri, Aug 03, 2007 at 01:44:02PM +0200, Oliver Neukum wrote: > >> Am Freitag 03 August 2007 schrieb Matthew Garrett: > >>> It's certainly possible to do that, but it's also possible to have a > >>> userspace solution t

Re: [PATCH] USB: Only enable autosuspend by default on certain device classes

2007-08-03 Thread Matthew Garrett
On Fri, Aug 03, 2007 at 02:26:43PM +0200, Rogan Dawes wrote: > Compare that to: > > "My USB printer broke, guess I'd better report it to LKML". But while this is still a likely probability, the chances are no distribution is going to ship with CONFIG_USB_SUSPEND enabled. Breaking people's hard

Re: Distributed storage.

2007-08-03 Thread Peter Zijlstra
On Fri, 2007-08-03 at 14:57 +0400, Evgeniy Polyakov wrote: > For receiving situation is worse, since system does not know in advance > to which socket given packet will belong to, so it must allocate from > global pool (and thus there must be independent global reserve), and > then exchange part o

2.6.23-rc1-mm2 + cpufreq patch -- another "inconsistent {in-hardirq-W} -> {hardirq-on-W} usage."

2007-08-03 Thread Miles Lane
When I ran "modprobe -r ipw2200" I got: = [ INFO: inconsistent lock state ] 2.6.23-rc1-mm2 #21 - inconsistent {in-hardirq-W} -> {hardirq-on-W} usage. modprobe/6888 [HC0[0]:SC0[0]:HE1:SE1] takes: (&priv->irq_lock){++..}, at: [] ipw_is

[PATCH] i386: convert mm_context_t semaphore to a mutex

2007-08-03 Thread Luiz Fernando N. Capitulino
Signed-off-by: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> --- arch/i386/kernel/i386_ksyms.c |1 + arch/i386/kernel/ldt.c| 14 +++--- arch/i386/kernel/ptrace.c |4 ++-- include/asm-i386/mmu.h|4 ++-- 4 files changed, 12 insertions(+), 11 deletions(-)

[PATCH] x86_64: convert mm_context_t semaphore to a mutex

2007-08-03 Thread Luiz Fernando N. Capitulino
Signed-off-by: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> --- arch/x86_64/kernel/ldt.c| 14 +++--- arch/x86_64/kernel/ptrace.c |4 ++-- include/asm-x86_64/mmu.h|4 ++-- 3 files changed, 11 insertions(+), 11 deletions(-) Index: linux-2.6-lcpt/arch/x86_64/kernel/ldt.

Re: [PATCH 1/1] lro: Generic Large Receive Offload for TCP traffic

2007-08-03 Thread Jörn Engel
On Fri, 3 August 2007 14:41:19 +0200, Jan-Bernd Themann wrote: > > This patch provides generic Large Receive Offload (LRO) functionality > for IPv4/TCP traffic. > > LRO combines received tcp packets to a single larger tcp packet and > passes them then to the network stack in order to increase pe

RE : Complete freeze if high traffic on standard serial line on ia32?

2007-08-03 Thread Etienne Lorrain
--- Alan Cox <[EMAIL PROTECTED]> wrote: > Can you get this to happen outside of X at all (eg if you do a yum update > and pull in packages over the modem for a while with 2.6.23-rc1 does it > die). Just trying to work out what has become unstable. I'll try more stuff tonight. A wild guess of the

Re: about modularization

2007-08-03 Thread Ingo Molnar
* T. J. Brumfield <[EMAIL PROTECTED]> wrote: > 1 - Can someone please explain why the kernel can be modular in every > other aspect, including offering a choice of IO schedulers, but not > kernel schedulers? that's a fundamental misconception. If you boot into a distro kernel on a typical PC,

[PATCH 18/23] mm: expose BDI statistics in sysfs.

2007-08-03 Thread Peter Zijlstra
Expose the per BDI stats in /sys/block//queue/* Signed-off-by: Peter Zijlstra <[EMAIL PROTECTED]> --- block/ll_rw_blk.c | 29 + 1 file changed, 29 insertions(+) Index: linux-2.6/block/ll_rw_blk.c === --

[PATCH 1/1] lro: Generic Large Receive Offload for TCP traffic

2007-08-03 Thread Jan-Bernd Themann
This patch provides generic Large Receive Offload (LRO) functionality for IPv4/TCP traffic. LRO combines received tcp packets to a single larger tcp packet and passes them then to the network stack in order to increase performance (throughput). The interface supports two modes: Drivers can either

Re: Complete freeze if high traffic on standard serial line on ia32?

2007-08-03 Thread Alan Cox
> I can reliably (6 times in one hour) freeze completely (Scroll lock/Caps lock > flashing together, mouse frozen in X) my PC (AMD sempron on MSI K8MM3-V K8M800 > Socket 754) by doing an FTP using a standard modem connected on the serial > port > of the motherboard, and a bit of browsing (i.e. ma

Re: Scheduler Situation

2007-08-03 Thread debian developer
On 8/3/07, T. J. Brumfield <[EMAIL PROTECTED]> wrote: > First off, I am an avid reader of the LKML but I'm not a developer. > Admittedly I am a piss-poor C developer who likes to poke around the > code, play with patches and attempt to learn, but in reality at best I > pretend I understand it, and

[PATCH 19/23] lib: floating proportions

2007-08-03 Thread Peter Zijlstra
Given a set of objects, floating proportions aims to efficiently give the proportional 'activity' of a single item as compared to the whole set. Where 'activity' is a measure of a temporal property of the items. It is efficient in that it need not inspect any other items of the set in order to pro

[PATCH 23/23] debug: sysfs files for the current ratio/size/total

2007-08-03 Thread Peter Zijlstra
Expose the per bdi dirty limits in sysfs Signed-off-by: Peter Zijlstra <[EMAIL PROTECTED]> --- block/ll_rw_blk.c | 80 mm/page-writeback.c |4 +- 2 files changed, 82 insertions(+), 2 deletions(-) Index: linux-2.6/block/ll_rw_blk.c

[PATCH 07/23] lib: percpu_count_sum()

2007-08-03 Thread Peter Zijlstra
Provide an accurate version of percpu_counter_read. Signed-off-by: Peter Zijlstra <[EMAIL PROTECTED]> --- include/linux/percpu_counter.h | 18 +- lib/percpu_counter.c |6 +++--- 2 files changed, 20 insertions(+), 4 deletions(-) Index: linux-2.6/include/linux/percp

[PATCH 13/23] mtd: clean up the backing_dev_info usage

2007-08-03 Thread Peter Zijlstra
Give each mtd device its own backing_dev_info instance. Signed-off-by: Peter Zijlstra <[EMAIL PROTECTED]> --- drivers/mtd/mtdcore.c |8 +--- include/linux/mtd/mtd.h |2 ++ 2 files changed, 7 insertions(+), 3 deletions(-) Index: linux-2.6/drivers/mtd/mtdcore.c ==

[PATCH 09/23] lib: percpu_counter_init_irq

2007-08-03 Thread Peter Zijlstra
provide a way to init percpu_counters that are supposed to be used from irq safe contexts. Signed-off-by: Peter Zijlstra <[EMAIL PROTECTED]> --- include/linux/percpu_counter.h |3 +++ lib/percpu_counter.c | 12 2 files changed, 15 insertions(+) Index: linux-2.6/inclu

[PATCH 20/23] lib: floating proportions _single

2007-08-03 Thread Peter Zijlstra
Provide a prop_local that does not use a percpu variable for its counter. This is useful for items that are not (or infrequently) accessed from multiple context and/or are plenty enought that the percpu_counter overhead will hurt (tasks). Signed-off-by: Peter Zijlstra <[EMAIL PROTECTED]> --- incl

[PATCH 17/23] mm: count writeback pages per BDI

2007-08-03 Thread Peter Zijlstra
Count per BDI writeback pages. Signed-off-by: Peter Zijlstra <[EMAIL PROTECTED]> --- include/linux/backing-dev.h |1 + mm/page-writeback.c | 12 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) Index: linux-2.6/mm/page-writeback.c =

Re: CD/DVD-ROM: ide vs. libata

2007-08-03 Thread Mikael Pettersson
On Fri, 03 Aug 2007 13:12:10 +0200, Grega Fajdiga wrote: > Hello, LKML, > > I'm wondering if the old ide-cd from the ide subsystem is still > necessary to get a CD/DVD-ROM working or is there a libata driver >available already, > > Please CC me since I'm not subscribed. If you use libata the

Re: [RFC] Handling kernel stack overflows

2007-08-03 Thread Eric W. Biederman
Well we currently keep a struct thread_info on the stack which while not as bad as task_struct has it's own uses and implications which may limit what you are trying to do. That said a function like: int call_on_new_stack(int (*continuation)(void *), void *closure) { struct task_struct *

Re: [PATCH] update checkpatch.pl to version 0.08

2007-08-03 Thread Andy Whitcroft
Jan Engelhardt wrote: > On Jul 23 2007 16:36, Kok, Auke wrote: >> this somehow seems to match something completely non-related (a function >> pointer declaration case): >> >> ERROR: no space between function name and open parenthesis '(' >> #7278: FILE: drivers/net/e1000e/hw.h:434: >> + bool

Re: [PATCH] USB: Only enable autosuspend by default on certain device classes

2007-08-03 Thread Rogan Dawes
Matthew Garrett wrote: On Fri, Aug 03, 2007 at 01:44:02PM +0200, Oliver Neukum wrote: Am Freitag 03 August 2007 schrieb Matthew Garrett: It's certainly possible to do that, but it's also possible to have a userspace solution that whitelists devices. The question is whether the default kernel b

Re: ATA over ethernet swapping and obfuscated code

2007-08-03 Thread Torsten Kaiser
On 7/31/07, Ed L. Cashin <[EMAIL PROTECTED]> wrote: > It is easy to chat, though. Maybe someday I will test and submit a > patch that implements this mechanism, but I'm hoping that somebody > beats me to it. :) There is already such a mechanism (planned). swap over networked storage -v11 http:/

Scheduler Situation

2007-08-03 Thread T. J. Brumfield
First off, I am an avid reader of the LKML but I'm not a developer. Admittedly I am a piss-poor C developer who likes to poke around the code, play with patches and attempt to learn, but in reality at best I pretend I understand it, and I don't really. I fully defer to the technical knowledge of f

Re: [linux-usb-devel] [PATCH] USB: Only enable autosuspend by default on certain device classes

2007-08-03 Thread Matthew Garrett
On Fri, Aug 03, 2007 at 01:44:02PM +0200, Oliver Neukum wrote: > Am Freitag 03 August 2007 schrieb Matthew Garrett: > > It's certainly possible to do that, but it's also possible to have a > > userspace solution that whitelists devices. The question is whether the > > default kernel behaviour sho

Re: fallocate() man page - darft 2

2007-08-03 Thread Michael Kerrisk
Hi Amit, >> Could you please review the changes, and the FIXMEs. > > Please find my comments below.. Thanks. [...] >> .SH DESCRIPTION >> .BR fallocate () >> allows the caller to directly manipulate the allocated disk space >> for the file referred to by >> .I fd >> for the byte range starting

UML: write errors on terminal

2007-08-03 Thread Miklos Szeredi
I get errors in uml when writing to the xterm console. For example if I do $ cat bigfile [some output] cat: write error: Operation not permitted This is 2.6.23-rc1-mm2, I haven't yet checked other versions. Miklos - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in th

Re: Distributed storage.

2007-08-03 Thread Evgeniy Polyakov
On Fri, Aug 03, 2007 at 02:27:52PM +0200, Peter Zijlstra ([EMAIL PROTECTED]) wrote: > On Fri, 2007-08-03 at 14:57 +0400, Evgeniy Polyakov wrote: > > > For receiving situation is worse, since system does not know in advance > > to which socket given packet will belong to, so it must allocate from

Re: [linux-usb-devel] [PATCH] USB: Only enable autosuspend by default on certain device classes

2007-08-03 Thread Matthew Garrett
On Thu, Aug 02, 2007 at 11:01:08PM -0700, David Brownell wrote: > Seems to me it ought to be practical to organize a database that can > be consulted by an outcall from udev, disabling autosuspend on devices > which are known to be broken. The "modules.usbmap" syntax is an obvious > place to star

[PATCH] pci_get_device call from interrupt in reboot fixups

2007-08-03 Thread Denis V. Lunev
The following calltrace is possible now: handle_sysrq machine_emergency_restart mach_reboot_fixups pci_get_device pci_get_subsys down_read The patch obtains PCI device during initialization to avoid bothering PCI search engine in interrupt. Devices used in this c

Re: [RFC] Handling kernel stack overflows

2007-08-03 Thread Adrian Bunk
On Fri, Aug 03, 2007 at 02:05:53PM +1000, Keith Owens wrote: >... > Long answer: > > * Define a config option to control whether or not extra kernel stacks > are to be used. Set this config option by default on i386 and > x86_64, unless EMBEDDED is set, in which case it becomes a user > sel

[PATCH] lro: eHEA example how to use LRO

2007-08-03 Thread Jan-Bernd Themann
This patch shows how the generic LRO interface is used for SKB mode Signed-off-by: Jan-Bernd Themann <[EMAIL PROTECTED]> --- drivers/net/Kconfig |1 + drivers/net/ehea/ehea.h |9 - drivers/net/ehea/ehea_ethtool.c | 15 +++ drivers/net/ehea/ehea_main.c|

[PATCH] NOMMU: Separate out VMAs

2007-08-03 Thread David Howells
Here's a preview of my patch to give each process a separate list of VMAs under NOMMU mode, just as under MMU mode. Could you have a look over it please? Could you also see if you get a memory leak on the blackfin CPU? I see a leak when I use this patch, but I'm not sure whether it's this patch

[PATCH 15/23] mm: scalable bdi statistics counters.

2007-08-03 Thread Peter Zijlstra
Provide scalable per backing_dev_info statistics counters. Signed-off-by: Peter Zijlstra <[EMAIL PROTECTED]> --- include/linux/backing-dev.h | 85 ++-- mm/backing-dev.c| 27 + 2 files changed, 109 insertions(+), 3 deletions(-) I

[PATCH 21/23] mm: per device dirty threshold

2007-08-03 Thread Peter Zijlstra
Scale writeback cache per backing device, proportional to its writeout speed. By decoupling the BDI dirty thresholds a number of problems we currently have will go away, namely: - mutual interference starvation (for any number of BDIs); - deadlocks with stacked BDIs (loop, FUSE and local NFS mo

[PATCH 11/23] containers: bdi init hooks

2007-08-03 Thread Peter Zijlstra
split off from the large bdi_init patch because containers are not slated for mainline any time soon. Signed-off-by: Peter Zijlstra <[EMAIL PROTECTED]> --- kernel/container.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) Index: linux-2.6/kernel/container.c =

[PATCH 05/23] lib: percpu_counter_set

2007-08-03 Thread Peter Zijlstra
Provide a method to set a percpu counter to a specified value. Signed-off-by: Peter Zijlstra <[EMAIL PROTECTED]> --- include/linux/percpu_counter.h |6 ++ lib/percpu_counter.c | 14 ++ 2 files changed, 20 insertions(+) Index: linux-2.6/include/linux/percpu_counter

[PATCH 06/23] lib: percpu_counter_sum_positive

2007-08-03 Thread Peter Zijlstra
s/percpu_counter_sum/&_positive/ Because its consitent with percpu_counter_read* Signed-off-by: Peter Zijlstra <[EMAIL PROTECTED]> --- fs/ext3/super.c|4 ++-- fs/ext4/super.c|4 ++-- fs/file_table.c|2 +- include/linux/percpu_counter.h

[PATCH 02/23] lib: percpu_counter_add

2007-08-03 Thread Peter Zijlstra
s/percpu_counter_mod/percpu_counter_add/ Because its a better name, _mod implies modulo. Signed-off-by: Peter Zijlstra <[EMAIL PROTECTED]> --- fs/ext2/balloc.c |4 ++-- fs/ext2/ialloc.c |2 +- fs/ext3/balloc.c |4 ++-- fs/ext3/resize.c

[PATCH 10/23] mm: bdi init hooks

2007-08-03 Thread Peter Zijlstra
provide BDI constructor/destructor hooks Signed-off-by: Peter Zijlstra <[EMAIL PROTECTED]> --- block/ll_rw_blk.c | 13 ++--- drivers/block/rd.c | 20 +++- drivers/char/mem.c |5 + fs/char_dev.c |1 +

[PATCH 08/23] lib: percpu_counter_init error handling

2007-08-03 Thread Peter Zijlstra
alloc_percpu can fail, propagate that error. Signed-off-by: Peter Zijlstra <[EMAIL PROTECTED]> --- fs/ext2/super.c| 11 --- fs/ext3/super.c| 11 --- fs/ext4/super.c| 11 --- include/linux/percpu_counter.h |5 +++--

Re: 2.6.22 regression: thermal trip points

2007-08-03 Thread Knut Petersen
Len Brown : > > > Thanks for the sighting, Knut! > This regression is dramatic when put in the terms of 50% performance hit! > I guess the good news is that thermal throttling is doing the job > we are asking it to:-) > > > Thermal management by cpufreq is working really fine ;-) My problems

EIP: [dnotify_flush+104/160] dnotify_flush+0x68/0xa0 SS:ESP 0068:ecf85f80

2007-08-03 Thread Sam Bromley
Hi Folks, Sorry to bother you all, but I've been unable to find anything definitive about this crash. I suspect it's a harddrive or ram issue, perhaps, but I really don't know for sure. The details from the crash are below. If any of you know that "yep, it's just hardware", I'd really appreciate

Fwd: about modularization

2007-08-03 Thread T. J. Brumfield
On 8/3/07, Ingo Molnar <[EMAIL PROTECTED]> wrote: > snip... Except that a working prototype of plugsched exists and functions exactly as advertised. I understand that modules can be loaded and unloaded, where as other aspects of the core kernel can't just load/unload as the kernel is running, but

Re: CD/DVD-ROM: ide vs. libata

2007-08-03 Thread Grega Fajdiga
Mikael Pettersson pravi: If you use libata then you don't need anything from CONFIG_IDE, including ide-cd and ide-scsi. Thanks for your answer regards, Grega - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordo

Re: Regression in 2.6.22, clock problems on Turion with 32-bit kernel

2007-08-03 Thread Tim Gardner
One other option that allows these systems to boot is 'acpi=off', though that is hardly useful on a laptop. rtg Ben Collins wrote: > Tim and I have both experienced this problem. With 2.6.20 things worked > perfectly fine on these systems. The two machines are a Dell 1501 Turion > X2 and Dell 152

Re: Distributed storage.

2007-08-03 Thread Peter Zijlstra
On Fri, 2007-08-03 at 17:49 +0400, Evgeniy Polyakov wrote: > On Fri, Aug 03, 2007 at 02:27:52PM +0200, Peter Zijlstra ([EMAIL PROTECTED]) > wrote: > > On Fri, 2007-08-03 at 14:57 +0400, Evgeniy Polyakov wrote: > > > > > For receiving situation is worse, since system does not know in advance > > >

Re: [linux-usb-devel] [PATCH] USB: Only enable autosuspend by default on certain device classes

2007-08-03 Thread David Brownell
On Friday 03 August 2007, Dave Jones wrote: > On Thu, Aug 02, 2007 at 11:06:08PM -0700, David Brownell wrote: > > > Sometimes when I plug in a USB device I get a dialog asking if I want to > > configure it ... surely it would be possible to have that mechanism also > > consult a database (part

Re: Scheduler Situation

2007-08-03 Thread T. J. Brumfield
> I'm not going to argue with this point because I think this is exactly what > Linus meant. He wanted a scheduler that worked. And he knew it wouldn't work > immediately after merging it. So he had to go with the person that he trusted > the most to make it work, quickly. And this was Ingo. That m

Re: [linux-usb-devel] [PATCH] USB: Only enable autosuspend by default on certain device classes

2007-08-03 Thread Adam Kropelin
Dave Jones wrote: On Fri, Aug 03, 2007 at 04:43:16PM +0200, Jiri Kosina wrote: On Fri, 3 Aug 2007, Matthew Garrett wrote: Windows will autosuspend hubs, bluetooth devices, HID devices Hi Matthew, are you sure about windows suspending the HID devices in runtime? I have never seen LEDs of USB

Re: renaming kernel devices [was: VIA EPIA EK: strange eth dev numbering]

2007-08-03 Thread Stefan Richter
[EMAIL PROTECTED] wrote: > On Thu, 2 Aug 2007, Ondrej Zajicek wrote: >> On Thu, Aug 02, 2007 at 01:47:23PM +0200, Jan Engelhardt wrote: >>> It does not rename ethX to the "next free" one, but to a _persistent_ one. >>> If it were a "next free" thing, then removing a card would shuffle all >>> your

Re: [PATCH] USB: Only enable autosuspend by default on certain device classes

2007-08-03 Thread Matthew Garrett
On Fri, Aug 03, 2007 at 10:41:13AM -0400, Alan Stern wrote: > On Fri, 3 Aug 2007, Matthew Garrett wrote: > > I'm not so > > enthusiastic about the "Increase the timeout case" - it doesn't avoid > > any races, just makes them less likely. USB is likely to get loaded in > > the initramfs, but we m

Re: [PATCH 45] drivers/scsi/lpfc/lpfc_init.c: kmalloc + memset conversion to kcalloc

2007-08-03 Thread James Smart
ACK -- james s Mariusz Kozlowski wrote: Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> drivers/scsi/lpfc/lpfc_init.c | 65932 -> 65881 (-51 bytes) drivers/scsi/lpfc/lpfc_init.o | 219760 -> 219616 (-144 bytes) drivers/scsi/lpfc/lpfc_init.c |3 +-- 1 file changed, 1 insertion(+), 2

Re: [PATCH 46] drivers/scsi/lpfc/lpfc_scsi.c: kmalloc + memset conversion to kzalloc

2007-08-03 Thread James Smart
ACK -- james s Mariusz Kozlowski wrote: Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> drivers/scsi/lpfc/lpfc_scsi.c | 42769 -> 42721 (-48 bytes) drivers/scsi/lpfc/lpfc_scsi.o | 191332 -> 191240 (-92 bytes) drivers/scsi/lpfc/lpfc_scsi.c |3 +-- 1 file changed, 1 insertion(+), 2 d

Re: [PATCH 44] drivers/scsi/lpfc/lpfc_debugfs.c: kmalloc + memset conversion to kcalloc

2007-08-03 Thread James Smart
ACK -- james s Mariusz Kozlowski wrote: Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> drivers/scsi/lpfc/lpfc_debugfs.c | 13809 -> 13716 (-93 bytes) drivers/scsi/lpfc/lpfc_debugfs.o | 146124 -> 146124 (0 bytes) drivers/scsi/lpfc/lpfc_debugfs.c |7 ++- 1 file changed, 2 insert

Re: Regression in 2.6.22, clock problems on Turion with 32-bit kernel

2007-08-03 Thread Ben Collins
On Fri, 2007-08-03 at 08:30 -0700, Arjan van de Ven wrote: > > I've tried every combination of boot param revolving around clocksource > > and interrupts. The only thing that gets me booting is nolapic, but then > > again, that knocks me down to a single cpu. > > hummm I wonder how nolapic k

Re: Regression in 2.6.22, clock problems on Turion with 32-bit kernel

2007-08-03 Thread Arjan van de Ven
On Fri, 2007-08-03 at 11:43 -0400, Ben Collins wrote: > On Fri, 2007-08-03 at 08:30 -0700, Arjan van de Ven wrote: > > > I've tried every combination of boot param revolving around clocksource > > > and interrupts. The only thing that gets me booting is nolapic, but then > > > again, that knocks me

Re: [linux-usb-devel] [PATCH] USB: Only enable autosuspend by default on certain device classes

2007-08-03 Thread Dave Jones
On Fri, Aug 03, 2007 at 05:31:52PM +0200, Jiri Kosina wrote: > > Plus if you're connected to such a device for monitoring purposes you're > > probably powered by it as well, so you have little to gain from suspend > > even if it works. > > I currently don't have any HID UPS by hand to veri

Re: Regression in 2.6.22, clock problems on Turion with 32-bit kernel

2007-08-03 Thread Cal Peake
On Fri, 3 Aug 2007, Ben Collins wrote: > > On Fri, 2007-08-03 at 08:30 -0700, Arjan van de Ven wrote: > > > I've tried every combination of boot param revolving around clocksource > > > and interrupts. The only thing that gets me booting is nolapic, but then > > > again, that knocks me down to a

Re: ACPI on Averatec 2370

2007-08-03 Thread Ben Collins
On Thu, 2007-08-02 at 14:07 -0700, Linus Torvalds wrote: > > On Thu, 2 Aug 2007, Cal Peake wrote: > > > > Figured I should have sent that right after I hit the send key... > > > > processor : 0 > > vendor_id : AuthenticAMD > > cpu family : 15 > > model : 72 > > model name : A

Re: [linux-usb-devel] [PATCH] USB: Only enable autosuspend by default on certain device classes

2007-08-03 Thread David Brownell
On Friday 03 August 2007, Dave Jones wrote: >  > We have been playing with runtime autosuspend of HID devices, are >  > currently postponed the full support, as it turns out that many devices >  > don't support this feature properly (probably due to not being tested in >  > Windows). > > Intere

Re: UML: write errors on terminal

2007-08-03 Thread Jeff Dike
On Fri, Aug 03, 2007 at 01:45:29PM +0200, Miklos Szeredi wrote: > I get errors in uml when writing to the xterm console. For example if I do > > $ cat bigfile > [some output] > cat: write error: Operation not permitted > > This is 2.6.23-rc1-mm2, I haven't yet checked other versions. Rats, I

Re: Regression in 2.6.22, clock problems on Turion with 32-bit kernel

2007-08-03 Thread Ben Collins
On Fri, 2007-08-03 at 11:50 -0400, Cal Peake wrote: > On Fri, 3 Aug 2007, Ben Collins wrote: > > > > > On Fri, 2007-08-03 at 08:30 -0700, Arjan van de Ven wrote: > > > > I've tried every combination of boot param revolving around clocksource > > > > and interrupts. The only thing that gets me bo

Re: [PATCH] sata_qstor, pdc_adma, sata_sx4: convert to new EH

2007-08-03 Thread Jeff Garzik
Tejun Heo wrote: Jeff Garzik wrote: This is just a refresh of the existing libata-dev.git#new-eh patches that convert all remaining old-EH drivers to new EH, against 2.6.23-rc1. All three conversions are completely untested. pdc_adma and sata_qstor need reviewing by someone with docs, in addit

Re: gcc fixed size char array initialization bug - known?

2007-08-03 Thread Stefan Richter
Jakub Jelinek wrote: > ISO C99 is very obvious in that the terminating '\0' (resp. L'\0') from > the string literal is only added if there is room in the array or if the > array has unknown size. I would say C99 is /explicit/ in this regard. It doesn't seem like an overly /obvious/ language featur

Re: about modularization

2007-08-03 Thread Ingo Molnar
* T. J. Brumfield <[EMAIL PROTECTED]> wrote: > CFS is apparently better in its simplicity, however others are > reporting that SD still provides benefits for 3D gaming. [...] even for 3D gaming the opposite of what you say seems to be the case: http://people.redhat.com/mingo/misc/cfs-sd-ut20

Re: [linux-usb-devel] [PATCH] USB: Only enable autosuspend by default on certain device classes

2007-08-03 Thread Jiri Kosina
On Fri, 3 Aug 2007, David Brownell wrote: > And could you elaborate on "many"? What proportion of HID devices (by > volume, model, etc) seem to have problems? Last time I tried with two random USB keyboards - one from Logitech and one from Chicony, I don't remember the exact PIDs, but could lo

Re: Regression in 2.6.22, clock problems on Turion with 32-bit kernel

2007-08-03 Thread Arjan van de Ven
> I've tried every combination of boot param revolving around clocksource > and interrupts. The only thing that gets me booting is nolapic, but then > again, that knocks me down to a single cpu. hummm I wonder how nolapic knows you down to a single cpu... that is just an entirely strange

Re: about modularization

2007-08-03 Thread Ingo Molnar
* T. J. Brumfield <[EMAIL PROTECTED]> wrote: > On 8/3/07, Ingo Molnar <[EMAIL PROTECTED]> wrote: > > snip... > > Except that a working prototype of plugsched exists and functions > exactly as advertised. [...] a prototype for dynamic syscalls exists too. A prototype for pluggable network IPv4

Re: drbd 8.0.2/3 doesn't load under kernel 2.6.21

2007-08-03 Thread Lars Ellenberg
On Thu, Aug 02, 2007 at 02:00:05AM +0200, Adrian Bunk wrote: > On Wed, Aug 01, 2007 at 07:02:14PM -0400, Maurice Volaski wrote: > > First, did you confirm this behavior? Can you please explain that? How > > could they possibly interact with one another? > > > It's obvious when looking at the sou

Re: rpc.mountd crashes when extensively using netgroups

2007-08-03 Thread Steve Dickson
Satyam Sharma wrote: Hi, On Thu, 2 Aug 2007, Stefan Walter wrote: Steve Dickson wrote: Stefan Walter wrote: We do this on a much larger scale though. The bug we ran into is in line 96 in utils/mountd/auth.c. The strcpy can corrupt memory when it copies the string returned by client_compos

Re: Regression in 2.6.22, clock problems on Turion with 32-bit kernel

2007-08-03 Thread Cal Peake
On Fri, 3 Aug 2007, Ben Collins wrote: > nolapic_timer does not fix it for me. Only nolapic and acpi=off works. I > commented on that thread as well now, thanks. Interesting. However, I don't have NO_HZ so maybe that plays on it... -- Cal Peake - To unsubscribe from this list: send the line "u

Re: gcc fixed size char array initialization bug - known?

2007-08-03 Thread Alexander van Heukelum
On Fri, 3 Aug 2007 00:09:15 +0100, "Al Viro" <[EMAIL PROTECTED]> said: > On Fri, Aug 03, 2007 at 12:51:16AM +0200, Guennadi Liakhovetski wrote: > > On Fri, 3 Aug 2007, Stefan Richter wrote: > > > > > Guennadi Liakhovetski wrote: > > > > with > > > > > > > > char c[4] = "012345"; > > > >

  1   2   3   4   >