xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: xen-devel@lists.xensource.com
Subject: [PATCH] Macro for checking insance amounts of data on the ring (Xen patch).
Date: Mon, 10 Jun 2013 12:02:00 -0400	[thread overview]
Message-ID: <1370880121-7690-1-git-send-email-konrad.wilk@oracle.com> (raw)

Hey,

This patch had been posted in the past but had a glaring issue that
Jan spotted. This version fixes it. Said macro is being used in the
xen-blkback to check whether the indexes are bogus and the ring
is overflowed.


 xen/include/public/io/ring.h | 6 ++++++
 1 file changed, 6 insertions(+)

Konrad Rzeszutek Wilk (1):
      ring/macro: Add a new macro to detect whether there is an overflow in requests and response.

             reply	other threads:[~2013-06-10 16:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-10 16:02 Konrad Rzeszutek Wilk [this message]
2013-06-10 16:02 ` [v2] ring/macro: Add a new macro to detect whether there is an overflow in requests and response Konrad Rzeszutek Wilk
2013-06-11  8:23   ` [PATCH v3] io/ring.h: new macro to detect whether there are too many requests on the ring Jan Beulich
2013-06-11 10:10     ` Keir Fraser

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=1370880121-7690-1-git-send-email-konrad.wilk@oracle.com \
    --to=konrad.wilk@oracle.com \
    --cc=xen-devel@lists.xensource.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).