• Alan Cox's avatar
    Refactor vm_page_alloc()'s interactions with vm_reserv_alloc_page() and · 404eb1b3
    Alan Cox authored
    vm_page_insert() so that (1) vm_radix_lookup_le() is never called while the
    free page queues lock is held and (2) vm_radix_lookup_le() is called at most
    once.  This change reduces the average time that the free page queues lock
    is held by vm_page_alloc() as well as vm_page_alloc()'s average overall
    running time.
    
    Sponsored by:	EMC / Isilon Storage Division
    404eb1b3