Mmvmscanc

struct page *cursor_page;

Since it is desirable for the buddy system that higher allocation orders are order-aligned, the kernel computes the appropriate page frame interval into which the page frame of the current tag page falls. Consider, as in the example, that the tag page has page frame 6. The allocation order-aligned intervals for second-order allocations are [0,3], [4,7], [8,11], and so on. The kernel therefore needs to scan the page frames 4 to 7, inclusive:

Continue reading here: Mmvmscanc

Was this article helpful?

0 0