Skip to contentSkip to conversation

+ vmscan-reclaim_clean_pages_from_list-must-use-mod_zone_page_state.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Apr 15, 2014

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

Subject: + vmscan-reclaim_clean_pages_from_list-must-use-mod_zone_page_state.patch added to -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Tue, 15 Apr 2014 11:18:44 -0700

The patch titled
Subject: vmscan: reclaim_clean_pages_from_list() must use mod_zone_page_state()
has been added to the -mm tree. Its filename is
vmscan-reclaim_clean_pages_from_list-must-use-mod_zone_page_state.patch

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/vmscan-reclaim_clean_pages_from_list-must-use-mod_zone_page_state.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/vmscan-reclaim_clean_pages_from_list-must-use-mod_zone_page_state.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
From: Christoph Lameter <[email protected]>
Subject: vmscan: reclaim_clean_pages_from_list() must use mod_zone_page_state()

Seems to be called with preemption enabled. Therefore it must use mod_zone_page_state instead.

---

 mm/vmscan.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/vmscan.c renamed from mm/vmscan.c~vmscan-reclaim_clean_pages_from_list-must-use-mod_zone_page_state +1 -1
diff -puN mm/vmscan.c~vmscan-reclaim_clean_pages_from_list-must-use-mod_zone_page_state mm/vmscan.c
@@ -1158,7 +1158,7 @@ unsigned long reclaim_clean_pages_from_l
 			TTU_UNMAP|TTU_IGNORE_ACCESS,
 			&dummy1, &dummy2, &dummy3, &dummy4, &dummy5, true);
 	list_splice(&clean_pages, page_list);
-	__mod_zone_page_state(zone, NR_ISOLATED_FILE, -ret);
+	mod_zone_page_state(zone, NR_ISOLATED_FILE, -ret);
 	return ret;
 }
 

_

Patches currently in -mm which might be from [email protected] are

vmscan-reclaim_clean_pages_from_list-must-use-mod_zone_page_state.patch linux-next.patch