RE: [PATCH 1/1] mm: Export a function to read vm_committed_as

2012-11-13 Thread David Rientjes
On Tue, 13 Nov 2012, Dan Magenheimer wrote: > KY is simply asking that the data item be exported so that he can > use it from a new module. No change to the Xen selfballoon driver > is necessary right now and requiring one only gets in the way of the > patch. At some future time, the Xen

RE: [PATCH 1/1] mm: Export a function to read vm_committed_as

2012-11-13 Thread Dan Magenheimer
> From: KY Srinivasan [mailto:k...@microsoft.com] > Subject: RE: [PATCH 1/1] mm: Export a function to read vm_committed_as > > > From: David Rientjes [mailto:rient...@google.com] > > Sent: Monday, November 12, 2012 6:49 PM > > To: Dan Magenheimer > > Cc

RE: [PATCH 1/1] mm: Export a function to read vm_committed_as

2012-11-13 Thread Dan Magenheimer
From: KY Srinivasan [mailto:k...@microsoft.com] Subject: RE: [PATCH 1/1] mm: Export a function to read vm_committed_as From: David Rientjes [mailto:rient...@google.com] Sent: Monday, November 12, 2012 6:49 PM To: Dan Magenheimer Cc: KY Srinivasan; Konrad Wilk; gre

RE: [PATCH 1/1] mm: Export a function to read vm_committed_as

2012-11-13 Thread David Rientjes
On Tue, 13 Nov 2012, Dan Magenheimer wrote: KY is simply asking that the data item be exported so that he can use it from a new module. No change to the Xen selfballoon driver is necessary right now and requiring one only gets in the way of the patch. At some future time, the Xen

RE: [PATCH 1/1] mm: Export a function to read vm_committed_as

2012-11-12 Thread KY Srinivasan
rg; o...@aepfle.de; > a...@canonical.com; a...@firstfloor.org; a...@linux-foundation.org; linux- > m...@kvack.org; kamezawa.hiroy...@gmail.com; mho...@suse.cz; > han...@cmpxchg.org; ying...@google.com > Subject: RE: [PATCH 1/1] mm: Export a function to read vm_committed_as > > On Mon

RE: [PATCH 1/1] mm: Export a function to read vm_committed_as

2012-11-12 Thread KY Srinivasan
rg; o...@aepfle.de; a...@canonical.com; > a...@firstfloor.org; a...@linux-foundation.org; linux...@kvack.org; > kamezawa.hiroy...@gmail.com; mho...@suse.cz; han...@cmpxchg.org; > ying...@google.com > Subject: RE: [PATCH 1/1] mm: Export a function to read vm_committed_as > > > From: K

RE: [PATCH 1/1] mm: Export a function to read vm_committed_as

2012-11-12 Thread David Rientjes
On Mon, 12 Nov 2012, Dan Magenheimer wrote: > > > Why? Is xen using it for a different inference? > > > > I think it is good to separate these patches. Dan (copied here) wrote the > > code for the > > Xen self balloon driver. If it is ok with him I can submit the patch for > > Xen as well. >

RE: [PATCH 1/1] mm: Export a function to read vm_committed_as

2012-11-12 Thread Dan Magenheimer
@linux-foundation.org; linux...@kvack.org; > kamezawa.hiroy...@gmail.com; mho...@suse.cz; han...@cmpxchg.org; > ying...@google.com; Dan Magenheimer > Subject: RE: [PATCH 1/1] mm: Export a function to read vm_committed_as > > > -Original Message- > > From: David R

RE: [PATCH 1/1] mm: Export a function to read vm_committed_as

2012-11-12 Thread KY Srinivasan
; a...@firstfloor.org; a...@linux-foundation.org; linux...@kvack.org; > kamezawa.hiroy...@gmail.com; mho...@suse.cz; han...@cmpxchg.org; > ying...@google.com > Subject: RE: [PATCH 1/1] mm: Export a function to read vm_committed_as > > On Sun, 11 Nov 2012, KY Srinivasan wrote: &

RE: [PATCH 1/1] mm: Export a function to read vm_committed_as

2012-11-12 Thread David Rientjes
On Sun, 11 Nov 2012, KY Srinivasan wrote: > Thanks for the prompt response. For the Linux balloon driver for Hyper-V, I > need access > to the metric that reflects the system wide memory commitment made by the > guest kernel. > In the Hyper-V case, this information is one of the many metrics

RE: [PATCH 1/1] mm: Export a function to read vm_committed_as

2012-11-12 Thread KY Srinivasan
@linux-foundation.org; linux...@kvack.org; > kamezawa.hiroy...@gmail.com; mho...@suse.cz; han...@cmpxchg.org; > ying...@google.com > Subject: RE: [PATCH 1/1] mm: Export a function to read vm_committed_as > > > > > -Original Message- > > From: David Rient

RE: [PATCH 1/1] mm: Export a function to read vm_committed_as

