[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH 1 of 3] introduce and use common macros for selecting cpupool based cpumasks


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
  • Date: Tue, 24 Jan 2012 11:06:07 +0100
  • Delivery-date: Tue, 24 Jan 2012 10:14:18 +0000
  • 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:In-Reply-To:Date:From:To; b=YXiS44VTX/A0Y56Urq3fal+Srsh5Q+lAB3eNUfclm6/tqRJ28EJUuqXO 0Emd4wZpHBr5PN25YGRlSm61PzoMDDuXzRD761Fp7Vacw82xLqFHZRQEn GT6qH8DV5q7Il3iw6devmfvrtFFdl10ShTVgS3Y55oZ5tKoJcNX7qWRla MwOT/SC8AUKL4AglUruFn/ki0WuIltkteCK8r/YGacRYIGV6EZyZB7r57 YbXAhB7n1ufgWxF/USr4DAN8szzbe;
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

There are several instances of the same construct finding the cpumask for a
cpupool. Use macros instead.

Signed-off-by: juergen.gross@xxxxxxxxxxxxxx


6 files changed, 13 insertions(+), 16 deletions(-)
xen/common/domctl.c        |    2 +-
xen/common/sched_credit.c  |    6 ++----
xen/common/sched_credit2.c |    2 --
xen/common/sched_sedf.c    |    8 +++-----
xen/common/schedule.c      |    6 ++----
xen/include/xen/sched-if.h |    5 +++++


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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.