ia64/xen-unstable

changeset 9972:8ac86f96879f

[IA64] xen: 64KB vhpt size

dom0 vp model: make vhpt size smaller to 64KB. this is a temporal change.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author awilliam@xenbuild.aw
date Tue May 09 11:34:45 2006 -0600 (2006-05-09)
parents ada6dba78b6e
children 7296d8fb07ff
files xen/include/asm-ia64/vhpt.h
line diff
     1.1 --- a/xen/include/asm-ia64/vhpt.h	Tue May 09 11:33:29 2006 -0600
     1.2 +++ b/xen/include/asm-ia64/vhpt.h	Tue May 09 11:34:45 2006 -0600
     1.3 @@ -4,7 +4,12 @@
     1.4  #define VHPT_ENABLED 1
     1.5  
     1.6  /* Size of the VHPT.  */
     1.7 -#define	VHPT_SIZE_LOG2			24
     1.8 +#ifdef CONFIG_XEN_IA64_DOM0_VP
     1.9 +// XXX work around to avoid trigerring xenLinux software lock up detection.
    1.10 +# define	VHPT_SIZE_LOG2			16	// 64KB
    1.11 +#else
    1.12 +# define	VHPT_SIZE_LOG2			24	// 16MB default
    1.13 +#endif
    1.14  
    1.15  /* Number of entries in the VHPT.  The size of an entry is 4*8B == 32B */
    1.16  #define	VHPT_NUM_ENTRIES		(1 << (VHPT_SIZE_LOG2 - 5))