[patch 1/9] Guest page hinting: unused / free pages.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2006-09-01 at 13:09 +0200, Martin Schwidefsky wrote:
> +++ linux-2.6-patched/mm/page_alloc.c   2006-09-01 12:49:35.000000000
> +0200
> @@ -515,6 +515,7 @@ static void __free_pages_ok(struct page 
>                 reserved += free_pages_check(page + i);
>         if (reserved)
>                 return;
> +       page_set_unused(page, order);
>  
>         kernel_map_pages(page, 1 << order, 0);
>         local_irq_save(flags); 

Do these have anything in common with arch_free_page()?  I thought
marking the pages as being "unused by the kernel" was the whole idea of
having that hook.

-- Dave



[Index of Archives]     [KVM Development]     [Libvirt Development]     [Libvirt Users]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux