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-devel

[Xen-devel] [PATCH] reincrease percpu area

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] reincrease percpu area
From: "Yang, Xiaowei" <xiaowei.yang@xxxxxxxxx>
Date: Fri, 11 Sep 2009 18:46:05 +0800
Delivery-date: Fri, 11 Sep 2009 03:46:44 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.23 (X11/20090817)
Per-cpu vector code add a lot of percpu data. Together with perfc enabled, one page size per cpu is not enough any more.

Signed-off-by: Yang Xiaowei <xiaowei.yang@xxxxxxxxx>


diff -r d2a32e24fe50 xen/include/asm-x86/percpu.h
--- a/xen/include/asm-x86/percpu.h      Wed Sep 09 16:39:41 2009 +0100
+++ b/xen/include/asm-x86/percpu.h      Fri Sep 11 17:39:57 2009 +0800
@@ -1,7 +1,7 @@
 #ifndef __X86_PERCPU_H__
 #define __X86_PERCPU_H__

-#define PERCPU_SHIFT 12
+#define PERCPU_SHIFT 13
 #define PERCPU_SIZE  (1UL << PERCPU_SHIFT)

 /* Separate out the type, so (int[3], foo) works. */


Thanks,
Xiaowei

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] reincrease percpu area, Yang, Xiaowei <=