linux-next: Tree for December 19
Subsystems (3)
Hi all,
Changes since 20081218:
Removed trees:
perfmon3
fscache
Undropped tree:
rr
Dropped trees (temporarily):
scsi (build problem)
mtd (build problems)
kvm (build problem)
semaphore-removal (due to unfixed conflicts against Linus' tree) cpu_alloc (build problem)
audit (difficult conflicts)
The rr_cpumask tree lost its conflicts (one was tansferred to the rr tree).
----------------------------------------------------------------------------
I have created today's linux-next tree atgit://git.kernel.org/pub/scm/linux/kernel/git/sfr/linux-next.git
(patches at
http://www.kernel.org/pub/linux/kernel/people/sfr/linux-next/). If you are tracking the linux-next tree using git, you should not use "git pull" to do so as that will try to merge the new linux-next release with the old one. You should use "git fetch" as mentioned in the FAQ on the wiki (see below).
You can see which trees have been included by looking in the Next/Trees file in the source. There are also quilt-import.log and merge.log files in the Next directory. Between each merge, the tree was built with a ppc64_defconfig for powerpc and an allmodconfig for x86_64. After the final fixups (if any), it is also built with powerpc allnoconfig, 44x_defconfig and allyesconfig (minus CONFIG_PROFILE_ALL_BRANCHES) and i386, sparc and sparc64 defconfig.
Below is a summary of the state of the merge.
We are up to 132 trees (counting Linus' and 15 trees of patches pending for Linus' tree), more are welcome (even if they are currently empty). Thanks to those who have contributed, and to those who haven't, please do.
Status of my local build tests will be at
http://kisskb.ellerman.id.au/linux-next . If maintainers want to give advice about cross compilers/configs that work, we are always open to add more builds.
Thanks to Jan Dittmer for adding the linux-next tree to his build tests at http://l4x.org/k/ , the guys at http://test.kernel.org/ and Randy Dunlap for doing many randconfig builds.
There is a wiki covering stuff to do with linux-next at
http://linux.f-seidel.de/linux-next/pmwiki/ . Thanks to Frank Seidel.
Signature · 174 lines
Cheers, Stephen Rothwell [email protected] $ git checkout master $ git reset --hard stable Merging origin/master Merging arm-current/master Merging m68k-current/for-linus Merging powerpc-merge/merge Merging sparc-current/master Merging scsi-rc-fixes/master Merging net-current/master Merging sound-current/for-linus Merging pci-current/for-linus Merging wireless-current/master Merging kbuild-current/master Merging quilt/driver-core.current Merging quilt/usb.current Merging cpufreq-current/fixes Merging input-current/for-linus Merging md-current/for-2.6.26 Merging audit-current/for-linus Merging dwmw2/master Merging arm/devel Merging avr32/avr32-arch Merging blackfin/for-linus Merging cris/for-next Merging ia64/test Merging m68k/for-next Merging m68knommu/for-next Merging mips/mips-for-linux-next Merging parisc/master Merging powerpc/next Merging 4xx/next Merging galak/next Merging pxa/for-next Merging s390/features CONFLICT (content): Merge conflict in drivers/char/Makefile Merging sh/master Merging sparc/master Merging x86/auto-x86-next Merging xtensa/master Merging quilt/driver-core CONFLICT (content): Merge conflict in arch/powerpc/platforms/85xx/mpc85xx_mds.c Merging quilt/usb Merging tip-core/auto-core-next Merging cpus4096/auto-cpus4096-next CONFLICT (content): Merge conflict in scripts/recordmcount.pl Merging ftrace/auto-ftrace-next Merging genirq/auto-genirq-next Merging safe-poison-pointers/auto-safe-poison-pointers-next Merging sched/auto-sched-next Merging stackprotector/auto-stackprotector-next Merging timers/auto-timers-next Merging pci/linux-next Merging quilt/device-mapper CONFLICT (content): Merge conflict in drivers/md/dm.c Merging hid/for-next Merging quilt/i2c Merging quilt/jdelvare-hwmon Merging quilt/kernel-doc Merging v4l-dvb/master Merging jfs/next Merging kbuild/master Merging quilt/ide Merging libata/NEXT Merging nfs/linux-next Merging xfs/master CONFLICT (content): Merge conflict in fs/xfs/xfs_rename.c Merging infiniband/for-next Merging acpi/test Merging nfsd/nfsd-next Merging ieee1394/for-next Merging ubi/linux-next Merging dlm/next Merging ocfs2/linux-next Merging ext4/next Merging async_tx/next Merging udf/for_next Merging net/master CONFLICT (delete/modify): arch/sparc64/kernel/idprom.c deleted in HEAD and modified in net/master. Version net/master of arch/sparc64/kernel/idprom.c left in tree. CONFLICT (content): Merge conflict in fs/lockd/host.c CONFLICT (content): Merge conflict in fs/lockd/mon.c $ git rm -f arch/sparc64/kernel/idprom.c Applying: net: async_tx merge fix Merging wireless/master Merging crypto/master Merging vfs/for-next Merging sound/for-next Merging cpufreq/next Merging v9fs/for-next Merging rr_cpumask/master Merging quilt/rr CONFLICT (content): Merge conflict in kernel/sched.c Merging cifs/master CONFLICT (content): Merge conflict in fs/cifs/connect.c Applying: cifs: update for new IP4/6 address printing Merging mmc/next Merging gfs2/master Merging input/next Merging semaphore/semaphore Merging bkl-removal/bkl-removal CONFLICT (content): Merge conflict in fs/ioctl.c Merging ubifs/linux-next Merging lsm/for-next Merging block/for-next CONFLICT (content): Merge conflict in fs/bio.c Merging embedded/master Merging firmware/master CONFLICT (content): Merge conflict in drivers/net/tg3.c CONFLICT (content): Merge conflict in firmware/Makefile CONFLICT (content): Merge conflict in firmware/WHENCE Merging pcmcia/master Merging battery/master Merging leds/for-mm Merging backlight/for-mm Merging kgdb/kgdb-next Merging slab/for-next Merging uclinux/for-next Merging md/for-next Merging kmemcheck/auto-kmemcheck-next CONFLICT (content): Merge conflict in MAINTAINERS CONFLICT (content): Merge conflict in arch/x86/mm/Makefile CONFLICT (content): Merge conflict in mm/slab.c CONFLICT (content): Merge conflict in mm/slub.c Merging generic-ipi/auto-generic-ipi-next Merging mfd/for-next Merging hdlc/hdlc-next Merging drm/drm-next Merging voltage/for-next Merging security-testing/next CONFLICT (content): Merge conflict in drivers/char/tty_audit.c CONFLICT (content): Merge conflict in fs/cifs/cifs_fs_sb.h CONFLICT (content): Merge conflict in fs/ocfs2/namei.c CONFLICT (content): Merge conflict in fs/xfs/linux-2.6/xfs_cred.h CONFLICT (content): Merge conflict in fs/xfs/linux-2.6/xfs_globals.h CONFLICT (content): Merge conflict in fs/xfs/linux-2.6/xfs_ioctl.c CONFLICT (content): Merge conflict in fs/xfs/xfs_vnodeops.h Merging lblnet/master CONFLICT (content): Merge conflict in Documentation/feature-removal-schedule.txt Merging quilt/ttydev CONFLICT (content): Merge conflict in fs/devpts/inode.c Merging agp/agp-next Merging oprofile/auto-oprofile-next Merging fastboot/auto-fastboot-next Merging sparseirq/auto-sparseirq-next Merging iommu/auto-iommu-next Merging uwb/for-upstream Merging watchdog/master Merging proc/proc Merging bdev/master Merging dwmw2-iommu/master Merging cputime/cputime CONFLICT (content): Merge conflict in kernel/sched.c Merging osd/linux-next Merging fatfs/master Merging fuse/for-next Merging jc_docs/docs-next Merging nommu/master CONFLICT (content): Merge conflict in Documentation/sysctl/vm.txt CONFLICT (content): Merge conflict in kernel/fork.c Merging boot-params/master CONFLICT (content): Merge conflict in arch/arm/kernel/setup.c CONFLICT (content): Merge conflict in arch/parisc/kernel/setup.c CONFLICT (content): Merge conflict in arch/sh/boards/mach-microdev/setup.c CONFLICT (content): Merge conflict in arch/sh/boards/mach-migor/setup.c CONFLICT (content): Merge conflict in init/main.c Merging trivial/for-next Merging quilt/staging CONFLICT (delete/modify): drivers/staging/winbond/linux/wbusb.c deleted in quilt/staging and modified in HEAD. Version HEAD of drivers/staging/winbond/linux/wbusb.c left in tree. CONFLICT (content): Merge conflict in drivers/staging/wlan-ng/p80211netdev.c CONFLICT (content): Merge conflict in drivers/staging/wlan-ng/p80211wext.c $ git rm -f drivers/staging/winbond/linux/wbusb.c Merging scsi-post-merge/master
Re: linux-next: Tree for December 19 (new CONFIG_NUMA_MIGRATE_IRQ_DESC option)
Quoted 3 lines · Stephen Rothwell
Hi all,
Changes since 20081218:
Just few very minor issues w.r.t. "x86, sparseirq: move irq_desc according to smp_affinity, v7" (commit 48a1b10aff588833b73994704c47bbd0deb73e9c):
+config NUMA_MIGRATE_IRQ_DESC
+ bool "Move irq desc when changing irq smp_affinity"
+ depends on SPARSE_IRQ && SMP
+ default n
+ help
+ This enables moving irq_desc to cpu/node that irq will use handled.
+
+ If you don't know what to do here, say N.
This is a bit confusing (at least I was confused since I don't have NUMA set in my config) -- either it should depend on NUMA or the config option name should be changed.
@@ -2346,14 +2466,34 @@ static void irq_complete_move(struct irq_desc **descp)
struct irq_cfg *cfg = desc->chip_data;
unsigned vector, me;
- if (likely(!cfg->move_in_progress))
+ if (likely(!cfg->move_in_progress)) {
+#ifdef CONFIG_NUMA_MIGRATE_IRQ_DESC
+ if (likely(!cfg->move_desc_pending))
+ return;
+
+ /* domain is not change, but affinity is changed */
this comment sounds weird
perhaps: /* only affinity is changed */ would be better?
+++ b/kernel/irq/numa_migrate.c
@@ -0,0 +1,127 @@
+/*
+ * linux/kernel/irq/handle.c
+ *
+ * Copyright (C) 1992, 1998-2006 Linus Torvalds, Ingo Molnar
+ * Copyright (C) 2005-2006, Thomas Gleixner, Russell King
+ *
+ * This file contains the core interrupt handling code.
+ *
+ * Detailed information is available in Documentation/DocBook/genericirq
+ *
+ */
hmmm? ;-)
Re: linux-next: Tree for December 19 (new CONFIG_NUMA_MIGRATE_IRQ_DESC option)
Quoted 17 lines · Bartlomiej Zolnierkiewicz
Quoted 3 lines · Stephen Rothwell
Hi all,
Changes since 20081218:
Just few very minor issues w.r.t. "x86, sparseirq: move
irq_descaccording tosmp_affinity, v7" (commit48a1b10aff588833b73994704c47bbd0deb73e9c):(quoted diff) +8
-0+config NUMA_MIGRATE_IRQ_DESC + bool "Move irq desc when changing irq smp_affinity" + depends on SPARSE_IRQ && SMP + default n + help + This enables moving irq_desc to cpu/node that irq will use handled. + + If you don't know what to do here, say N.
Quoted 3 lines
This is a bit confusing (at least I was confused since I don't have NUMA set in my config) -- either it should depend on NUMA or the config option name should be changed.
should be changed to
depends on SPARSE_IRQ && NUMA
Quoted 13 lines
(quoted diff) +6
-1@@ -2346,14 +2466,34 @@ static void irq_complete_move(struct irq_desc **descp) struct irq_cfg *cfg = desc->chip_data; unsigned vector, me; - if (likely(!cfg->move_in_progress)) + if (likely(!cfg->move_in_progress)) { +#ifdef CONFIG_NUMA_MIGRATE_IRQ_DESC + if (likely(!cfg->move_desc_pending)) + return; + + /* domain is not change, but affinity is changed */
Quoted 1 line
this comment sounds weird
for logical flat mode, domain will be online_cpu_mask. so need to move irq_desc when smp_affinity is changed.
Quoted 17 lines
perhaps: /* only affinity is changed */ would be better?
+++
b/kernel/irq/numa_migrate.c(quoted diff) +11
-0@@ -0,0 +1,127 @@ +/* + * linux/kernel/irq/handle.c + * + * Copyright (C) 1992, 1998-2006 Linus Torvalds, Ingo Molnar + * Copyright (C) 2005-2006, Thomas Gleixner, Russell King + * + * This file contains the core interrupt handling code. + * + * Detailed information is available in Documentation/DocBook/genericirq + * + */
Quoted 1 line
hmmm? ;-)
seperated from irq/handle.c
oh, will remove those lines.
YH
Re: linux-next: Tree for December 19 (new CONFIG_NUMA_MIGRATE_IRQ_DESC option)
Quoted 14 lines · Yinghai Lu
Quoted 14 lines
+++
b/kernel/irq/numa_migrate.c(quoted diff) +11
-0@@ -0,0 +1,127 @@ +/* + * linux/kernel/irq/handle.c + * + * Copyright (C) 1992, 1998-2006 Linus Torvalds, Ingo Molnar + * Copyright (C) 2005-2006, Thomas Gleixner, Russell King + * + * This file contains the core interrupt handling code. + * + * Detailed information is available in Documentation/DocBook/genericirq + * + */
Quoted 5 lines
Quoted 1 line
hmmm? ;-)
seperated from
irq/handle.coh, will remove those lines.
Yeah, replace them with something like:
/*
* NUMA irq-desc migration code
*
* Migrate IRQ data structures (irq_desc, chip_data, etc.) over to
* the new "home node" of the IRQ.
*/
Ingo
PATCH 1/1 sparseirq: fix numa_migrate_irq_desc dependency and comments
Impact: clean up
Bartlomiej Zolnierkiewicz <[email protected]> pointed out config and comments are not right.
update it depend to NUMA, and fix some comments
--- arch/x86/Kconfig | 2 +- arch/x86/kernel/io_apic.c | 2 +- kernel/irq/numa_migrate.c | 11 +++-------- 3 files changed, 5 insertions(+), 10 deletions(-)
arch/x86/Kconfig +1 -1
@@ -259,7 +259,7 @@ config SPARSE_IRQ config NUMA_MIGRATE_IRQ_DESC bool "Move irq desc when changing irq smp_affinity" - depends on SPARSE_IRQ && SMP + depends on SPARSE_IRQ && NUMA default n help This enables moving irq_desc to cpu/node that irq will use handled.
arch/x86/kernel/io_apic.c +1 -1
@@ -2519,7 +2519,7 @@ static void irq_complete_move(struct irqif (likely (!cfg->move_desc_pending))return ; -/* domain is not change, but affinity is changed */ +/* domain has not changed, but affinity did */ me =smp_processor_id ();if (cpu_isset (me, desc->affinity)) { *descp = desc =move_irq_desc (desc, me);
kernel/irq/numa_migrate.c +3 -8
@@ -1,13 +1,8 @@/* -* linux/kernel/irq/handle.c -* -* Copyright (C) 1992, 1998-2006 Linus Torvalds, Ingo Molnar -* Copyright (C) 2005-2006, Thomas Gleixner, Russell King -* -* This file contains the core interrupt handling code. -* -* Detailed information is available in Documentation/DocBook/genericirq +* NUMA irq-desc migration code * +* Migrate IRQ data structures (irq_desc, chip_data, etc.) over to +* the new "home node" of the IRQ. */ #include <linux/irq.h>
Ingo Molnar
AppliedRe: [PATCH] sparseirq: fix numa_migrate_irq_desc dependency and comments
Quoted 7 lines · Yinghai Lu
Impact: clean up
Bartlomiej Zolnierkiewicz <[email protected]> pointed out config and comments are not right.
update it depend to NUMA, and fix some comments
Quoted 7 lines
Signed-off-by Yinghai Lu <[email protected]>--- arch/x86/Kconfig | 2 +- arch/x86/kernel/io_apic.c | 2 +- kernel/irq/numa_migrate.c | 11 +++-------- 3 files changed, 5 insertions(+), 10 deletions(-)
applied to tip/irq/sparseirq, thanks!
Note, the usual way to credit review/bug feedback is to add this line:
and then you dont have to mention a full email in the changelog itself. See below how the final commit ended up looking like.
Ingo
-------------->
Quoted 1 line
From
b909895739427874c089bc0e03dc119f99cab2ddMon Sep 17 00:00:00 2001
From: Yinghai Lu <[email protected]>
Date: Fri, 19 Dec 2008 13:48:34 -0800
Subject: [PATCH] sparseirq: fix numa_migrate_irq_desc dependency and comments
Impact: reduce kconfig variable scope and clean up
Bartlomiej pointed out that the config dependencies and comments are not right.
update it depend to NUMA, and fix some comments
--- arch/x86/Kconfig | 2 +- arch/x86/kernel/io_apic.c | 2 +- kernel/irq/numa_migrate.c | 11 +++-------- 3 files changed, 5 insertions(+), 10 deletions(-)
arch/x86/Kconfig +1 -1
@@ -250,7 +250,7 @@ config SPARSE_IRQ config NUMA_MIGRATE_IRQ_DESC bool "Move irq desc when changing irq smp_affinity" - depends on SPARSE_IRQ && SMP + depends on SPARSE_IRQ && NUMA default n help This enables moving irq_desc to cpu/node that irq will use handled.
arch/x86/kernel/io_apic.c +1 -1
@@ -2471,7 +2471,7 @@ static void irq_complete_move(struct irq_desc **descp)if (likely (!cfg->move_desc_pending))return ; -/* domain is not change, but affinity is changed */ +/* domain has not changed, but affinity did */ me =smp_processor_id ();if (cpu_isset (me, desc->affinity)) { *descp = desc =move_irq_desc (desc, me);
kernel/irq/numa_migrate.c +3 -8
@@ -1,13 +1,8 @@/* -* linux/kernel/irq/handle.c -* -* Copyright (C) 1992, 1998-2006 Linus Torvalds, Ingo Molnar -* Copyright (C) 2005-2006, Thomas Gleixner, Russell King -* -* This file contains the core interrupt handling code. -* -* Detailed information is available in Documentation/DocBook/genericirq +* NUMA irq-desc migration code * +* Migrate IRQ data structures (irq_desc, chip_data, etc.) over to +* the new "home node" of the IRQ. */ #include <linux/irq.h>
Re: linux-next: Tree for December 19 (new CONFIG_NUMA_MIGRATE_IRQ_DESC option)
In reply to Bartlomiej ZolnierkiewiczQuoted 17 lines · Bartlomiej Zolnierkiewicz
Quoted 3 lines · Stephen Rothwell
Hi all,
Changes since 20081218:
Just few very minor issues w.r.t. "x86, sparseirq: move
irq_descaccording tosmp_affinity, v7" (commit48a1b10aff588833b73994704c47bbd0deb73e9c):(quoted diff) +8
-0+config NUMA_MIGRATE_IRQ_DESC + bool "Move irq desc when changing irq smp_affinity" + depends on SPARSE_IRQ && SMP + default n + help + This enables moving irq_desc to cpu/node that irq will use handled. + + If you don't know what to do here, say N.
Quoted 3 lines
This is a bit confusing (at least I was confused since I don't have NUMA set in my config) -- either it should depend on NUMA or the config option name should be changed.
yeah, should be "depends on NUMA".
Quoted 14 lines
(quoted diff) +6
-1@@ -2346,14 +2466,34 @@ static void irq_complete_move(struct irq_desc **descp) struct irq_cfg *cfg = desc->chip_data; unsigned vector, me; - if (likely(!cfg->move_in_progress)) + if (likely(!cfg->move_in_progress)) { +#ifdef CONFIG_NUMA_MIGRATE_IRQ_DESC + if (likely(!cfg->move_desc_pending)) + return; + + /* domain is not change, but affinity is changed */this comment sounds weird
Quoted 1 line
perhaps: /* only affinity is changed */ would be better?
perhaps:
/* domain has not changed, but affinity did */
Quoted 14 lines
+++
b/kernel/irq/numa_migrate.c(quoted diff) +11
-0@@ -0,0 +1,127 @@ +/* + * linux/kernel/irq/handle.c + * + * Copyright (C) 1992, 1998-2006 Linus Torvalds, Ingo Molnar + * Copyright (C) 2005-2006, Thomas Gleixner, Russell King + * + * This file contains the core interrupt handling code. + * + * Detailed information is available in Documentation/DocBook/genericirq + * + */
Quoted 1 line
hmmm? ;-)
indeed, needs fixing too :)
Ingo