Thread (5 messages) 5 messages, 2 authors, 2015-09-30

Re: [PATCH 2/2] mm: fix declarations of nr, delta and nr_pagecache_reclaimable

From: Alexandru Moise <hidden>
Date: 2015-09-30 05:36:34
Also in: lkml

On Tue, Sep 29, 2015 at 10:28:57PM -0700, Andrew Morton wrote:
On Wed, 30 Sep 2015 08:10:04 +0300 Alexandru Moise [off-list ref] wrote:
quoted
quoted
quoted
--- a/mm/vmscan.c
+++ b/mm/vmscan.c
@@ -194,7 +194,7 @@ static bool sane_reclaim(struct scan_control *sc)
 
 static unsigned long zone_reclaimable_pages(struct zone *zone)
 {
-	int nr;
+	unsigned long nr;
 
 	nr = zone_page_state(zone, NR_ACTIVE_FILE) +
 	     zone_page_state(zone, NR_INACTIVE_FILE);
OK.
Are you sure? Mel Gorman raised the following issue on patch 1/2:

https://lkml.org/lkml/2015/9/29/253
__zone_watermark_ok() is very different from zone_reclaimable_pages().
Alright, in time I will gain a better understanding of this.
Thanks again.

--
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>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help