|
private |
Fetch pages span(internal call).
| [in] | k | pages count. @reurn Returns a new span. |
Allocate from system.
Has empty pages in pc.
Pop a span.
Iter begger span, try find spare pages in pc.
Pop a span.
New a span to split bigger span.
Push splited span to list.
Allocate memory from system if no spare pages in pc.
New a span to mamage this memory.
Push span to list.
Allocate from system.
Has empty pages in pc.
Pop a span.
Iter begger span, try find spare pages in pc.
Pop a span.
New a span to split bigger span.
Push splited span to list.
Allocate memory from system if no spare pages in pc.
New a span to mamage this memory.
Push span to list.
Definition at line 132 of file PageCache.cpp.