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

[Xen-changelog] [xen master] xen/arm: grant-table: Increased the initial number of grant frame to 4



commit ee0941e83c31528da06d62a9cabb9b6fef1d2617
Author:     Julien Grall <julien.grall@xxxxxxxxxx>
AuthorDate: Tue Jan 13 18:17:21 2015 +0000
Commit:     Ian Campbell <ian.campbell@xxxxxxxxxx>
CommitDate: Thu Jan 15 13:44:41 2015 +0000

    xen/arm: grant-table: Increased the initial number of grant frame to 4
    
    When a domain is created on ARM, the grant table code initialized one
    grant frame. With a basic load (i.e disk usage), Xen is quickly trying
    to expand the number of frames:
    
    (XEN) grant_table.c:1305:d2v0 Expanding dom (2) grant table from (1) to (2) 
frames.
    (XEN) grant_table.c:1305:d2v0 Expanding dom (2) grant table from (2) to (3) 
frames.
    (XEN) grant_table.c:311:d0v0 Increased maptrack size to 2 frames
    (XEN) grant_table.c:311:d0v0 Increased maptrack size to 3 frames
    
    The x86 code is initialied 4 frames (I didn't find the exact reason). I
    think we could use the same default value.
    
    Signed-off-by: Julien Grall <julien.grall@xxxxxxxxxx>
    Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
 xen/include/asm-arm/grant_table.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/xen/include/asm-arm/grant_table.h 
b/xen/include/asm-arm/grant_table.h
index 88ee3c6..5e076cc 100644
--- a/xen/include/asm-arm/grant_table.h
+++ b/xen/include/asm-arm/grant_table.h
@@ -3,7 +3,7 @@
 
 #include <xen/grant_table.h>
 
-#define INITIAL_NR_GRANT_FRAMES 1
+#define INITIAL_NR_GRANT_FRAMES 4
 
 void gnttab_clear_flag(unsigned long nr, uint16_t *addr);
 int create_grant_host_mapping(unsigned long gpaddr,
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
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®.