From: Ian Campbell <ian.campbell@citrix.com>
To: Julien Grall <julien.grall@citrix.com>, xen-devel@lists.xenproject.org
Cc: stefano.stabellini@eu.citrix.com
Subject: Re: [PATCH 4/4] xen/arm: p2m: Remove translation table when it's empty
Date: Mon, 30 Nov 2015 14:32:20 +0000 [thread overview]
Message-ID: <1448893939.15768.45.camel@citrix.com> (raw)
In-Reply-To: <565C5C7A.3050100@citrix.com>
On Mon, 2015-11-30 at 14:26 +0000, Julien Grall wrote:
> +
> > > + p2m->stats.mappings[level - 1]--;
> > > + update_reference_mapping(pages[level - 1],
> > > old_entry, *entry);
> > > +
> > > + /*
> > > + * We can't free the page now because it may be
> > > present
> > > + * in the guest TLB. Queue it and free it after the
> > > TLB
> > > + * has been flushed.
> > > + */
> > > + page_list_add(pg, &free_pages);
> >
> > You could have used page_list_move instead of del+add, but I can't
> > quite
> > convince myself it matters.
>
> Are you sure?
No.
> AFAICT, page_list_move move the head of the list from one
> variable to another. So all the list is moved.
I think you are probably right.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
prev parent reply other threads:[~2015-11-30 14:33 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-18 15:49 [PATCH 0/4] xen/arm: p2m: Add support to remove empty translation table Julien Grall
2015-11-18 15:49 ` [PATCH 1/4] xen/arm: p2m: Flush for every exit paths in apply_p2m_changes Julien Grall
2015-11-25 11:43 ` Ian Campbell
2015-11-18 15:49 ` [PATCH 2/4] xen/arm: p2m: Store the page for each mapping Julien Grall
2015-11-25 11:46 ` Ian Campbell
2015-11-18 15:49 ` [PATCH 3/4] xen/arm: p2m: Introduce an helper to remove an entry in the page table Julien Grall
2015-11-25 11:47 ` Ian Campbell
2015-11-18 15:49 ` [PATCH 4/4] xen/arm: p2m: Remove translation table when it's empty Julien Grall
2015-11-25 12:40 ` Ian Campbell
2015-11-30 14:26 ` Julien Grall
2015-11-30 14:32 ` Ian Campbell [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=1448893939.15768.45.camel@citrix.com \
--to=ian.campbell@citrix.com \
--cc=julien.grall@citrix.com \
--cc=stefano.stabellini@eu.citrix.com \
--cc=xen-devel@lists.xenproject.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.