[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [linux] Update to linux-2.6.16.29.



# HG changeset patch
# User Christian Limpach <Christian.Limpach@xxxxxxxxxxxxx>
# Node ID c5d4d47bbeb8a489a2160174c08a04aaebef3d6f
# Parent  38765166ad7a788dfac3ffde9a50b4964039cac2
[linux] Update to linux-2.6.16.29.

Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxxx>
---
 buildconfigs/mk.linux-2.6-xen                       |    2 +-
 linux-2.6-xen-sparse/arch/i386/Kconfig              |    3 +++
 linux-2.6-xen-sparse/arch/ia64/Kconfig              |    3 +++
 linux-2.6-xen-sparse/arch/x86_64/Kconfig            |    2 ++
 linux-2.6-xen-sparse/arch/x86_64/kernel/entry-xen.S |    7 +------
 linux-2.6-xen-sparse/arch/x86_64/kernel/traps-xen.c |    5 +++++
 linux-2.6-xen-sparse/drivers/char/tty_io.c          |   14 +++++++++-----
 linux-2.6-xen-sparse/drivers/serial/Kconfig         |    1 +
 linux-2.6-xen-sparse/mm/Kconfig                     |    2 +-
 linux-2.6-xen-sparse/mm/page_alloc.c                |    3 ++-
 10 files changed, 28 insertions(+), 14 deletions(-)

diff -r 38765166ad7a -r c5d4d47bbeb8 buildconfigs/mk.linux-2.6-xen
--- a/buildconfigs/mk.linux-2.6-xen     Tue Sep 19 11:13:10 2006 +0100
+++ b/buildconfigs/mk.linux-2.6-xen     Tue Sep 19 14:26:22 2006 +0100
@@ -1,5 +1,5 @@ LINUX_SERIES = 2.6
 LINUX_SERIES = 2.6
-LINUX_VER    = 2.6.16.13
+LINUX_VER    = 2.6.16.29
 
 EXTRAVERSION ?= xen
 
diff -r 38765166ad7a -r c5d4d47bbeb8 linux-2.6-xen-sparse/arch/i386/Kconfig
--- a/linux-2.6-xen-sparse/arch/i386/Kconfig    Tue Sep 19 11:13:10 2006 +0100
+++ b/linux-2.6-xen-sparse/arch/i386/Kconfig    Tue Sep 19 14:26:22 2006 +0100
@@ -789,6 +789,9 @@ config DOUBLEFAULT
 
 endmenu
 
+config ARCH_ENABLE_MEMORY_HOTPLUG
+       def_bool y
+       depends on HIGHMEM
 
 menu "Power management options (ACPI, APM)"
        depends on !(X86_VOYAGER || XEN_UNPRIVILEGED_GUEST)
diff -r 38765166ad7a -r c5d4d47bbeb8 linux-2.6-xen-sparse/arch/ia64/Kconfig
--- a/linux-2.6-xen-sparse/arch/ia64/Kconfig    Tue Sep 19 11:13:10 2006 +0100
+++ b/linux-2.6-xen-sparse/arch/ia64/Kconfig    Tue Sep 19 14:26:22 2006 +0100
@@ -276,6 +276,9 @@ config HOTPLUG_CPU
          can be controlled through /sys/devices/system/cpu/cpu#.
          Say N if you want to disable CPU hotplug.
 
+config ARCH_ENABLE_MEMORY_HOTPLUG
+       def_bool y
+
 config SCHED_SMT
        bool "SMT scheduler support"
        depends on SMP
diff -r 38765166ad7a -r c5d4d47bbeb8 linux-2.6-xen-sparse/arch/x86_64/Kconfig
--- a/linux-2.6-xen-sparse/arch/x86_64/Kconfig  Tue Sep 19 11:13:10 2006 +0100
+++ b/linux-2.6-xen-sparse/arch/x86_64/Kconfig  Tue Sep 19 14:26:22 2006 +0100
@@ -368,6 +368,8 @@ config HOTPLUG_CPU
                can be controlled through /sys/devices/system/cpu/cpu#.
                Say N if you want to disable CPU hotplug.
 
+config ARCH_ENABLE_MEMORY_HOTPLUG
+       def_bool y
 
 config HPET_TIMER
        bool
diff -r 38765166ad7a -r c5d4d47bbeb8 
linux-2.6-xen-sparse/arch/x86_64/kernel/entry-xen.S
--- a/linux-2.6-xen-sparse/arch/x86_64/kernel/entry-xen.S       Tue Sep 19 
11:13:10 2006 +0100
+++ b/linux-2.6-xen-sparse/arch/x86_64/kernel/entry-xen.S       Tue Sep 19 
14:26:22 2006 +0100
@@ -316,12 +316,7 @@ tracesys:
        ja  1f
        movq %r10,%rcx  /* fixup for C */
        call *sys_call_table(,%rax,8)
-       movq %rax,RAX-ARGOFFSET(%rsp)
-1:     SAVE_REST
-       movq %rsp,%rdi
-       call syscall_trace_leave
-       RESTORE_TOP_OF_STACK %rbx
-       RESTORE_REST
+1:     movq %rax,RAX-ARGOFFSET(%rsp)
        /* Use IRET because user could have changed frame */
        jmp int_ret_from_sys_call
        CFI_ENDPROC
diff -r 38765166ad7a -r c5d4d47bbeb8 
linux-2.6-xen-sparse/arch/x86_64/kernel/traps-xen.c
--- a/linux-2.6-xen-sparse/arch/x86_64/kernel/traps-xen.c       Tue Sep 19 
11:13:10 2006 +0100
+++ b/linux-2.6-xen-sparse/arch/x86_64/kernel/traps-xen.c       Tue Sep 19 
14:26:22 2006 +0100
@@ -30,6 +30,7 @@
 #include <linux/moduleparam.h>
 #include <linux/nmi.h>
 #include <linux/kprobes.h>
+#include <linux/kexec.h>
 
 #include <asm/system.h>
 #include <asm/uaccess.h>
@@ -438,6 +439,8 @@ void __kprobes __die(const char * str, s
        printk(KERN_ALERT "RIP ");
        printk_address(regs->rip); 
        printk(" RSP <%016lx>\n", regs->rsp); 
+       if (kexec_should_crash(current))
+               crash_kexec(regs);
 }
 
 void die(const char * str, struct pt_regs * regs, long err)
@@ -461,6 +464,8 @@ void __kprobes die_nmi(char *str, struct
         */
        printk(str, safe_smp_processor_id());
        show_registers(regs);
+       if (kexec_should_crash(current))
+               crash_kexec(regs);
        if (panic_on_timeout || panic_on_oops)
                panic("nmi watchdog");
        printk("console shuts up ...\n");
diff -r 38765166ad7a -r c5d4d47bbeb8 linux-2.6-xen-sparse/drivers/char/tty_io.c
--- a/linux-2.6-xen-sparse/drivers/char/tty_io.c        Tue Sep 19 11:13:10 
2006 +0100
+++ b/linux-2.6-xen-sparse/drivers/char/tty_io.c        Tue Sep 19 14:26:22 
2006 +0100
@@ -2761,7 +2761,7 @@ static void flush_to_ldisc(void *private
        struct tty_struct *tty = (struct tty_struct *) private_;
        unsigned long   flags;
        struct tty_ldisc *disc;
-       struct tty_buffer *tbuf;
+       struct tty_buffer *tbuf, *head;
        int count;
        char *char_buf;
        unsigned char *flag_buf;
@@ -2778,7 +2778,9 @@ static void flush_to_ldisc(void *private
                goto out;
        }
        spin_lock_irqsave(&tty->buf.lock, flags);
-       while((tbuf = tty->buf.head) != NULL) {
+       head = tty->buf.head;
+       tty->buf.head = NULL;
+       while((tbuf = head) != NULL) {
                while ((count = tbuf->commit - tbuf->read) != 0) {
                        char_buf = tbuf->char_buf_ptr + tbuf->read;
                        flag_buf = tbuf->flag_buf_ptr + tbuf->read;
@@ -2787,10 +2789,12 @@ static void flush_to_ldisc(void *private
                        disc->receive_buf(tty, char_buf, flag_buf, count);
                        spin_lock_irqsave(&tty->buf.lock, flags);
                }
-               if (tbuf->active)
+               if (tbuf->active) {
+                       tty->buf.head = head;
                        break;
-               tty->buf.head = tbuf->next;
-               if (tty->buf.head == NULL)
+               }
+               head = tbuf->next;
+               if (head == NULL)
                        tty->buf.tail = NULL;
                tty_buffer_free(tty, tbuf);
        }
diff -r 38765166ad7a -r c5d4d47bbeb8 linux-2.6-xen-sparse/drivers/serial/Kconfig
--- a/linux-2.6-xen-sparse/drivers/serial/Kconfig       Tue Sep 19 11:13:10 
2006 +0100
+++ b/linux-2.6-xen-sparse/drivers/serial/Kconfig       Tue Sep 19 14:26:22 
2006 +0100
@@ -821,6 +821,7 @@ config SERIAL_ICOM
        tristate "IBM Multiport Serial Adapter"
        depends on PCI && (PPC_ISERIES || PPC_PSERIES)
        select SERIAL_CORE
+       select FW_LOADER
        help
          This driver is for a family of multiport serial adapters
          including 2 port RVX, 2 port internal modem, 4 port internal
diff -r 38765166ad7a -r c5d4d47bbeb8 linux-2.6-xen-sparse/mm/Kconfig
--- a/linux-2.6-xen-sparse/mm/Kconfig   Tue Sep 19 11:13:10 2006 +0100
+++ b/linux-2.6-xen-sparse/mm/Kconfig   Tue Sep 19 14:26:22 2006 +0100
@@ -115,7 +115,7 @@ config SPARSEMEM_EXTREME
 # eventually, we can have this option just 'select SPARSEMEM'
 config MEMORY_HOTPLUG
        bool "Allow for memory hot-add"
-       depends on SPARSEMEM && HOTPLUG && !SOFTWARE_SUSPEND
+       depends on SPARSEMEM && HOTPLUG && !SOFTWARE_SUSPEND && 
ARCH_ENABLE_MEMORY_HOTPLUG
 
 comment "Memory hotplug is currently incompatible with Software Suspend"
        depends on SPARSEMEM && HOTPLUG && SOFTWARE_SUSPEND
diff -r 38765166ad7a -r c5d4d47bbeb8 linux-2.6-xen-sparse/mm/page_alloc.c
--- a/linux-2.6-xen-sparse/mm/page_alloc.c      Tue Sep 19 11:13:10 2006 +0100
+++ b/linux-2.6-xen-sparse/mm/page_alloc.c      Tue Sep 19 14:26:22 2006 +0100
@@ -951,7 +951,8 @@ restart:
                alloc_flags |= ALLOC_HARDER;
        if (gfp_mask & __GFP_HIGH)
                alloc_flags |= ALLOC_HIGH;
-       alloc_flags |= ALLOC_CPUSET;
+       if (wait)
+               alloc_flags |= ALLOC_CPUSET;
 
        /*
         * Go through the zonelist again. Let __GFP_HIGH and allocations

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.