aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/s390/mm/pgtable.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/mm/pgtable.c b/arch/s390/mm/pgtable.c
index 6e765bf00670..a3db5a3ea083 100644
--- a/arch/s390/mm/pgtable.c
+++ b/arch/s390/mm/pgtable.c
@@ -822,6 +822,8 @@ int s390_enable_sie(void)
822 822
823 /* we copy the mm and let dup_mm create the page tables with_pgstes */ 823 /* we copy the mm and let dup_mm create the page tables with_pgstes */
824 tsk->mm->context.alloc_pgste = 1; 824 tsk->mm->context.alloc_pgste = 1;
825 /* make sure that both mms have a correct rss state */
826 sync_mm_rss(tsk->mm);
825 mm = dup_mm(tsk); 827 mm = dup_mm(tsk);
826 tsk->mm->context.alloc_pgste = 0; 828 tsk->mm->context.alloc_pgste = 0;
827 if (!mm) 829 if (!mm)