• marko's avatar
    branches/zip: Fix two bugs in the buddy allocator. · 631da97d
    marko authored
    buf_buddy_block_free(): Remove the block from buf_pool->zip_hash.
    
    buf_buddy_alloc_clean(): Test for buf_page_in_file() before
    invoking buf_LRU_free_block().  The LRU list also contains "half-freed"
    blocks (state == BUF_BLOCK_REMOVE_HASH).
    631da97d
buf0buddy.c 13.1 KB