page fault: clear writable bit for non-dirtying access to shared ranges

Change-Id: I3f3212b2aac79587f04450dfbdee9cb8a56bee04
Fujitsu: POSTK_DEBUG_ARCH_DEP_21
This commit is contained in:
Dominique Martinet
2019-02-27 13:19:31 +09:00
committed by Masamichi Takagi
parent b87ac8b8c0
commit 08f817a654

View File

@ -2014,7 +2014,6 @@ retry:
page = phys_to_page(phys);
}
}
#ifdef POSTK_DEBUG_ARCH_DEP_21
else if (!(range->flag & VR_PRIVATE)) { /*VR_SHARED*/
if (!(attr & PTATTR_DIRTY)) {
if (!(range->flag & VR_STACK)) {
@ -2022,7 +2021,6 @@ retry:
}
}
}
#endif /*POSTK_DEBUG_ARCH_DEP_21*/
/*****/
if (ptep && !pgsize_is_contiguous(pgsize)) {