WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] Make lock profiling usable again

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] Make lock profiling usable again
From: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
Date: Fri, 04 Nov 2011 13:52:42 +0100
Cc: xudong.hao@xxxxxxxxx
Delivery-date: Fri, 04 Nov 2011 05:59:14 -0700
Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=ts.fujitsu.com; i=juergen.gross@xxxxxxxxxxxxxx; q=dns/txt; s=s1536b; t=1320411436; x=1351947436; h=mime-version:subject:message-id:date:from:to:cc; bh=p4XZ3hWgdR4zt3KVs0ytQzkGXmdDamF09qkCjlBlbFo=; b=DPjJ5n+Uj+2yu87wLVYjibNHZfSbONPHe3RDLQHh2gz+BbgVslrU0E8p 1Khzbqt1OWMz4VmlfszOsbvjJEQSSB8o2FWdi7b8/JEAW+18G/7YKkgUX UgxQbbeRArdq1VYEDCoGLYOhxERHke6zA0DLMlxyWbMzPqjiO3chef3eK 8qV+LRqnrMVFY/4Fd3PPWcZoO/EAHDzJzuRfP1fW3mO1U0n0IPnfoINmU 8nMzmLbTfDkXA/ksXi158o9DIZd/c;
Domainkey-signature: s=s1536a; d=ts.fujitsu.com; c=nofws; q=dns; h=X-SBRSScore:X-IronPort-AV:Received:X-IronPort-AV: Received:Received:Content-Type:MIME-Version:Subject: X-Mercurial-Node:Message-Id:Date:From:To:Cc; b=HTZMNRmLH+erYPlCI8und90qN/y6kMqu850K9NHDUdUa1cRw2Vnv899V anFwaKk8M2uuGXu3hAtR3vkdUMvxs+6FH+wPQhDqc1YWnE4dQGmImBv94 AsmatQFsH9DcBsPAs2ouvQok03PRwxs23lhC31XuwL2ARnz58UlTE0U7k AReDUD0SdRrC4nLLtXpGd7z63FQOyYeVy9bCKqIYTvXXLD7c2dVrkK5S2 GXYOUja0rpBC9NmwKN7j5GFdnnwDT;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Using lock profiling (option lock_profile in xen/Rules.mk) resulted in build
errors.
Changes:
- Include public/sysctl.h in spinlock.h when using lock profiling.
- Allocate profile data in an own structure to avoid struct domain becoming
  larger then one page

Signed-off-by: juergen.gross@xxxxxxxxxxxxxx


2 files changed, 44 insertions(+), 24 deletions(-)
xen/common/spinlock.c      |   34 +++++++++++++++++++++-------------
xen/include/xen/spinlock.h |   34 +++++++++++++++++++++++-----------


Attachment: xen-staging.hg.patch
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>