On Wed, 30 Mar 2011 11:02:38 +0530
Balbir Singh bal...@linux.vnet.ibm.com wrote:
Changelog v4
1. Added documentation for max_unmapped_pages
2. Better #ifdef'ing of max_unmapped_pages and min_unmapped_pages
Changelog v2
1. Use a config option to enable the code (Andrew Morton)
2. Explain
* Andrew Morton a...@linux-foundation.org [2011-03-30 16:35:45]:
On Wed, 30 Mar 2011 11:02:38 +0530
Balbir Singh bal...@linux.vnet.ibm.com wrote:
Changelog v4
1. Added documentation for max_unmapped_pages
2. Better #ifdef'ing of max_unmapped_pages and min_unmapped_pages
Changelog
Changelog v4
1. Added documentation for max_unmapped_pages
2. Better #ifdef'ing of max_unmapped_pages and min_unmapped_pages
Changelog v2
1. Use a config option to enable the code (Andrew Morton)
2. Explain the magic tunables in the code or at-least attempt
to explain them (General comment)
3.
On Mon, Feb 14, 2011 at 2:33 AM, Balbir Singh bal...@linux.vnet.ibm.com wrote:
* MinChan Kim minchan@gmail.com [2011-02-10 14:41:44]:
I don't know why the part of message is deleted only when I send you.
Maybe it's gmail bug.
I hope mail sending is successful in this turn. :)
On Thu,
* MinChan Kim minchan@gmail.com [2011-02-10 14:41:44]:
I don't know why the part of message is deleted only when I send you.
Maybe it's gmail bug.
I hope mail sending is successful in this turn. :)
On Thu, Feb 10, 2011 at 2:33 PM, Minchan Kim minchan@gmail.com wrote:
Sorry for
Sorry for late response.
On Fri, Jan 28, 2011 at 8:18 PM, Balbir Singh bal...@linux.vnet.ibm.com wrote:
* MinChan Kim minchan@gmail.com [2011-01-28 16:24:19]:
But the assumption for LRU order to change happens only if the page
cannot be successfully freed, which means it is in some
I don't know why the part of message is deleted only when I send you.
Maybe it's gmail bug.
I hope mail sending is successful in this turn. :)
On Thu, Feb 10, 2011 at 2:33 PM, Minchan Kim minchan@gmail.com wrote:
Sorry for late response.
On Fri, Jan 28, 2011 at 8:18 PM, Balbir Singh
* KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com [2011-01-31 08:58:53]:
On Fri, 28 Jan 2011 09:20:02 -0600 (CST)
Christoph Lameter c...@linux.com wrote:
On Fri, 28 Jan 2011, KAMEZAWA Hiroyuki wrote:
I see it as a tradeoff of when to check? add_to_page_cache or when we
are
On Fri, 28 Jan 2011 09:20:02 -0600 (CST)
Christoph Lameter c...@linux.com wrote:
On Fri, 28 Jan 2011, KAMEZAWA Hiroyuki wrote:
I see it as a tradeoff of when to check? add_to_page_cache or when we
are want more free memory (due to allocation). It is OK to wakeup
kswapd while
On Fri, 28 Jan 2011 16:24:19 +0900
Minchan Kim minchan@gmail.com wrote:
On Fri, Jan 28, 2011 at 3:48 PM, Balbir Singh bal...@linux.vnet.ibm.com
wrote:
* MinChan Kim minchan@gmail.com [2011-01-28 14:44:50]:
On Fri, Jan 28, 2011 at 11:56 AM, Balbir Singh
bal...@linux.vnet.ibm.com
* KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com [2011-01-28 16:56:05]:
On Fri, 28 Jan 2011 16:24:19 +0900
Minchan Kim minchan@gmail.com wrote:
On Fri, Jan 28, 2011 at 3:48 PM, Balbir Singh bal...@linux.vnet.ibm.com
wrote:
* MinChan Kim minchan@gmail.com [2011-01-28
On Fri, 28 Jan 2011 13:49:28 +0530
Balbir Singh bal...@linux.vnet.ibm.com wrote:
* KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com [2011-01-28 16:56:05]:
BTW, it seems this doesn't work when some apps use huge shmem.
How to handle the issue ?
Could you elaborate further?
==
static
* MinChan Kim minchan@gmail.com [2011-01-28 16:24:19]:
But the assumption for LRU order to change happens only if the page
cannot be successfully freed, which means it is in some way active..
and needs to be moved no?
1. holded page by someone
2. mapped pages
3. active pages
1
* KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com [2011-01-28 17:17:44]:
On Fri, 28 Jan 2011 13:49:28 +0530
Balbir Singh bal...@linux.vnet.ibm.com wrote:
* KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com [2011-01-28 16:56:05]:
BTW, it seems this doesn't work when some apps use huge
On Fri, 28 Jan 2011, KAMEZAWA Hiroyuki wrote:
I see it as a tradeoff of when to check? add_to_page_cache or when we
are want more free memory (due to allocation). It is OK to wakeup
kswapd while allocating memory, somehow for this purpose (global page
cache), add_to_page_cache or
On Thu, Jan 27, 2011 at 4:42 AM, Minchan Kim minchan@gmail.com wrote:
[snip]
index 7b56473..2ac8549 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -1660,6 +1660,9 @@ zonelist_scan:
unsigned long mark;
int ret;
+
On Fri, Jan 28, 2011 at 11:56 AM, Balbir Singh
bal...@linux.vnet.ibm.com wrote:
On Thu, Jan 27, 2011 at 4:42 AM, Minchan Kim minchan@gmail.com wrote:
[snip]
index 7b56473..2ac8549 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -1660,6 +1660,9 @@ zonelist_scan:
* Christoph Lameter c...@linux.com [2011-01-26 10:57:37]:
Reviewed-by: Christoph Lameter c...@linux.com
Thanks for the review!
--
Three Cheers,
Balbir
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More
* MinChan Kim minchan@gmail.com [2011-01-28 14:44:50]:
On Fri, Jan 28, 2011 at 11:56 AM, Balbir Singh
bal...@linux.vnet.ibm.com wrote:
On Thu, Jan 27, 2011 at 4:42 AM, Minchan Kim minchan@gmail.com wrote:
[snip]
index 7b56473..2ac8549 100644
--- a/mm/page_alloc.c
+++
On Fri, Jan 28, 2011 at 3:48 PM, Balbir Singh bal...@linux.vnet.ibm.com wrote:
* MinChan Kim minchan@gmail.com [2011-01-28 14:44:50]:
On Fri, Jan 28, 2011 at 11:56 AM, Balbir Singh
bal...@linux.vnet.ibm.com wrote:
On Thu, Jan 27, 2011 at 4:42 AM, Minchan Kim minchan@gmail.com wrote:
Hi Balbir,
On Tue, Jan 25, 2011 at 2:10 PM, Balbir Singh bal...@linux.vnet.ibm.com wrote:
Changelog v4
1. Add max_unmapped_ratio and use that as the upper limit
to check when to shrink the unmapped page cache (Christoph
Lameter)
Changelog v2
1. Use a config option to enable the code
Changelog v4
1. Add max_unmapped_ratio and use that as the upper limit
to check when to shrink the unmapped page cache (Christoph
Lameter)
Changelog v2
1. Use a config option to enable the code (Andrew Morton)
2. Explain the magic tunables in the code or at-least attempt
to explain them
* Christoph Lameter c...@linux.com [2011-01-21 09:55:17]:
On Fri, 21 Jan 2011, Balbir Singh wrote:
* Christoph Lameter c...@linux.com [2011-01-20 09:00:09]:
On Thu, 20 Jan 2011, Balbir Singh wrote:
+ unmapped_page_control
+ [KNL] Available if
On Fri, 21 Jan 2011, Balbir Singh wrote:
* Christoph Lameter c...@linux.com [2011-01-20 09:00:09]:
On Thu, 20 Jan 2011, Balbir Singh wrote:
+ unmapped_page_control
+ [KNL] Available if CONFIG_UNMAPPED_PAGECACHE_CONTROL
+ is enabled. It controls the
Changelog v2
1. Use a config option to enable the code (Andrew Morton)
2. Explain the magic tunables in the code or at-least attempt
to explain them (General comment)
3. Hint uses of the boot parameter with unlikely (Andrew Morton)
4. Use better names (balanced is not a good naming convention)
On Thu, 20 Jan 2011, Balbir Singh wrote:
+ unmapped_page_control
+ [KNL] Available if CONFIG_UNMAPPED_PAGECACHE_CONTROL
+ is enabled. It controls the amount of unmapped memory
+ that is present in the system. This boot option
* Christoph Lameter c...@linux.com [2011-01-20 09:00:09]:
On Thu, 20 Jan 2011, Balbir Singh wrote:
+ unmapped_page_control
+ [KNL] Available if CONFIG_UNMAPPED_PAGECACHE_CONTROL
+ is enabled. It controls the amount of unmapped memory
+
* MinChan Kim minchan@gmail.com [2010-12-14 20:02:45]:
+ if (should_reclaim_unmapped_pages(zone))
+ wakeup_kswapd(zone, order);
I think we can put the logic into zone_watermark_okay.
I did some checks and zone_watermark_ok is used
Changelog v2
1. Use a config option to enable the code (Andrew Morton)
2. Explain the magic tunables in the code or at-least attempt
to explain them (General comment)
3. Hint uses of the boot parameter with unlikely (Andrew Morton)
4. Use better names (balanced is not a good naming convention)
On Thu, Dec 23, 2010 at 5:33 PM, Balbir Singh bal...@linux.vnet.ibm.com wrote:
* MinChan Kim minchan@gmail.com [2010-12-14 20:02:45]:
+ if (should_reclaim_unmapped_pages(zone))
+ wakeup_kswapd(zone, order);
I think we can put the
On Fri, Dec 10, 2010 at 11:32 PM, Balbir Singh
bal...@linux.vnet.ibm.com wrote:
Changelog v2
1. Use a config option to enable the code (Andrew Morton)
2. Explain the magic tunables in the code or at-least attempt
to explain them (General comment)
3. Hint uses of the boot parameter with
Changelog v2
1. Use a config option to enable the code (Andrew Morton)
2. Explain the magic tunables in the code or at-least attempt
to explain them (General comment)
3. Hint uses of the boot parameter with unlikely (Andrew Morton)
4. Use better names (balanced is not a good naming convention)
* KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com [2010-12-02 11:50:36]:
On Thu, 2 Dec 2010 10:22:16 +0900 (JST)
KOSAKI Motohiro kosaki.motoh...@jp.fujitsu.com wrote:
On Tue, 30 Nov 2010, Andrew Morton wrote:
+#define UNMAPPED_PAGE_RATIO 16
Well. Giving 16 a name didn't
On Wed, Dec 1, 2010 at 2:22 PM, Balbir Singh bal...@linux.vnet.ibm.com wrote:
* Balbir Singh bal...@linux.vnet.ibm.com [2010-12-01 10:24:21]:
* Andrew Morton a...@linux-foundation.org [2010-11-30 14:25:09]:
So you're OK with shoving all this flotsam into 100,000,000 cellphones?
This was a
On Tue, 30 Nov 2010, Andrew Morton wrote:
+#define UNMAPPED_PAGE_RATIO 16
Well. Giving 16 a name didn't really clarify anything. Attentive
readers will want to know what this does, why 16 was chosen and what
the effects of changing it will be.
The meaning is analoguous to the other zone
On Tue, 30 Nov 2010, Andrew Morton wrote:
+#define UNMAPPED_PAGE_RATIO 16
Well. Giving 16 a name didn't really clarify anything. Attentive
readers will want to know what this does, why 16 was chosen and what
the effects of changing it will be.
The meaning is analoguous to the
On Thu, 2 Dec 2010 10:22:16 +0900 (JST)
KOSAKI Motohiro kosaki.motoh...@jp.fujitsu.com wrote:
On Tue, 30 Nov 2010, Andrew Morton wrote:
+#define UNMAPPED_PAGE_RATIO 16
Well. Giving 16 a name didn't really clarify anything. Attentive
readers will want to know what this does,
Provide control using zone_reclaim() and a boot parameter. The
code reuses functionality from zone_reclaim() to isolate unmapped
pages and reclaim them as a priority, ahead of other mapped pages.
Signed-off-by: Balbir Singh bal...@linux.vnet.ibm.com
---
include/linux/swap.h |5 ++-
On Tue, 30 Nov 2010 15:46:31 +0530
Balbir Singh bal...@linux.vnet.ibm.com wrote:
Provide control using zone_reclaim() and a boot parameter. The
code reuses functionality from zone_reclaim() to isolate unmapped
pages and reclaim them as a priority, ahead of other mapped pages.
Signed-off-by:
On Tue, 30 Nov 2010 15:46:31 +0530
Balbir Singh bal...@linux.vnet.ibm.com wrote:
Provide control using zone_reclaim() and a boot parameter. The
code reuses functionality from zone_reclaim() to isolate unmapped
pages and reclaim them as a priority, ahead of other mapped pages.
Signed-off-by:
* Balbir Singh bal...@linux.vnet.ibm.com [2010-12-01 10:24:21]:
* Andrew Morton a...@linux-foundation.org [2010-11-30 14:25:09]:
On Tue, 30 Nov 2010 15:46:31 +0530
Balbir Singh bal...@linux.vnet.ibm.com wrote:
Provide control using zone_reclaim() and a boot parameter. The
code
* Balbir Singh bal...@linux.vnet.ibm.com [2010-12-01 10:46:32]:
* KOSAKI Motohiro kosaki.motoh...@jp.fujitsu.com [2010-12-01 09:14:13]:
Provide control using zone_reclaim() and a boot parameter. The
code reuses functionality from zone_reclaim() to isolate unmapped
pages and reclaim
* Balbir Singh bal...@linux.vnet.ibm.com [2010-12-01 10:48:16]:
* KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com [2010-12-01 10:32:54]:
On Tue, 30 Nov 2010 15:46:31 +0530
Balbir Singh bal...@linux.vnet.ibm.com wrote:
Provide control using zone_reclaim() and a boot parameter. The
On Wed, 1 Dec 2010 10:52:59 +0530
Balbir Singh bal...@linux.vnet.ibm.com wrote:
* Balbir Singh bal...@linux.vnet.ibm.com [2010-12-01 10:48:16]:
* KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com [2010-12-01 10:32:54]:
On Tue, 30 Nov 2010 15:46:31 +0530
Balbir Singh
On Wed, 1 Dec 2010 12:10:43 +0530
Balbir Singh bal...@linux.vnet.ibm.com wrote:
That's a point. Then, why the guest has to do _extra_ work for host even
when
the host says nothing ? I think trigger this by guests themselves is not
very good.
I've mentioned it before, the guest
45 matches
Mail list logo