2011-05-31 17:35:29 +00:00
|
|
|
xentrace: Mark data_size __read_mostly because it's only written once
|
|
|
|
|
|
|
|
(xen-unstable changeset: 23309:0ddcc8063690)
|
|
|
|
|
|
|
|
Signed-off-by: Olaf Hering <olaf@aepfle.de>
|
|
|
|
|
|
|
|
---
|
|
|
|
xen/common/trace.c | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
2011-09-15 21:43:21 +00:00
|
|
|
Index: xen-4.1.2-testing/xen/common/trace.c
|
2011-05-31 17:35:29 +00:00
|
|
|
===================================================================
|
2011-09-15 21:43:21 +00:00
|
|
|
--- xen-4.1.2-testing.orig/xen/common/trace.c
|
|
|
|
+++ xen-4.1.2-testing/xen/common/trace.c
|
2011-05-31 17:35:29 +00:00
|
|
|
@@ -55,7 +55,7 @@ static unsigned int t_info_pages;
|
|
|
|
static DEFINE_PER_CPU_READ_MOSTLY(struct t_buf *, t_bufs);
|
|
|
|
static DEFINE_PER_CPU_READ_MOSTLY(unsigned char *, t_data);
|
|
|
|
static DEFINE_PER_CPU_READ_MOSTLY(spinlock_t, t_lock);
|
|
|
|
-static u32 data_size;
|
|
|
|
+static u32 data_size __read_mostly;
|
|
|
|
|
|
|
|
/* High water mark for trace buffers; */
|
|
|
|
/* Send virtual interrupt when buffer level reaches this point */
|