首页>
外国专利>
Approach for de-fragmenting physical memory by grouping kernel pages together based on large pages
Approach for de-fragmenting physical memory by grouping kernel pages together based on large pages
展开▼
机译:通过基于大页面将内核页面分组在一起来对物理内存进行碎片整理的方法
展开▼
页面导航
摘要
著录项
相似文献
摘要
An approach for de-fragmenting physical memory generally involves grouping kernel pages together based on large pages. The de-fragmentation procedure is triggered, such as by a kernel page-freelist being empty. The first user page from a user page-freelist is selected, marked as a kernel page (e.g., by setting a P_KERNEL bit), added to the kernel page-freelist, and then the large page in which the selected page is identified. Starting with the first small page within the large page, the small pages are processed by the de-fragmentation procedure, resulting in as many small pages as possible being marked as kernel pages and then added to the kernel page-freelist. Later, when a large page is coalesced, the number of kernel pages that must be relocated within the large page being coalesced is reduced or eliminated as a result of the de-fragmentation of the physical memory.
展开▼