[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.1211131307090.5164@chino.kir.corp.google.com>
Date: Tue, 13 Nov 2012 13:07:30 -0800 (PST)
From: David Rientjes <rientjes@...gle.com>
To: "K. Y. Srinivasan" <kys@...rosoft.com>
cc: gregkh@...uxfoundation.org, linux-kernel@...r.kernel.org,
devel@...uxdriverproject.org, olaf@...fle.de, apw@...onical.com,
andi@...stfloor.org, akpm@...ux-foundation.org, linux-mm@...ck.org,
kamezawa.hiroyuki@...il.com, mhocko@...e.cz, hannes@...xchg.org,
yinghan@...gle.com, dan.magenheimer@...cle.com,
konrad.wilk@...cle.com
Subject: Re: [PATCH 1/1] mm: Export a function to get vm committed memory
On Tue, 13 Nov 2012, K. Y. Srinivasan wrote:
> 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@...rosoft.com>
Acked-by: David Rientjes <rientjes@...gle.com>
Very nice!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists