[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] xentrace: Mark data_size __read_mostly because it's only written once
# HG changeset patch # User Olaf Hering <olaf@xxxxxxxxx> # Date 1304931553 -3600 # Node ID 0ddcc8063690b256fbc483785f4793a658b671d9 # Parent fb5313e64335e3b50f9ad7155f7f8ed067b33e8b xentrace: Mark data_size __read_mostly because it's only written once Signed-off-by: Olaf Hering <olaf@xxxxxxxxx> --- diff -r fb5313e64335 -r 0ddcc8063690 xen/common/trace.c --- a/xen/common/trace.c Mon May 09 09:58:36 2011 +0100 +++ b/xen/common/trace.c Mon May 09 09:59:13 2011 +0100 @@ -54,7 +54,7 @@ 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 */ _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |