Re: [PATCH 6/6] Use one zonelist that is filtered by nodemask

2007-11-09 Thread Nishanth Aravamudan
On 09.11.2007 [16:14:55 +], Mel Gorman wrote: > On (09/11/07 07:45), Christoph Lameter didst pronounce: > > On Fri, 9 Nov 2007, Mel Gorman wrote: > > > > > struct page * fastcall > > > __alloc_pages(gfp_t gfp_mask, unsigned int order, > > > struct zonelist *zonelist) > > > { > >

Re: [PATCH] markers: modpost

2007-11-09 Thread David Smith
Mathieu Desnoyers wrote: > Hrm, what would happen if a gcc optimization eventually decides to mix > the memory layout of the strings ? Is there something that specifies > that they won't ? Here's another patch that Roland wrote and I tested that attempts to solve the potential problem of string

Re: Patch tags [was writeout stalls in current -git]

2007-11-09 Thread Adrian Bunk
On Fri, Nov 09, 2007 at 09:10:47AM -0700, Jonathan Corbet wrote: > Adrian Bunk <[EMAIL PROTECTED]> wrote: > > > What's missing is a definition which of them are formal tags that must > > be explicitely given (look at point 13 in SubmittingPatches). > > > > Signed-off-by: and Reviewed-by: are

Re: [PATCH 6/6] Use one zonelist that is filtered by nodemask

2007-11-09 Thread Christoph Lameter
On Fri, 9 Nov 2007, Mel Gorman wrote: > > Argh GFP_THISNODE must use the nid passed to alloc_pages_node and > > *not* the local numa node id. Only if the node specified to alloc_pages > > nodes is -1 will this work. > > > > alloc_pages_node() calls __alloc_pages_nodemask() though where in

Re: [PATCH 6/6] Use one zonelist that is filtered by nodemask

2007-11-09 Thread Mel Gorman
On (09/11/07 07:45), Christoph Lameter didst pronounce: > On Fri, 9 Nov 2007, Mel Gorman wrote: > > > struct page * fastcall > > __alloc_pages(gfp_t gfp_mask, unsigned int order, > > struct zonelist *zonelist) > > { > > + /* > > +* Use a temporary nodemask for __GFP_THISNODE

Re: Patch tags [was writeout stalls in current -git]

2007-11-09 Thread Jonathan Corbet
Adrian Bunk <[EMAIL PROTECTED]> wrote: > What's missing is a definition which of them are formal tags that must > be explicitely given (look at point 13 in SubmittingPatches). > > Signed-off-by: and Reviewed-by: are the formal tags someone must have > explicitely given and that correspond to

Re: Module init call vs symbols exporting race?

2007-11-09 Thread Jan Glauber
On Thu, 2007-11-08 at 13:10 +1100, Rusty Russell wrote: > On Wednesday 07 November 2007 21:01:30 Jan Glauber wrote: > > Hi Rusty, > > > > I've seen a symbol-resolving race on s390. The qeth module uses symbols > > from qdio and although the loading order seems correct and the qdio > > symbols

Re: [BUG]: Crash with CONFIG_FAIR_CGROUP_SCHED=y

2007-11-09 Thread Serge E. Hallyn
Quoting Srivatsa Vaddagiri ([EMAIL PROTECTED]): > On Fri, Nov 09, 2007 at 09:45:21AM +0100, Dmitry Adamushko wrote: > > Humm... the 'current' is not kept within the tree but > > current->se.on_rq is supposed to be '1' , > > so the old code looks ok to me (at least for the 'leaf' elements). > >

Re: Some interesting observations when trying to optimize vmstat handling

2007-11-09 Thread Andi Kleen
On Friday 09 November 2007 01:19, Jeremy Fitzhardinge wrote: > Andi Kleen wrote: > > The only problem is that there might be some code who relies on > > restore_flags() restoring other flags that IF, but at least for > > interrupts and local_irq_save/restore it should be fine to change. > > I

Re: libata: cdrw/dvdrom disabed after s2ram (2.6.24-rc2)

2007-11-09 Thread Roberto Oppedisano
Jeff Garzik wrote, On 11/08/2007 07:02 PM: > Set module option "noacpi" to 1, to disable ACPI and see if that fixes > the problem. > Booting with libata.noacpi=1 fixes the problem too. R - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH 6/6] Use one zonelist that is filtered by nodemask

2007-11-09 Thread Christoph Lameter
On Fri, 9 Nov 2007, Mel Gorman wrote: > struct page * fastcall > __alloc_pages(gfp_t gfp_mask, unsigned int order, > struct zonelist *zonelist) > { > + /* > + * Use a temporary nodemask for __GFP_THISNODE allocations. If the > + * cost of allocating on the stack or

[PATCH] CRISv32: Add cache flush operations

2007-11-09 Thread Jesper Nilsson
Add cache flush operations for CRISv32. These are needed due to a cache bug, and can be used to make sure that the DMA descriptors are flushed to memory and can be safely handled by DMA. flush_dma_descr - Flush one DMA descriptor. flush_dma_list - Flush a complete list of DMA descriptors.

only 1 disk of 5 in port multiplier setup is recognized

2007-11-09 Thread Greg Hennessy
I have a silicon image 3124 based pci card that is port multiplier compatible (it works fine under win xp) that is only showing one of 5 attached drives when attached to a Redhat 5 computer, with both 2.6.18-8.1.15.el5 and 2.6.23.1. The SATA link shows as up for the one recognized drive, the

[PATCH 6/6] MN10300: Add MTD flash support for the ASB2303 board [try #5]

2007-11-09 Thread David Howells
Add MTD flash support for the ASB2303 board. Signed-off-by: David Howells <[EMAIL PROTECTED]> --- arch/mn10300/configs/asb2303_defconfig |1 drivers/mtd/chips/jedec_probe.c|2 drivers/mtd/maps/Kconfig |8 + drivers/mtd/maps/Makefile |1

[PATCH 4/6] MN10300: Allocate serial port UART IDs for on-chip serial ports [try #5]

2007-11-09 Thread David Howells
Allocate serial port UART type IDs for the MN10300 on-chip serial ports. Signed-off-by: David Howells <[EMAIL PROTECTED]> Acked-by: Alan Cox <[EMAIL PROTECTED]> --- include/linux/serial_core.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/include/linux/serial_core.h

[PATCH 3/6] USB: net2280 can't have a function called show_registers() [try #5]

2007-11-09 Thread David Howells
net2280 can't have a function called show_registers() because this can produce a namespace clash with an arch function of the same name. All this driver's functions and variables should really be prefixed with "net2280_" to avoid such a problem in future. Signed-off-by: David Howells <[EMAIL

[PATCH 2/6] MTD: Add support for the SST 39VF1601 flash chip [try #5]

2007-11-09 Thread David Howells
Add support for the SST 39VF1601 flash chip. Signed-off-by: David Howells <[EMAIL PROTECTED]> --- drivers/mtd/chips/jedec_probe.c | 15 +++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/chips/jedec_probe.c b/drivers/mtd/chips/jedec_probe.c index

[PATCH 0/6] MN10300: Add the MN10300 architecture to Linux kernel [try #5]

2007-11-09 Thread David Howells
These patches add the MEI/Panasonic MN10300/AM33 architecture to the Linux kernel. The first patch suppresses A.OUT support in the kernel if CONFIG_BINFMT_AOUT=n and CONFIG_IA32_AOUT=n and CONFIG_BINFMT_AOUT32=n. MN10300 does not support the AOUT binfmt, so the ELF binfmt should not be

Re: [2.6 patch] always export pci_scan_single_device

2007-11-09 Thread Doug Thompson
ACK:Doug Thompson <[EMAIL PROTECTED]> --- Adrian Bunk <[EMAIL PROTECTED]> wrote: > This patch fixes the following build error with CONFIG_HOTPLUG=n: > > <-- snip --> > > ... > MODPOST 2137 modules > ERROR: "pci_scan_single_device" [drivers/edac/i82875p_edac.ko] undefined! > make[2]:

Re: [PATCH 2/6] Introduce node_zonelist() for accessing the zonelist for a GFP mask

2007-11-09 Thread Christoph Lameter
Reviewed-by: Christoph Lameter <[EMAIL PROTECTED]> - 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 http://www.tux.org/lkml/

Re: [PATCH mm] unionfs: clear partial read

2007-11-09 Thread Erez Zadok
In message <[EMAIL PROTECTED]>, Hugh Dickins writes: > unionfs_do_readpage forgot to clear the rest of the page when vfs_read > does not fill the page: fix that. > > Signed-off-by: Hugh Dickins <[EMAIL PROTECTED]> > --- > > fs/unionfs/mmap.c |3 ++- > 1 file changed, 2 insertions(+), 1

Re: [2.6 patch] x86 kprobes_64.c: make 3 functions static

2007-11-09 Thread Adrian Bunk
On Fri, Nov 09, 2007 at 07:06:09AM -0800, Arjan van de Ven wrote: > On Fri, 9 Nov 2007 07:03:26 +0100 > Adrian Bunk <[EMAIL PROTECTED]> wrote: > > > This patch makes the following needlessly global functions static: > > - kprobe_handler() > > - trampoline_probe_handler() > > -

Re: 2.6.24-rc2 slab vs slob tbench numbers

2007-11-09 Thread Christoph Lameter
On Fri, 9 Nov 2007, Nick Piggin wrote: > Just ran some tbench numbers (from dbench-3.04), on a 2 socket, 8 > core x86 system, with 1 NUMA node per socket. With kernel 2.6.24-rc2, > comparing slab vs slub allocators. You saw the discussion at http://marc.info/?l=linux-kernel=119354245426072=2

kernel BUG message while using jffs2

2007-11-09 Thread Alexandru Damian
Hello, Sorry for posting here, it seems the best spot; if I need to redirect this to mtd-utils team, please tell me. I'm playing around with some jffs2 files. While trying to mount (via block2mtd, loop) a jffs2 system, a "kernel BUG message" appeared in dmesg, with these lines: kernel BUG at

Re: [2.6 patch] x86 kprobes_64.c: make 3 functions static

2007-11-09 Thread Arjan van de Ven
On Fri, 9 Nov 2007 07:03:26 +0100 Adrian Bunk <[EMAIL PROTECTED]> wrote: > This patch makes the following needlessly global functions static: > - kprobe_handler() > - trampoline_probe_handler() > - post_kprobe_handler() > while I appreciate your cleanups, I would like to ask you to be a bit

Re: [PATCH] Add quirk to set AHCI mode on ICH boards

2007-11-09 Thread Arjan van de Ven
On Thu, 8 Nov 2007 23:57:48 -0500 Jeff Garzik <[EMAIL PROTECTED]> wrote: > On Thu, Nov 08, 2007 at 11:44:22PM -0500, Mark Lord wrote: > > Jeff Garzik wrote: > > >On Thu, Nov 08, 2007 at 10:29:37PM -0500, Mark Lord wrote: > > >>And I might even privately patch my own kernels to map the ACHI > >

Re: [PATCH] Add quirk to set AHCI mode on ICH boards

2007-11-09 Thread Török Edwin
Alan Cox wrote: > On Thu, 8 Nov 2007 22:46:22 -0500 > Jeff Garzik <[EMAIL PROTECTED]> wrote: > > >> On Thu, Nov 08, 2007 at 10:29:37PM -0500, Mark Lord wrote: >> >>> And I might even privately patch my own kernels to map the ACHI BAR >>> in the cases where the BIOS didn't... >>> >>

Re: [Patch] Allocate sparse vmemmap block above 4G

2007-11-09 Thread Mel Gorman
On (09/11/07 09:28), Zou, Nanhai didst pronounce: > > Wrong markup there I believe. The __meminit markup is for functions > > that are needed at runtime when memory is hot-added or hot-removed. > > Bootmem functions do not qualify. __init is sufficient. > > > __meminit here is to avoid section

[PATCH 5/6] Filter based on a nodemask as well as a gfp_mask

2007-11-09 Thread Mel Gorman
The MPOL_BIND policy creates a zonelist that is used for allocations belonging to that thread that can use the policy_zone. As the per-node zonelist is already being filtered based on a zone id, this patch adds a version of __alloc_pages() that takes a nodemask for further filtering. This

[PATCH 6/6] Use one zonelist that is filtered by nodemask

2007-11-09 Thread Mel Gorman
Two zonelists exist so that GFP_THISNODE allocations will be guaranteed to use memory only from a node local to the CPU. As we can now filter the zonelist based on a nodemask, we filter the standard node zonelist for zones on the local node when GFP_THISNODE is specified. When GFP_THISNODE is

[PATCH 4/6] Have zonelist contains structs with both a zone pointer and zone_idx

2007-11-09 Thread Mel Gorman
Filtering zonelists requires very frequent use of zone_idx(). This is costly as it involves a lookup of another structure and a substraction operation. As the zone_idx is often required, it should be quickly accessible. The node idx could also be stored here if it was found that accessing

[PATCH 2/6] Introduce node_zonelist() for accessing the zonelist for a GFP mask

2007-11-09 Thread Mel Gorman
This patch introduces a node_zonelist() helper function. It is used to lookup the appropriate zonelist given a node and a GFP mask. The patch on its own is a cleanup but it helps clarify parts of the one-zonelist-per-node patchset. If necessary, it can be merged with the next patch in this set

[PATCH 3/6] Use two zonelist that are filtered by GFP mask

2007-11-09 Thread Mel Gorman
Currently a node has a number of zonelists, one for each zone type in the system and a second set for GFP_THISNODE allocations. Based on the zones allowed by a gfp mask, one of these zonelists is selected. All of these zonelists consume memory and occupy cache lines. This patch replaces the

[PATCH 1/6] Use zonelists instead of zones when direct reclaiming pages

2007-11-09 Thread Mel Gorman
The allocator deals with zonelists which indicate the order in which zones should be targeted for an allocation. Similarly, direct reclaim of pages iterates over an array of zones. For consistency, this patch converts direct reclaim to use a zonelist. No functionality is changed by this patch.

[PATCH 0/6] Use one zonelist per node instead of multiple zonelists v9

2007-11-09 Thread Mel Gorman
This is basically a rebase to the broken-out -mm tree. Since v8, two fixes have been applied that showed up during testing. Most machines I test -mm on are failing to boot for a variety of reasons but on the two machines that did work, they appeared to work fine. Changelog since V8 o Rebase to

Re: nozomi version 2.1c for review

2007-11-09 Thread Alan Cox
> and already in Gregs git repository) i resolved and removed all those > GET_* and SET_* macros. Oh good, that was long overdue. > + switch (port) { > + case PORT_MDM: > + dc->last_ier = (dc->last_ier & ~MDM_UL) | MDM_UL; > + break; The & ~xxx is

Re: [2.6 patch] kill drivers/nubus/nubus_syms.c

2007-11-09 Thread Adrian Bunk
On Tue, Nov 06, 2007 at 09:32:16AM +0100, Geert Uytterhoeven wrote: > On Mon, 5 Nov 2007, Adrian Bunk wrote: > > EXPORT_SYMBOL's belong to the actual code. > > > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> > > Acked-by: Geert Uytterhoeven <[EMAIL PROTECTED]> > if you add a #include to

Re: Laptop's HDD

2007-11-09 Thread Maciej W. Rozycki
On Sun, 4 Nov 2007, Alberto Gonzalez wrote: > The problem comes from a very high rate of load/unload cycles of the heads > that reaches the 300.000-600.000 limit in 2-3 years (with smartmontools it > can checked it with "smartctl -A /dev/sda") . There are reports of HDD dying > even earlier

Re: [OOPS] 2.6.23.1 in NFS

2007-11-09 Thread Trond Myklebust
On Fri, 2007-11-09 at 09:55 +, Mark Hindley wrote: > I got this OOPS this morning on a K6. Sorry it is tainted by madwifi. > ath5k doesn't (yet!) support my card. Box is K6 200, headless, used as > firewall/router > > It looks like the same codepath as http://lkml.org/lkml/2007/11/6/275 >

[PATCH] ehea: Add kdump support

2007-11-09 Thread Thomas Klein
To support ehea driver reloading in a kdump kernel the driver has to perform firmware handle deregistrations when the original kernel crashes. As there's currently no notifier chain for machine crashes this patch enables kdump support in the ehea driver by bending the ppc_md.machine_crash_shutdown

Re: [PATCH] sched: avoid large irq-latencies in smp-balancing

2007-11-09 Thread Nick Piggin
On Thursday 08 November 2007 15:37, Gregory Haskins wrote: > Peter Zijlstra wrote: > > Bah, missed a hunk > > > > --- > > Subject: sched: avoid large irq-latencies in smp-balancing > > > > SMP balancing is done with IRQs disabled and can iterate the full rq. > > When rqs are large this can cause

Re: [PATCH] Add quirk to set AHCI mode on ICH boards

2007-11-09 Thread Riki Oktarianto
On Thu, Nov 08, 2007 at 09:31:30PM -0500, Jeff Garzik wrote: > On Fri, Nov 09, 2007 at 09:02:35AM +0700, Riki Oktarianto wrote: > > Some BIOSen map AHCI ABAR but lock the SATA controller to IDE mode. > > This patch add quirk to set AHCI mode on ICH board with such case. > > > > Tested on

Re: [PATCH] sched: avoid large irq-latencies in smp-balancing

2007-11-09 Thread DM
Peter Zijlstra infradead.org> writes: > @@ -2237,7 +2243,7 @@ balance_tasks(struct rq *this_rq, int th > enum cpu_idle_type idle, int *all_pinned, > int *this_best_prio, struct rq_iterator *iterator) > { > - int pulled = 0, pinned = 0, skip_for_load; > + int loops

2.6.24-rc2 slab vs slob tbench numbers

2007-11-09 Thread Nick Piggin
Hi, Just ran some tbench numbers (from dbench-3.04), on a 2 socket, 8 core x86 system, with 1 NUMA node per socket. With kernel 2.6.24-rc2, comparing slab vs slub allocators. I run from 1 to 16 client threads, 5 times each, and restarting the tbench server between every run. I'm just taking the

Re: iozone write 50% regression in kernel 2.6.24-rc1

2007-11-09 Thread Martin Knoblauch
- Original Message > From: "Zhang, Yanmin" <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Cc: LKML > Sent: Friday, November 9, 2007 10:47:52 AM > Subject: iozone write 50% regression in kernel 2.6.24-rc1 > > Comparing with 2.6.23, iozone sequential write/rewrite (512M) has > 50% >

Re: [PATCH] Don't fail ata device revalidation for bad _GTF methods

2007-11-09 Thread Roberto Oppedisano
I can confirm that this patch solves the problem with s2ram on my laptop. R Matthew Garrett wrote: Experience suggests that the _GTF method may be bad. We currently fail device revalidation in that case, which seems excessive. Signed-off-by: Matthew Garrett <[EMAIL PROTECTED]> --- diff

Re: 2.6.24-rc1 and 2.6.24.rc2 hangs while running udev on my laptop

2007-11-09 Thread Andreas Herrmann
> On Fri, 9 Nov 2007 09:47:02 +0100 SANGOI DINO LEONARDO <[EMAIL PROTECTED]> > wrote: > > Hi, > > > > My laptop (an HP nx6125) doesn't boot with kernels 2.6.24-rc1 and > > 2.6.24.rc2. > > It works fine with 2.6.23 and older. > > > > I seen this bug first while running fedora rawhide, so you

Re: Module init call vs symbols exporting race?

2007-11-09 Thread Jon Masters
On Thu, 2007-11-08 at 13:10 +1100, Rusty Russell wrote: > On Wednesday 07 November 2007 21:01:30 Jan Glauber wrote: > > Hi Rusty, > > > > I've seen a symbol-resolving race on s390. The qeth module uses symbols > > from qdio and although the loading order seems correct and the qdio > > symbols

Re: Linux 2.6.24-rc2

2007-11-09 Thread Jon Masters
On Tue, 2007-11-06 at 16:26 -0800, Linus Torvalds wrote: > It's full of such *riveting* entries like: > > James Bottomley: > x86: voyager: fix bogus conversion to per_cpu for boot_cpu_info Nobody just happens upon a Voyager quote like that, it takes (at least some) skill to

Re: [PATCH] Add quirk to set AHCI mode on ICH boards

2007-11-09 Thread Alan Cox
On Thu, 8 Nov 2007 22:46:22 -0500 Jeff Garzik <[EMAIL PROTECTED]> wrote: > On Thu, Nov 08, 2007 at 10:29:37PM -0500, Mark Lord wrote: > > And I might even privately patch my own kernels to map the ACHI BAR > > in the cases where the BIOS didn't... > > The inability to do this in the general case

Re: [BUG]: Crash with CONFIG_FAIR_CGROUP_SCHED=y

2007-11-09 Thread Srivatsa Vaddagiri
On Fri, Nov 09, 2007 at 11:59:15AM +0100, Dmitry Adamushko wrote: > > - The second problem exposed by this test is that task_new_fair() > > assumes that parent and child will be part of the same group (which > > needn't be as this test shows). As a result, cfs_rq->curr can be NULL > > for

Re: [PATCH] virtio config_ops refactoring

2007-11-09 Thread Rusty Russell
On Friday 09 November 2007 09:33:04 Anthony Liguori wrote: > I really want to make sure that if a guest tries > to read a 4-byte PCI config field, that it does so using an "outl" > instruction so that in my QEMU backend So you want to enforce PCI requirements onto virtio config accesses. This

Re: oops in oprofile/dump_trace/X86 with 2.6.24-rcX

2007-11-09 Thread Philippe Elie
On Thu, 08 Nov 2007 at 10:54 +, Andrew Morton wrote: > Philippe, on Sun, 21 Oct you sent a "[patch 1/2] oProfile: oops when > profile_pc() return ~0LU" which as far as I can tell never got applied. > > Also, I have no record of [patch 2/2] from that day. Can you please refresh > and resend

[PATCH 1/1]: oProfile: oops when profile_pc() return ~0LU

2007-11-09 Thread Philippe Elie
From: Philippe Elie <[EMAIL PROTECTED]> Instruction pointer returned by profile_pc() can be a random value. This break the assumption than we can safely set struct op_sample.eip field to a magic value to signal to the per-cpu buffer reader side special event like task switch ending up in a

[PATCH] oProfile: support for AMD family10

2007-11-09 Thread Philippe Elie
From: Barry Kasindorf <[EMAIL PROTECTED]> oProfile Driver Module Patch for AMD Family10h Kernel 2.6.23 This patch is for controlling the upper 32bits of the event ctrl msrs. This includes the upper 4 bits of the event select and the Guest Only and Host Only bits This patch is necessary to make

Re: conflict between tickless and perfmon2

2007-11-09 Thread Peter Zijlstra
On Fri, 2007-11-09 at 02:44 -0800, Stephane Eranian wrote: > Hello, > > We have identified a conflict between TICKLESS (CONFIG_NO_HZ) and > the current perfmon2 implementation. The problem impacts system-wide > sessions using timeout-based event set multiplexing. > > Event set multiplexing

Re: [kvm-devel] [PATCH 3/3] virtio PCI device

2007-11-09 Thread Arnd Bergmann
On Thursday 08 November 2007, Anthony Liguori wrote: > > They already show up underneath of the PCI bus. The issue is that there > are two separate 'struct device's for each virtio device. There's the > PCI device (that's part of the pci_dev structure) and then there's the > virtio_device

Re: [PATCH 0/2] MN10300: Add the MN10300 architecture to Linux kernel [try #3]

2007-11-09 Thread Adrian Bunk
On Thu, Nov 08, 2007 at 02:00:08PM +, David Howells wrote: > Adrian Bunk <[EMAIL PROTECTED]> wrote: > > > The patch to include/asm-generic/Kbuild.asm doesn't seem to be required. > > It is. asm/a.out.h does not exist for MN10300, therefore the export process > breaks unless it is told not

Re: Fw: Buffer overflow in CIFS VFS.

2007-11-09 Thread Przemyslaw Wegrzyn
Steve French wrote: > You are correct that the CIFS code calls SendReceive in cases in which > the buffer may be too small to fit a large SMB response, and that > should be fixed (e.g. to avoid possible overflows due to a server > bug), None of the eight cases (SMB TreeDisconnect, SMB uLogoff, SMB

Re: [BUG]: Crash with CONFIG_FAIR_CGROUP_SCHED=y

2007-11-09 Thread Dmitry Adamushko
On 09/11/2007, Srivatsa Vaddagiri <[EMAIL PROTECTED]> wrote: > [ ... ] > > As a solution to this problem, I moved sched_fork() call, which > initializes scheduler related fields on a new task, before > copy_namespaces(). I am not sure though whether moving up will > cause other

conflict between tickless and perfmon2

2007-11-09 Thread Stephane Eranian
Hello, We have identified a conflict between TICKLESS (CONFIG_NO_HZ) and the current perfmon2 implementation. The problem impacts system-wide sessions using timeout-based event set multiplexing. Event set multiplexing allows monitoring tools to measure more events than there are actual

Re: [BUG]: Crash with CONFIG_FAIR_CGROUP_SCHED=y

2007-11-09 Thread Ingo Molnar
* Srivatsa Vaddagiri <[EMAIL PROTECTED]> wrote: > With the patch below, I could run ns_exec() fine w/o a crash. > > Suka, can you verify whether this patch fixes your problem? thanks, applied. I'll wait for confirmation from Suka before sending it to Linus. Ingo - To unsubscribe from

[PATCH] drivers/ide/ide-probe.c, kernel 2.6.23.1

2007-11-09 Thread Jonas Stare
Hi. This week I ran into a strange hardware problem. During boot I got a 35 second delay while waiting for IDE-disks that weren't there to report that they were not in a BSY state. The problem was most likely in the hardware but this patch enables you to ignore waiting for disks by setting

Re: 2.6.24-rc1 and 2.6.24.rc2 hangs while running udev on my laptop

2007-11-09 Thread Andrew Morton
(cc's added) On Fri, 9 Nov 2007 09:47:02 +0100 SANGOI DINO LEONARDO <[EMAIL PROTECTED]> wrote: > Hi, > > My laptop (an HP nx6125) doesn't boot with kernels 2.6.24-rc1 and > 2.6.24.rc2. > It works fine with 2.6.23 and older. > > I seen this bug first while running fedora rawhide, so you

Re: [BUG]: Crash with CONFIG_FAIR_CGROUP_SCHED=y

2007-11-09 Thread Srivatsa Vaddagiri
On Fri, Nov 09, 2007 at 09:45:21AM +0100, Dmitry Adamushko wrote: > Humm... the 'current' is not kept within the tree but > current->se.on_rq is supposed to be '1' , > so the old code looks ok to me (at least for the 'leaf' elements). You are damned right! Sorry my mistake with the previous

Re: iozone write 50% regression in kernel 2.6.24-rc1

2007-11-09 Thread Peter Zijlstra
On Fri, 2007-11-09 at 17:47 +0800, Zhang, Yanmin wrote: > Comparing with 2.6.23, iozone sequential write/rewrite (512M) has 50% > regression > in kernel 2.6.24-rc1. 2.6.24-rc2 has the same regression. > > My machine has 8 processor cores and 8GB memory. > > By bisect, I located patch >

Re: 2.6.24-rc1: OOPS at acpi_battery_update

2007-11-09 Thread Andrew Morton
On Fri, 09 Nov 2007 12:36:43 +0300 Alexey Starikovskiy <[EMAIL PROTECTED]> wrote: > Andrew Morton wrote: > > A> On Thu, 08 Nov 2007 19:35:23 +0300 Alexey Starikovskiy <[EMAIL > > PROTECTED]> wrote: > >> [remove_cycle_at_battery_removal.patch text/x-patch (1.7KB)] > >> ACPI: Battery: remove

iozone write 50% regression in kernel 2.6.24-rc1

2007-11-09 Thread Zhang, Yanmin
Comparing with 2.6.23, iozone sequential write/rewrite (512M) has 50% regression in kernel 2.6.24-rc1. 2.6.24-rc2 has the same regression. My machine has 8 processor cores and 8GB memory. By bisect, I located patch

Re: 2.6.24-rc1: OOPS at acpi_battery_update

2007-11-09 Thread Alexey Starikovskiy
Andrew Morton wrote: A> On Thu, 08 Nov 2007 19:35:23 +0300 Alexey Starikovskiy <[EMAIL PROTECTED]> wrote: [remove_cycle_at_battery_removal.patch text/x-patch (1.7KB)] ACPI: Battery: remove cycle from battery removal. From: Alexey Starikovskiy <[EMAIL PROTECTED]> get_property() should not

[GIT PULL] sh updates for 2.6.24-rc3

2007-11-09 Thread Paul Mundt
The only thing of note here (depending on whether one has a sadistic inclination towards page colouring or not) is basically some of the kmap_coherent() interfacing which fixes up regressions observed on some old parts with 2-way aliasing VIPT dcaches. The clear_user_highpage() and

Re: 2.6.23.1: mdadm/raid5 hung/d-state

2007-11-09 Thread Justin Piszcz
On Thu, 8 Nov 2007, Carlos Carvalho wrote: Jeff Lessem ([EMAIL PROTECTED]) wrote on 6 November 2007 22:00: >Dan Williams wrote: > > The following patch, also attached, cleans up cases where the code looks > > at sh->ops.pending when it should be looking at the consistent > > stack-based

2.6.24-rc1 and 2.6.24.rc2 hangs while running udev on my laptop

2007-11-09 Thread SANGOI DINO LEONARDO
Hi, My laptop (an HP nx6125) doesn't boot with kernels 2.6.24-rc1 and 2.6.24.rc2. It works fine with 2.6.23 and older. I seen this bug first while running fedora rawhide, so you can find hardware info and boot logs at https://bugzilla.redhat.com/show_bug.cgi?id=312201. I did a git bisect,

Re: [BUG]: Crash with CONFIG_FAIR_CGROUP_SCHED=y

2007-11-09 Thread Dmitry Adamushko
Hi Srivatsa, > [ ... ] > -- > > current task is not present in its runqueue in case of sched_fair class > tasks. Take care of this fact in rt_mutex_setprio(), > sched_setscheduler() and sched_move_task() routines. > > Signed-off-by : Srivatsa Vaddagiri <[EMAIL PROTECTED]> > > > --- >

Re: [PATCH 1/3] include files for kvmclock

2007-11-09 Thread Gerd Hoffmann
> +/* > + * Guest has page alignment and padding requirements. At the host, it will > + * only lead to wasted space at the vcpu struct. For this reason, the struct > + * is not anonymous > + */ > +union kvm_hv_clock { > + struct kvm_hv_clock_s { > + u64 tsc_mult; > +

Re: [rtc-linux] [patch] tweak driver documentation for rtc periodic

2007-11-09 Thread Alessandro Zummo
On Wed, 7 Nov 2007 04:17:00 -0500 Mike Frysinger <[EMAIL PROTECTED]> wrote: > > The max_user_freq member is not really meant for RTC drivers to modify, so > update the rtc documentation so drivers writers know what is expected of them > when handling periodic events. > > Signed-off-by: Mike

[BUG]: Crash with CONFIG_FAIR_CGROUP_SCHED=y

2007-11-09 Thread sukadev
With CONFIG_FAIR_CGROUP_SCHED=y, following commands on 2.6.24-rc1 crash the system. $ mount -t cgroup none /cgroups $ ./ns_exec -cm /bin/ls "ns_exec -cm" calls clone() to clone the mount namespace and then executes the '/bin/ls' program in the cloned child. Some observations

WARNING: at lib/kref.c:33 kref_get() (-mm 2007-11-06-02-32++)

2007-11-09 Thread Erez Zadok
Setup: FC6 system with MM snapshot broken-out-2007-11-06-02-32 and these two patches added: r-o-bind-mounts-track-number-of-mount-writer-fix-buggy-loop.patch r-o-bind-mounts-track-number-of-mount-writer-fix-buggy-loop-checkpatch-fixes.patch Booting the machine, waiting a few minutes (not logging

Re: [PATCH 1/2] create file_drop_write_access() helper

2007-11-09 Thread Erez Zadok
In message [EMAIL PROTECTED], Dave Hansen writes: These should fix the bug that Erez Zadok [EMAIL PROTECTED] reported: Stopping RPC idmapd: kernel: __fput() of writeable file with no mnt_want_write() kernel: WARNING: at fs/file_table.c:262 __fput() kernel: [c010283e]

Re: [PATCH] Add quirk to set AHCI mode on ICH boards

2007-11-09 Thread Jeff Garzik
Alan Cox wrote: On Thu, 8 Nov 2007 22:46:22 -0500 Jeff Garzik [EMAIL PROTECTED] wrote: On Thu, Nov 08, 2007 at 10:29:37PM -0500, Mark Lord wrote: And I might even privately patch my own kernels to map the ACHI BAR in the cases where the BIOS didn't... The inability to do this in the general

Re: [PATCH] Add quirk to set AHCI mode on ICH boards

2007-11-09 Thread Jeff Garzik
Matthias Schniedermeyer wrote: And on the topic of broken BIOSes. I have a little empathy for the MB manufactures as non-RAID AHCI royaly screws Windos, so not supporting it reduces their support costs enough to overlook screwing the non-windos faction. non-RAID AHCI works just fine on

Re: [PATCH 0/11 v3] enable make ARCH=x86

2007-11-09 Thread Jeff Garzik
Sam Ravnborg wrote: This is the patch that get rid of ARCH=i386 and ARCH=x86_64 and introduce ARCH=x86. It touches several files but the changes are all one or two-liners. x86: drop backward compatibility symlinks to i386/boot and x86_64/boot kbuild: sanity check the specified arch

Re: Laptop's HDD

2007-11-09 Thread Jeff Garzik
Maciej W. Rozycki wrote: On Sun, 4 Nov 2007, Alberto Gonzalez wrote: The problem comes from a very high rate of load/unload cycles of the heads that reaches the 300.000-600.000 limit in 2-3 years (with smartmontools it can checked it with smartctl -A /dev/sda) . There are reports of HDD

Re: [PATCH 0/11 v3] enable make ARCH=x86

2007-11-09 Thread Randy Dunlap
On Fri, 09 Nov 2007 22:23:23 -0500 Jeff Garzik wrote: Sam Ravnborg wrote: This is the patch that get rid of ARCH=i386 and ARCH=x86_64 and introduce ARCH=x86. It touches several files but the changes are all one or two-liners. x86: drop backward compatibility symlinks to

Re: [PATCH 0/11 v3] enable make ARCH=x86

2007-11-09 Thread Adrian Bunk
On Fri, Nov 09, 2007 at 10:23:23PM -0500, Jeff Garzik wrote: Sam Ravnborg wrote: This is the patch that get rid of ARCH=i386 and ARCH=x86_64 and introduce ARCH=x86. It touches several files but the changes are all one or two-liners. x86: drop backward compatibility symlinks to

[GIT pull] x86 updates

2007-11-09 Thread Thomas Gleixner
Linus, please pull x86 updates from: ssh://master.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86.git master Thanks, tglx Chuck Ebbert (1): x86 - 32-bit ptrace emulation mishandles 6th arg Randy Dunlap (1): voyager: use struct instead of PARAM Roland McGrath

Re: [PATCH 2/5] Watchdog: bfin_wdt, remove SPIN_LOCK_UNLOCKED

2007-11-09 Thread Mike Frysinger
On Nov 9, 2007 6:32 PM, Jiri Slaby [EMAIL PROTECTED] wrote: bfin_wdt, remove SPIN_LOCK_UNLOCKED SPIN_LOCK_UNLOCKED is deprecated, use DEFINE_SPINLOCK instead thanks Signed-off-by: Mike Frysinger [EMAIL PROTECTED] -mike - To unsubscribe from this list: send the line unsubscribe linux-kernel in

Re: [PATCH 5/6] MN10300: Add the MN10300/AM33 architecture to the kernel [try #5]

2007-11-09 Thread Andrew Morton
On Fri, 09 Nov 2007 15:34:58 + David Howells [EMAIL PROTECTED] wrote: Add architecture support for the MN10300/AM33 CPUs produced by MEI to the kernel. hm, kprobes and gdb support. ho hum, I've seen worse-looking code ;). There's quite a bit of the usual stuff in there: use of

Re: [PATCH] Add quirk to set AHCI mode on ICH boards

2007-11-09 Thread Theodore Tso
On Fri, Nov 09, 2007 at 10:05:05PM -0500, Jeff Garzik wrote: By forcing AHCI, your PATA devices will be inaccessible, in a common configuration. It also means shuffling users from one driver to another, which induces breakage. I was speaking wishfully. Real life intrudes, alas. Not even

Re: [PATCH, RFC] improved hacks to allow -rt to run kernbench on POWER

2007-11-09 Thread Nick Piggin
On Saturday 10 November 2007 07:52, Benjamin Herrenschmidt wrote: diff -urpNa -X dontdiff linux-2.6.23.1-rt4/arch/powerpc/kernel/process.c linux-2.6.23.1-rt4-fix/arch/powerpc/kernel/process.c --- linux-2.6.23.1-rt4/arch/powerpc/kernel/process.c2007-10-12 09:43:44.0 -0700 +++

Re: [PATCH] Add quirk to set AHCI mode on ICH boards

2007-11-09 Thread Jeff Garzik
Theodore Tso wrote: On Fri, Nov 09, 2007 at 10:05:05PM -0500, Jeff Garzik wrote: By forcing AHCI, your PATA devices will be inaccessible, in a common configuration. It also means shuffling users from one driver to another, which induces breakage. I was speaking wishfully. Real life

Re: [PATCH] sata_nv,ahci: add the ahci legacy mode support to sata_nv

2007-11-09 Thread Jeff Garzik
peer chen wrote: Yes, link - http://lkml.org/lkml/2007/10/8/93 add the AHCI legacy support to sata_nv when IDE/RAID mode been set in SBIOS and Device IDs are not in ahci.c at this moment. To do so, when a new chipset come out and DIDs haven't been submited to LKML,user still can use ahci driver

Re: [PATCH 6/6] MN10300: Add MTD flash support for the ASB2303 board [try #5]

2007-11-09 Thread David Woodhouse
Dunno why it's called try #5 when I haven't directly received it even once yet. On Fri, 2007-11-09 at 15:35 +, David Howells wrote: Add MTD flash support for the ASB2303 board. We're trying to avoid taking new simple map drivers -- you should be able to use a platform device instead. ---

Re: [PATCH 0/11 v3] enable make ARCH=x86

2007-11-09 Thread Brian Gerst
Jeff Garzik wrote: Sam Ravnborg wrote: This is the patch that get rid of ARCH=i386 and ARCH=x86_64 and introduce ARCH=x86. It touches several files but the changes are all one or two-liners. x86: drop backward compatibility symlinks to i386/boot and x86_64/boot kbuild: sanity

Re: 2.6.24-rc2: Network commit causes SLUB performance regression with tbench

2007-11-09 Thread Nick Piggin
cc'ed linux-netdev On Saturday 10 November 2007 10:46, Christoph Lameter wrote: commit deea84b0ae3d26b41502ae0a39fe7fe134e703d0 seems to cause a drop in SLUB tbench performance: 8p x86_64 system: 2.6.24-rc2: 1260.80 MB/sec After reverting the patch: 2350.04 MB/sec SLAB

Re: [PATCH 0/11 v3] enable make ARCH=x86

2007-11-09 Thread Jeff Garzik
Brian Gerst wrote: Jeff Garzik wrote: Sam Ravnborg wrote: This is the patch that get rid of ARCH=i386 and ARCH=x86_64 and introduce ARCH=x86. It touches several files but the changes are all one or two-liners. x86: drop backward compatibility symlinks to i386/boot and x86_64/boot

cd/dvd inaccessible in 2.6.24-rc2

2007-11-09 Thread Will Trives
Hello, Motherboard: Gigabyte GA-P35-DS4 (rev. 1.1) Chipset: Intel P35 + ICH9R PATA port runs off JMicron controller CD/DVD Device: BENQ DW1640 16X I cannot access my dvd burner under 2.6.24-rc2, I have no problems under 2.6.23. Basically the drive is detected OK, everything looks ok but as

Re: [PATCH 1/2] NetLabel: Introduce a new kernel configuration API for NetLabel - Version 11 (2.6.24-rc2) Smack: Simplified Mandatory Access Control Kernel

2007-11-09 Thread James Morris
On Fri, 9 Nov 2007, Andrew Morton wrote: On Thu, 08 Nov 2007 20:48:35 -0800 Casey Schaufler [EMAIL PROTECTED] wrote: From: Paul Moore [EMAIL PROTECTED] Add a new set of configuration functions to the NetLabel/LSM API so that LSMs can perform their own configuration of the NetLabel

Re: [PATCH] sata_nv,ahci: add the ahci legacy mode support to sata_nv

2007-11-09 Thread Jeff Garzik
Jeff Garzik wrote: The proposed sata_nv patch does the opposite -- guarantees we must support the continually problematic legacy IDE interface ad infinitum. Such patches are OK for the test lab, but in this specific case users /suffer/ when not running AHCI mode. Just to reinforce...

[patch 1/2] mm: page trylock rename

2007-11-09 Thread Nick Piggin
Hi, OK minus the memory barrier changes for now. Can we possibly please get these into 2.6.24? -- mm: rename page trylock Converting page lock to new locking bitops requires a change of page flag operation naming, so we might as well convert it to something nicer (!TestSetPageLocked =

[patch 2/2] fs: buffer trylock rename

2007-11-09 Thread Nick Piggin
fs: rename buffer trylock Converting the buffer lock to new bitops also requires name change, so convert the raw test_and_set bitop to a trylock. Signed-off-by: Nick Piggin [EMAIL PROTECTED] --- fs/buffer.c |4 ++-- fs/jbd/commit.c |2 +- fs/jbd2/commit.c

<    1   2   3   4   5   6   >