All of lore.kernel.org
 help / color / mirror / Atom feed
From: zhangcy <zhangcy@cn.fujitsu.com>
To: george.dunlap@eu.citrix.com, keir@xen.org, jbeulich@suse.com,
	andrew.cooper3@citrix.com, xen-devel@lists.xen.org
Subject: [PATCH] delte PAGE_ORDER_1G in pod
Date: Tue, 26 Apr 2016 15:27:49 +0800	[thread overview]
Message-ID: <1461655669-7815-1-git-send-email-zhangcy@cn.fujitsu.com> (raw)

PoD does not have cache list for 1GB pages.

Signed-off-by: zhangcy <zhangcy@cn.fujitsu.com>
---
 xen/arch/x86/mm/p2m-pod.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/xen/arch/x86/mm/p2m-pod.c b/xen/arch/x86/mm/p2m-pod.c
index a931f2c..89a07ee 100644
--- a/xen/arch/x86/mm/p2m-pod.c
+++ b/xen/arch/x86/mm/p2m-pod.c
@@ -122,10 +122,6 @@ p2m_pod_cache_add(struct p2m_domain *p2m,
     /* Then add to the appropriate populate-on-demand list. */
     switch ( order )
     {
-    case PAGE_ORDER_1G:
-        for ( i = 0; i < (1UL << PAGE_ORDER_1G); i += 1UL << PAGE_ORDER_2M )
-            page_list_add_tail(page + i, &p2m->pod.super);
-        break;
     case PAGE_ORDER_2M:
         page_list_add_tail(page, &p2m->pod.super);
         break;
-- 
1.7.12.4




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

             reply	other threads:[~2016-04-26  7:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-26  7:27 zhangcy [this message]
2016-04-26  8:33 ` [PATCH] delte PAGE_ORDER_1G in pod Jan Beulich
2016-04-26  8:41   ` Zhang, Chunyu
2016-04-26 10:23 ` George Dunlap
2016-04-26 10:49   ` Zhang, Chunyu
2016-04-26 10:57     ` George Dunlap
2016-04-26 11:05       ` Zhang, Chunyu
2016-04-26 11:12         ` George Dunlap
2016-04-26 11:48           ` Zhang, Chunyu

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=1461655669-7815-1-git-send-email-zhangcy@cn.fujitsu.com \
    --to=zhangcy@cn.fujitsu.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=george.dunlap@eu.citrix.com \
    --cc=jbeulich@suse.com \
    --cc=keir@xen.org \
    --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.