All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dario Faggioli <dario.faggioli@citrix.com>
To: Julien Grall <julien.grall@citrix.com>, Jan Beulich <JBeulich@suse.com>
Cc: George Dunlap <george.dunlap@eu.citrix.com>,
	Andrew Cooper <andrew.cooper3@citrix.com>,
	Keir Fraser <keir@xen.org>,
	xen-devel@lists.xenproject.org
Subject: Re: [PATCH] x86/mm: pod: Use the correct memory flags for alloc_domheap_page{, s}
Date: Thu, 22 Oct 2015 18:54:00 +0200	[thread overview]
Message-ID: <1445532840.6523.57.camel@citrix.com> (raw)
In-Reply-To: <56290B1A.6030109@citrix.com>


[-- Attachment #1.1: Type: text/plain, Size: 1486 bytes --]

On Thu, 2015-10-22 at 17:13 +0100, Julien Grall wrote:
> On 22/10/15 16:48, Jan Beulich wrote:
> > > > > On 22.10.15 at 17:43, <julien.grall@citrix.com> wrote:
> > > @@ -477,7 +477,7 @@ p2m_pod_offline_or_broken_replace(struct
> > > page_info *p)
> > >  
> > >      free_domheap_page(p);
> > >  
> > > -    p = alloc_domheap_page(d, PAGE_ORDER_4K);
> > > +    p = alloc_domheap_page(d, 0);
> > 
> > I realize that this is the easiest fix, but I think here we instead
> > want
> > something like
> 
> It sounds sensible to me to re-allocate the page on the same numa
> node.
> 
Indeed. It may be worth mentioning this in the changelog too, IMHO.

> I will send another version of this patch. Although, I would
> appreciate
> if someone can test it because I don't have any NUMA platform.
> 
I'm up for it... What would it be a reasonable test, that actually
stress this?

I certainly can do a "regular" test cycle such as: boot --> create a
guest --> play a bit with it --> shutdown. Is it enough?

I think it should be an HVM guest, right? And perhaps I should specify
different mem= and memmax= ?

Just let me know and, if you remember, Cc me when sending next version.

Regards,
Dario
-- 
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)


[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

  reply	other threads:[~2015-10-22 16:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-22 15:43 [PATCH] x86/mm: pod: Use the correct memory flags for alloc_domheap_page{, s} Julien Grall
2015-10-22 15:48 ` Jan Beulich
2015-10-22 16:13   ` Julien Grall
2015-10-22 16:54     ` Dario Faggioli [this message]
2015-10-23  6:45     ` Jan Beulich

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=1445532840.6523.57.camel@citrix.com \
    --to=dario.faggioli@citrix.com \
    --cc=JBeulich@suse.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=george.dunlap@eu.citrix.com \
    --cc=julien.grall@citrix.com \
    --cc=keir@xen.org \
    --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.