From: Glauber Costa <glommer@redhat.com>
To: Jason Wang <jasowang@redhat.com>
Cc: mtosatti@redhat.com, avi@redhat.com, kvm@vger.kernel.org
Subject: Re: [PATCH kvm-unit-test 5/6] Add a simple kvmclock driver
Date: Fri, 27 Aug 2010 08:31:57 -0300 [thread overview]
Message-ID: <20100827113157.GL2985@mothafucka.localdomain> (raw)
In-Reply-To: <20100827054945.7409.61366.stgit@FreeLancer>
On Fri, Aug 27, 2010 at 01:49:45PM +0800, Jason Wang wrote:
> +#define unlikely(x) __builtin_expect(!!(x), 0)
> +
> +struct pvclock_vcpu_time_info hv_clock[MAX_CPU];
this structure have to be 4-byte aligned. Let the compiler
help you guaranteeing it here.
> +#define MAX_CPU 4
> +
Any particular reason for the number 4? I'd like
to see these tests running in really big boxes,
where things get really interesting.
next prev parent reply other threads:[~2010-08-27 11:32 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-27 5:49 [PATCH kvm-unit-test 0/6] Kvmclock test Jason Wang
2010-08-27 5:49 ` [PATCH kvm-unit-test 1/6] Introduce memory barriers Jason Wang
2010-08-27 5:49 ` [PATCH kvm-unit-test 2/6] Introduce atomic operations Jason Wang
2010-08-27 11:39 ` Glauber Costa
2010-08-29 9:39 ` Avi Kivity
2010-08-27 5:49 ` [PATCH kvm-unit-test 3/6] Export tsc related helpers Jason Wang
2010-08-27 5:49 ` [PATCH kvm-unit-test 4/6] Introduce atol() Jason Wang
2010-08-27 5:49 ` [PATCH kvm-unit-test 5/6] Add a simple kvmclock driver Jason Wang
2010-08-27 11:31 ` Glauber Costa [this message]
2010-08-27 5:49 ` [PATCH kvm-unit-test 6/6] Add a test for kvm-clock Jason Wang
2010-08-27 11:27 ` Glauber Costa
2010-08-30 3:07 ` Jason Wang
2010-08-27 11:34 ` Glauber Costa
2010-08-30 3:27 ` Jason Wang
2010-08-28 1:58 ` Zachary Amsden
[not found] <206398826.826221283138725330.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com>
2010-08-30 3:25 ` [PATCH kvm-unit-test 5/6] Add a simple kvmclock driver Jason Wang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100827113157.GL2985@mothafucka.localdomain \
--to=glommer@redhat.com \
--cc=avi@redhat.com \
--cc=jasowang@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=mtosatti@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).