WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] SRAT memory hotplug 1/2: Revert 20053:ebb

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] SRAT memory hotplug 1/2: Revert 20053:ebb07c5934c8.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 09 Dec 2009 03:25:09 -0800
Delivery-date: Wed, 09 Dec 2009 03:25:08 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1260355297 0
# Node ID 1f5f1674e53f478b1ca57ab629d96f18d0bf4711
# Parent  7f611de6b93cc4cbec0530548a85953afa845315
SRAT memory hotplug 1/2: Revert 20053:ebb07c5934c8.

Signed-off-by: Jiang, Yunhong <yunhong.jiang@xxxxxxxxx>
---
 xen/arch/x86/srat.c |   17 +++--------------
 1 files changed, 3 insertions(+), 14 deletions(-)

diff -r 7f611de6b93c -r 1f5f1674e53f xen/arch/x86/srat.c
--- a/xen/arch/x86/srat.c       Tue Dec 08 14:14:27 2009 +0000
+++ b/xen/arch/x86/srat.c       Wed Dec 09 10:41:37 2009 +0000
@@ -185,21 +185,10 @@ acpi_numa_memory_affinity_init(struct ac
                bad_srat();
                return;
        }
-       if (ma->flags & ACPI_SRAT_MEM_HOT_PLUGGABLE) {
-               if (page_is_ram_type(paddr_to_pfn(start), 
RAM_TYPE_CONVENTIONAL))
-                       printk(KERN_INFO "SRAT: hot-pluggable zone found 
%"PRIx64" - %"PRIx64" \n",
+       /* It is fine to add this area to the nodes data it will be used later*/
+       if (ma->flags & ACPI_SRAT_MEM_HOT_PLUGGABLE)
+               printk(KERN_INFO "SRAT: hot plug zone found %"PRIx64" - 
%"PRIx64" \n",
                                start, end);
-               else {
-                       /* TODO: This range contains no existing memory yet,
-                        * and shouldn't be included in nodes' [start, end]. It
-                        * will be covered with physical memory hotplug support
-                        * in future.
-                        */
-                       printk(KERN_INFO "SRAT: future hotplug zone found 
%"PRIx64" - %"PRIx64" \n",
-                               start, end);
-                       return;
-               }
-       }
        i = conflicting_nodes(start, end);
        if (i == node) {
                printk(KERN_WARNING

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] SRAT memory hotplug 1/2: Revert 20053:ebb07c5934c8., Xen patchbot-unstable <=