2012-11-12 Thread KY Srinivasan
...@kvack.org; kamezawa.hiroy...@gmail.com; mho...@suse.cz; han...@cmpxchg.org; ying...@google.com Subject: RE: [PATCH 1/1] mm: Export a function to read vm_committed_as -Original Message- From: David Rientjes [mailto:rient...@google.com] Sent: Saturday, November 10, 2012 9:35

RE: [PATCH 1/1] mm: Export a function to read vm_committed_as

2012-11-12 Thread David Rientjes
On Sun, 11 Nov 2012, KY Srinivasan wrote: Thanks for the prompt response. For the Linux balloon driver for Hyper-V, I need access to the metric that reflects the system wide memory commitment made by the guest kernel. In the Hyper-V case, this information is one of the many metrics used

RE: [PATCH 1/1] mm: Export a function to read vm_committed_as

2012-11-12 Thread KY Srinivasan
; a...@linux-foundation.org; linux...@kvack.org; kamezawa.hiroy...@gmail.com; mho...@suse.cz; han...@cmpxchg.org; ying...@google.com Subject: RE: [PATCH 1/1] mm: Export a function to read vm_committed_as On Sun, 11 Nov 2012, KY Srinivasan wrote: Thanks for the prompt response. For the Linux

RE: [PATCH 1/1] mm: Export a function to read vm_committed_as

2012-11-12 Thread Dan Magenheimer
...@kvack.org; kamezawa.hiroy...@gmail.com; mho...@suse.cz; han...@cmpxchg.org; ying...@google.com; Dan Magenheimer Subject: RE: [PATCH 1/1] mm: Export a function to read vm_committed_as -Original Message- From: David Rientjes [mailto:rient...@google.com] Sent: Monday, November 12

RE: [PATCH 1/1] mm: Export a function to read vm_committed_as

2012-11-12 Thread David Rientjes
On Mon, 12 Nov 2012, Dan Magenheimer wrote: Why? Is xen using it for a different inference? I think it is good to separate these patches. Dan (copied here) wrote the code for the Xen self balloon driver. If it is ok with him I can submit the patch for Xen as well. Hi KY --

RE: [PATCH 1/1] mm: Export a function to read vm_committed_as

2012-11-12 Thread KY Srinivasan
; a...@canonical.com; a...@firstfloor.org; a...@linux-foundation.org; linux...@kvack.org; kamezawa.hiroy...@gmail.com; mho...@suse.cz; han...@cmpxchg.org; ying...@google.com Subject: RE: [PATCH 1/1] mm: Export a function to read vm_committed_as From: KY Srinivasan [mailto:k...@microsoft.com] Sent

RE: [PATCH 1/1] mm: Export a function to read vm_committed_as

2012-11-12 Thread KY Srinivasan
; a...@canonical.com; a...@firstfloor.org; a...@linux-foundation.org; linux- m...@kvack.org; kamezawa.hiroy...@gmail.com; mho...@suse.cz; han...@cmpxchg.org; ying...@google.com Subject: RE: [PATCH 1/1] mm: Export a function to read vm_committed_as On Mon, 12 Nov 2012, Dan Magenheimer wrote: Why? Is xen

RE: [PATCH 1/1] mm: Export a function to read vm_committed_as

2012-11-11 Thread KY Srinivasan
a...@canonical.com; > a...@firstfloor.org; a...@linux-foundation.org; linux...@kvack.org; > kamezawa.hiroy...@gmail.com; mho...@suse.cz; han...@cmpxchg.org; > ying...@google.com > Subject: Re: [PATCH 1/1] mm: Export a function to read vm_committed_as > > On Sat, 10 Nov 2012, K. Y. Srinivasan wrote

RE: [PATCH 1/1] mm: Export a function to read vm_committed_as

2012-11-11 Thread KY Srinivasan
; a...@linux-foundation.org; linux...@kvack.org; kamezawa.hiroy...@gmail.com; mho...@suse.cz; han...@cmpxchg.org; ying...@google.com Subject: Re: [PATCH 1/1] mm: Export a function to read vm_committed_as On Sat, 10 Nov 2012, K. Y. Srinivasan wrote: diff --git a/mm/mmap.c b/mm/mmap.c index

Re: [PATCH 1/1] mm: Export a function to read vm_committed_as

2012-11-10 Thread David Rientjes
On Sat, 10 Nov 2012, K. Y. Srinivasan wrote: > diff --git a/mm/mmap.c b/mm/mmap.c > index 2d94235..e527239 100644 > --- a/mm/mmap.c > +++ b/mm/mmap.c > @@ -89,6 +89,17 @@ int sysctl_max_map_count __read_mostly = > DEFAULT_MAX_MAP_COUNT; > struct percpu_counter vm_committed_as

Re: [PATCH 1/1] mm: Export a function to read vm_committed_as

2012-11-10 Thread David Rientjes
On Sat, 10 Nov 2012, K. Y. Srinivasan wrote: diff --git a/mm/mmap.c b/mm/mmap.c index 2d94235..e527239 100644 --- a/mm/mmap.c +++ b/mm/mmap.c @@ -89,6 +89,17 @@ int sysctl_max_map_count __read_mostly = DEFAULT_MAX_MAP_COUNT; struct percpu_counter vm_committed_as