!738 fix: 修复xts权限用例压测异常问题

Merge pull request !738 from Harylee/readme
This commit is contained in:
openharmony_ci 2021-12-25 02:10:18 +00:00 committed by Gitee
commit 979a8a8f27
2 changed files with 3 additions and 2 deletions

View File

@ -790,7 +790,7 @@ STATUS_T LOS_ArchMmuDestroy(LosArchMmu *archMmu)
LOS_PhysPageFree(page); LOS_PhysPageFree(page);
} }
OsArmWriteTlbiasid(archMmu->asid); OsArmWriteTlbiasidis(archMmu->asid);
OsFreeAsid(archMmu->asid); OsFreeAsid(archMmu->asid);
#endif #endif
(VOID)LOS_MuxDestroy(&archMmu->mtx); (VOID)LOS_MuxDestroy(&archMmu->mtx);

View File

@ -228,7 +228,8 @@ UINT32 OsArmSharedPageFault(UINT32 excType, ExcContext *frame, UINT32 far, UINT3
break; break;
} }
default: default:
ret = LOS_ERRNO_VM_NOT_FOUND; OsArmWriteTlbimvaais(ROUNDDOWN(far, PAGE_SIZE));
ret = LOS_OK;
break; break;
} }
#if defined(LOSCFG_KERNEL_SMP) && defined(LOSCFG_DEBUG_VERSION) #if defined(LOSCFG_KERNEL_SMP) && defined(LOSCFG_DEBUG_VERSION)