Function report |
Source Code:mm\mlock.c |
Create Date:2022-07-28 14:45:30 |
| Last Modify:2022-05-23 14:12:58 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Munlock a batch of pages from the same zone* The work is split to two main phases
Proto:static void __munlock_pagevec(struct pagevec *pvec, struct zone *zone)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct pagevec * | pvec | |
| struct zone * | zone |
| 293 | nr = pagevec_count(pvec) |
| 294 | delta_munlocked = -nr |
| 296 | pgrescued = 0 |
| 298 | pagevec_init( & pvec_putback) |
| 305 | If TestClearPageMlocked(page) Then |
| 314 | Else |
| 315 | delta_munlocked++ |
| 331 | pagevec_release( & pvec_putback) |
| 337 | If page Then |
| Name | Describe |
|---|---|
| munlock_vma_pages_range | munlock_vma_pages_range() - munlock all pages in the vma range.'*@vma - vma containing range to be munlock()ed.*@start - start address in @vma of the range*@end - end of range in @vma.* For mremap(), munmap() and exit().* Called with @vma VM_LOCKED. |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |