Function report |
Source Code:mm\percpu.c |
Create Date:2022-07-28 14:26:46 |
Last Modify:2022-05-23 13:52:24 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:pcpu_chunk_depopulated - post-depopulation bookkeeping*@chunk: pcpu_chunk which got depopulated*@page_start: the start page*@page_end: the end page* Pages in [@page_start,@page_end) have been depopulated from @chunk.
Proto:static void pcpu_chunk_depopulated(struct pcpu_chunk *chunk, int page_start, int page_end)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct pcpu_chunk * | chunk | |
int | page_start | |
int | page_end |
1499 | nr = page_end - page_start |
1501 | lockdep_assert_held( & pcpu_lock) |
1503 | bitmap_clear( populated bitmap , page_start, nr) |
1504 | # of populated pages -= nr |
Name | Describe |
---|---|
pcpu_balance_workfn | Balance work is used to populate or destroy chunks asynchronously. We* try to keep the number of populated free pages between* PCPU_EMPTY_POP_PAGES_LOW and HIGH for atomic allocations and at most one* empty chunk. |
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 |