From: Rusty Russell <rusty@rustcorp.com.au>
To: linux-kernel@vger.kernel.org
Cc: Hollis Blanchard <hollisb@us.ibm.com>,
aliguori@us.ibm.com, markmc@redhat.com, kvm@vger.kernel.org
Subject: [PATCH 7/7] lguest: change virtio ring alignment.
Date: Wed, 12 Nov 2008 06:23:27 -0600 [thread overview]
Message-ID: <200811122253.27332.rusty@rustcorp.com.au> (raw)
This is just to test that the constant is wired through correctly.
lguest has no ABI so I could apply this patch, but it breaks the
"don't be an asshole" rule.
diff -r 19e5f3f3a4be Documentation/lguest/Makefile
--- a/Documentation/lguest/Makefile Wed Nov 12 22:27:50 2008 +1030
+++ b/Documentation/lguest/Makefile Wed Nov 12 22:38:52 2008 +1030
@@ -4,5 +4,7 @@
all: lguest
+lguest: ../../include/linux/lguest_launcher.h
+
clean:
rm -f lguest
diff -r 19e5f3f3a4be include/linux/lguest_launcher.h
--- a/include/linux/lguest_launcher.h Wed Nov 12 22:27:50 2008 +1030
+++ b/include/linux/lguest_launcher.h Wed Nov 12 22:38:52 2008 +1030
@@ -60,5 +60,6 @@
LHREQ_BREAK, /* + on/off flag (on blocks until someone does off) */
};
-#define LGUEST_VRING_ALIGN 4096
+/* A cacheline is enough separation between producer and consumer. */
+#define LGUEST_VRING_ALIGN 128
#endif /* _LINUX_LGUEST_LAUNCHER */
reply other threads:[~2008-11-12 12:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=200811122253.27332.rusty@rustcorp.com.au \
--to=rusty@rustcorp.com.au \
--cc=aliguori@us.ibm.com \
--cc=hollisb@us.ibm.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=markmc@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