chore: 修复社区反馈问题Percpu结构体注释错误

修复社区反馈问题Percpu结构体注释错误,排查下其他拼写错误。

close #I4GMLH

Signed-off-by: kenneth <zhushangyuan@huawei.com>
This commit is contained in:
kenneth
2021-11-03 10:22:07 +08:00
parent f63ce99399
commit 0f878febb7
53 changed files with 157 additions and 157 deletions

View File

@@ -140,7 +140,7 @@ STATIC STATUS_T OsDoReadFault(LosVmMapRegion *region, LosVmPgFault *vmPgFault)
return LOS_ERRNO_VM_NO_MEMORY;
}
/* unmap a page when cow happend only */
/* unmap a page when cow happened only */
STATIC LosVmPage *OsCowUnmapOrg(LosArchMmu *archMmu, LosVmMapRegion *region, LosVmPgFault *vmf)
{
UINT32 intSave;

View File

@@ -141,9 +141,9 @@ LosMapInfo *OsGetMapInfo(LosFilePage *page, LosArchMmu *archMmu, VADDR_T vaddr)
VOID OsDeletePageCacheLru(LosFilePage *page)
{
/* delete form lru list */
/* delete from lru list */
OsLruCacheDel(page);
/* delete from cache lits and free pmm if need */
/* delete from cache list and free pmm if needed */
OsPageCacheDel(page);
}
@@ -155,7 +155,7 @@ STATIC VOID OsPageCacheUnmap(LosFilePage *fpage, LosArchMmu *archMmu, VADDR_T va
LOS_SpinLockSave(&fpage->physSeg->lruLock, &intSave);
info = OsGetMapInfo(fpage, archMmu, vaddr);
if (info == NULL) {
VM_ERR("OsPageCacheUnmap get map info fail!");
VM_ERR("OsPageCacheUnmap get map info failed!");
} else {
OsUnmapPageLocked(fpage, info);
}

View File

@@ -46,7 +46,7 @@ VOID *LOS_DmaMemAlloc(DMA_ADDR_T *dmaAddr, size_t size, size_t align, enum DmaMe
}
if ((type != DMA_CACHE) && (type != DMA_NOCACHE)) {
VM_ERR("The dma type = %d is not support!", type);
VM_ERR("The dma type = %d is not supported!", type);
return NULL;
}

View File

@@ -217,7 +217,7 @@ VOID OsShrinkActiveList(LosVmPhysSeg *physSeg, int nScan)
continue;
}
/* happend when caller hold cache lock and try reclaim this page */
/* happened when caller hold cache lock and try reclaim this page */
if (OsIsPageLocked(fpage->vmPage)) {
LOS_SpinUnlock(&fpage->mapping->list_lock);
continue;