Re: [PATCH 1/1] mm: Export a function to get vm committed memory

2012-11-27 Thread Konrad Rzeszutek Wilk
On Tue, Nov 13, 2012 at 01:07:30PM -0800, David Rientjes wrote: > 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

Re: [PATCH 1/1] mm: Export a function to get vm committed memory

2012-11-13 Thread David Rientjes
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. Th

RE: [PATCH 1/1] mm: Export a function to get vm committed memory

2012-11-13 Thread Dan Magenheimer
ndation.org; linux...@kvack.org; > kamezawa.hiroy...@gmail.com; mho...@suse.cz; han...@cmpxchg.org; > ying...@google.com; > dan.magenhei...@oracle.com; konrad.w...@oracle.com > Cc: K. Y. Srinivasan > Subject: [PATCH 1/1] mm: Export a function to get vm committed memory > > It will be us

[PATCH 1/1] mm: Export a function to get vm committed memory

2012-11-13 Thread K. Y. Srinivasan
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 incl