[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] xentrace: Ensure virq gets sent even if we exactly hit the half water mark.
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1198057895 0 # Node ID 7c98b9177b15990b8ac267d70960da1a9b2dff4e # Parent 2900e4dacaa7c15b8a392bea58588c72f6899d9e xentrace: Ensure virq gets sent even if we exactly hit the half water mark. Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx> --- xen/common/trace.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -r 2900e4dacaa7 -r 7c98b9177b15 xen/common/trace.c --- a/xen/common/trace.c Mon Dec 17 09:56:12 2007 -0700 +++ b/xen/common/trace.c Wed Dec 19 09:51:35 2007 +0000 @@ -485,8 +485,8 @@ void __trace_var(u32 event, int cycles, local_irq_restore(flags); /* Notify trace buffer consumer that we've crossed the high water mark. */ - if ( started_below_highwater - && ((buf->prod - buf->cons) > t_buf_highwater) ) + if ( started_below_highwater && + ((buf->prod - buf->cons) >= t_buf_highwater) ) raise_softirq(TRACE_SOFTIRQ); } _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |