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:
committed by
Masamichi Takagi
parent
b87ac8b8c0
commit
08f817a654
@@ -2014,7 +2014,6 @@ retry:
|
|||||||
page = phys_to_page(phys);
|
page = phys_to_page(phys);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#ifdef POSTK_DEBUG_ARCH_DEP_21
|
|
||||||
else if (!(range->flag & VR_PRIVATE)) { /*VR_SHARED*/
|
else if (!(range->flag & VR_PRIVATE)) { /*VR_SHARED*/
|
||||||
if (!(attr & PTATTR_DIRTY)) {
|
if (!(attr & PTATTR_DIRTY)) {
|
||||||
if (!(range->flag & VR_STACK)) {
|
if (!(range->flag & VR_STACK)) {
|
||||||
@@ -2022,7 +2021,6 @@ retry:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif /*POSTK_DEBUG_ARCH_DEP_21*/
|
|
||||||
|
|
||||||
/*****/
|
/*****/
|
||||||
if (ptep && !pgsize_is_contiguous(pgsize)) {
|
if (ptep && !pgsize_is_contiguous(pgsize)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user