[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [IA64] added __read_mostly to some variables
# HG changeset patch # User awilliam@xxxxxxxxxxx # Node ID 6fae3a36f50be69fc37cbd68d6fcb5981de6d9dc # Parent 61504e80defa505aa294fa76f7665ec7fc433ffb [IA64] added __read_mostly to some variables Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx> --- xen/arch/ia64/xen/xenmem.c | 4 ++-- xen/arch/ia64/xen/xensetup.c | 2 +- xen/arch/ia64/xen/xentime.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff -r 61504e80defa -r 6fae3a36f50b xen/arch/ia64/xen/xenmem.c --- a/xen/arch/ia64/xen/xenmem.c Sun Oct 08 18:27:54 2006 -0600 +++ b/xen/arch/ia64/xen/xenmem.c Sun Oct 08 18:30:31 2006 -0600 @@ -38,13 +38,13 @@ boolean_param("contig_mem", opt_contig_m #define opt_contig_mem 1 #endif -struct page_info *frame_table; +struct page_info *frame_table __read_mostly; unsigned long max_page; /* * Set up the page tables. */ -volatile unsigned long *mpt_table; +volatile unsigned long *mpt_table __read_mostly; void paging_init (void) diff -r 61504e80defa -r 6fae3a36f50b xen/arch/ia64/xen/xensetup.c --- a/xen/arch/ia64/xen/xensetup.c Sun Oct 08 18:27:54 2006 -0600 +++ b/xen/arch/ia64/xen/xensetup.c Sun Oct 08 18:30:31 2006 -0600 @@ -82,7 +82,7 @@ unsigned long xenheap_size = XENHEAP_DEF unsigned long xenheap_size = XENHEAP_DEFAULT_SIZE; extern long running_on_sim; unsigned long xen_pstart; -void *xen_heap_start; +void *xen_heap_start __read_mostly; static int xen_count_pages(u64 start, u64 end, void *arg) diff -r 61504e80defa -r 6fae3a36f50b xen/arch/ia64/xen/xentime.c --- a/xen/arch/ia64/xen/xentime.c Sun Oct 08 18:27:54 2006 -0600 +++ b/xen/arch/ia64/xen/xentime.c Sun Oct 08 18:30:31 2006 -0600 @@ -39,7 +39,7 @@ seqlock_t xtime_lock __cacheline_aligned #define TIME_KEEPER_ID 0 unsigned long domain0_ready = 0; static s_time_t stime_irq = 0x0; /* System time at last 'time update' */ -unsigned long itc_scale, ns_scale; +unsigned long itc_scale __read_mostly, ns_scale __read_mostly; unsigned long itc_at_irq; /* We don't expect an absolute cycle value here, since then no way _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |