linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Dan Magenheimer <dan.magenheimer@oracle.com>
To: "K. Y. Srinivasan" <kys@microsoft.com>,
	gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org,
	devel@linuxdriverproject.org, olaf@aepfle.de, apw@canonical.com,
	andi@firstfloor.org, akpm@linux-foundation.org,
	linux-mm@kvack.org, kamezawa.hiroyuki@gmail.com, mhocko@suse.cz,
	hannes@cmpxchg.org, yinghan@google.com,
	dan.magenheimer@oracle.com, konrad.wilk@oracle.com
Subject: RE: [PATCH 1/1] mm: Export a function to get vm committed memory
Date: Tue, 13 Nov 2012 07:45:39 -0800 (PST)	[thread overview]
Message-ID: <05faaa76-24af-42a5-9619-a627e3411f1a@default> (raw)
In-Reply-To: <<1352818957-9229-1-git-send-email-kys@microsoft.com>>

> From: K. Y. Srinivasan [mailto:kys@microsoft.com]
> Sent: Tuesday, November 13, 2012 8:03 AM
> To: gregkh@linuxfoundation.org; linux-kernel@vger.kernel.org; devel@linuxdriverproject.org;
> olaf@aepfle.de; apw@canonical.com; andi@firstfloor.org; akpm@linux-foundation.org; linux-mm@kvack.org;
> kamezawa.hiroyuki@gmail.com; mhocko@suse.cz; hannes@cmpxchg.org; yinghan@google.com;
> dan.magenheimer@oracle.com; konrad.wilk@oracle.com
> Cc: K. Y. Srinivasan
> Subject: [PATCH 1/1] mm: Export a function to get vm committed memory
> 
> It will be useful to be able to access global memory commitment from device
> drivers. On the Hyper-V platform, the host has a policy engine to balance
> the available physical memory amongst all competing virtual machines
> hosted on a given node. This policy engine is driven by a number of metrics
> including the memory commitment reported by the guests. The balloon driver
> for Linux on Hyper-V will use this function to retrieve guest memory commitment.
> This function is also used in Xen self ballooning code.
> 
> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>

The patch to the Xen selfballoon driver is unnecessary, but is
one step in the direction of module support for this driver so
I am fine whether the patch is included here or not.

Acked-by: Dan Magenheimer <dan.magenheimer@oracle.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>

       reply	other threads:[~2012-11-13 15:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <<1352818957-9229-1-git-send-email-kys@microsoft.com>
2012-11-13 15:45 ` Dan Magenheimer [this message]
2012-11-13 15:02 [PATCH 1/1] mm: Export a function to get vm committed memory K. Y. Srinivasan
2012-11-13 21:07 ` David Rientjes
2012-11-27 21:12   ` Konrad Rzeszutek Wilk

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=05faaa76-24af-42a5-9619-a627e3411f1a@default \
    --to=dan.magenheimer@oracle.com \
    --cc=akpm@linux-foundation.org \
    --cc=andi@firstfloor.org \
    --cc=apw@canonical.com \
    --cc=devel@linuxdriverproject.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=hannes@cmpxchg.org \
    --cc=kamezawa.hiroyuki@gmail.com \
    --cc=konrad.wilk@oracle.com \
    --cc=kys@microsoft.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mhocko@suse.cz \
    --cc=olaf@aepfle.de \
    --cc=yinghan@google.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).