All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Jackson <Ian.Jackson@eu.citrix.com>
To: Marcus Granado <Marcus.Granado@eu.citrix.com>
Cc: Andrew Cooper <Andrew.Cooper3@citrix.com>,
	Wei Liu <wei.liu2@citrix.com>,
	"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: [PATCH] xenconsoled: use array index to keep track of pollfd
Date: Mon, 25 Mar 2013 13:00:45 +0000	[thread overview]
Message-ID: <20816.19069.734608.520005@mariner.uk.xensource.com> (raw)
In-Reply-To: <514B1435.9060101@citrix.com>

Marcus Granado writes ("Re: [PATCH] xenconsoled: use array index to keep track of pollfd"):
> On 19/03/13 17:45, Wei Liu wrote:
> > If we use pointers to reference elements inside array, it is possible that we
> > get wild pointer after realloc(3) copies array and returns a new pointer.
> >
> > Keep track of element indexes inside the array can solve this problem.
...
> I was able to start 700 vms in a host using the patch above.
> 
> Reviewed-by: Marcus Granado <marcus.granado@citrix.com>
> Tested-by: Marcus Granado <marcus.granado@citrix.com>

Thanks to both of you.  Committed.

Ian.

      reply	other threads:[~2013-03-25 13:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-19 17:45 [PATCH] xenconsoled: use array index to keep track of pollfd Wei Liu
2013-03-21 14:07 ` Marcus Granado
2013-03-25 13:00   ` Ian Jackson [this message]

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=20816.19069.734608.520005@mariner.uk.xensource.com \
    --to=ian.jackson@eu.citrix.com \
    --cc=Andrew.Cooper3@citrix.com \
    --cc=Marcus.Granado@eu.citrix.com \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xen.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.