[Devel] [PATCH RHEL7 COMMIT] mm/gup: s/set_page_dirty()/set_page_dirty_mm()

Konstantin Khorenko khorenko at virtuozzo.com
Mon Nov 7 00:39:46 PST 2016


The commit is pushed to "branch-rh7-3.10.0-493.vz7.25.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-493.el7
------>
commit 253d2d1fb934cd99038bb40d0f1a9e4e5eaee140
Author: Andrey Ryabinin <aryabinin at virtuozzo.com>
Date:   Mon Nov 7 12:39:45 2016 +0400

    mm/gup: s/set_page_dirty()/set_page_dirty_mm()
    
    This code moved from mm/memory.c during rebase, we've lost
    set_page_dirty_mm() that was there.
    
    To be merged into commit 53dba9e212cc3f440acc60a8d333df3967931937
    ("Initial patch commit + compilation fixes").
    
    https://jira.sw.ru/browse/PSBM-54816
    
    Signed-off-by: Andrey Ryabinin <aryabinin at virtuozzo.com>
---
 mm/gup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/gup.c b/mm/gup.c
index d2ab11b..3ab1a89 100644
--- a/mm/gup.c
+++ b/mm/gup.c
@@ -212,7 +212,7 @@ split_fallthrough:
 	if (flags & FOLL_TOUCH) {
 		if ((flags & FOLL_WRITE) &&
 		    !pte_dirty(pte) && !PageDirty(page))
-			set_page_dirty(page);
+			set_page_dirty_mm(page, mm);
 		/*
 		 * pte_mkyoung() would be more correct here, but atomic care
 		 * is needed to avoid losing the dirty bit: it is easier to use


More information about the Devel mailing list