All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nick Piggin <nickpiggin@yahoo.com.au>
To: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: linux-mm@kvack.org, akpm@osdl.org, frankeh@watson.ibm.com
Subject: Re: [patch 1/8] Page host virtual assist: unused / free pages.
Date: Tue, 25 Apr 2006 22:20:22 +1000	[thread overview]
Message-ID: <444E1406.7010101@yahoo.com.au> (raw)
In-Reply-To: <20060424123423.GB15817@skybase>

Himanshu Raj wrote:
> [patch 1/8] Page host virtual assist: unused / free pages.
> 
> A very simple but already quite effective improvement in the handling
> of guest memory vs. host memory is to tell the host when pages are
> free. That allows the host to avoid the paging of guest pages without
> meaningful content. The host can "forget" the page content and provide
> a fresh frame containing zeroes instead.
> 
> To communicate the two page states "unused" and "stable" to the host
> two architecture defined primitives page_hva_set_unused() and
> page_hva_set_stable() are introduced, which are used in the page
> allocator.
> 
> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

This seems reasonable to me. But again, there is no reason for the
mm to know about this "hva" thing.

We already have arch_free_page. Can't you introduce an arch_alloc_page
and use those?

-- 
SUSE Labs, Novell Inc.
Send instant messages to your online friends http://au.messenger.yahoo.com 

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

      parent reply	other threads:[~2006-04-25 12:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-24 12:34 [patch 1/8] Page host virtual assist: unused / free pages Martin Schwidefsky, Martin Schwidefsky, Hubertus Franke, Himanshu Raj
2006-04-24 14:07 ` Andi Kleen
2006-04-24 14:41   ` Martin Schwidefsky
2006-04-24 14:49     ` Andi Kleen
2006-04-24 14:59       ` Martin Schwidefsky
2006-04-24 15:06         ` Andi Kleen
2006-04-24 15:43           ` Hubertus Franke
2006-04-25 12:20 ` Nick Piggin [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=444E1406.7010101@yahoo.com.au \
    --to=nickpiggin@yahoo.com.au \
    --cc=akpm@osdl.org \
    --cc=frankeh@watson.ibm.com \
    --cc=linux-mm@kvack.org \
    --cc=schwidefsky@de.ibm.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 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.