mariadb/buf
marko f9a10f4cef branches/zip: Implement the whole allocation algorithm of compressed pages.
buf_LRU_free_block(): Free compressed-only pages and their
descriptors with buf_buddy_free().

buf_LRU_get_free_only(): New function for returning a block from
buf_pool->free if one is available.  Split from buf_LRU_get_free_block().

buf_buddy_alloc_zip(): Rename from buf_buddy_alloc_low() and make static.
Remove parameter "split".  Always try to split.

buf_buddy_free_block(): Rename to buf_buddy_block_free().

buf_buddy_block_register(): New function for registering buf_block_t
objects reserved by the allocator.

buf_buddy_alloc_from(): New function for allocating an object from a
bigger object, and putting the unused parts on the free list.

buf_buddy_alloc_clean_zip(): New function for allocating memory by
replacing an unmodified compressed page.

buf_buddy_alloc_low(): New function for allocating memory, either from
the free lists of compressed pages, from the global free list, or from
unmodified pages in the buffer pool.
2006-12-11 14:27:43 +00:00
..
buf0buddy.c branches/zip: Implement the whole allocation algorithm of compressed pages. 2006-12-11 14:27:43 +00:00
buf0buf.c branches/zip: Add buf_pool->zip_hash for keeping track on pages allocated 2006-12-11 09:54:13 +00:00
buf0flu.c branches/zip: buf_page_t: Rename free_or_flush_list to list 2006-12-05 12:31:38 +00:00
buf0lru.c branches/zip: Implement the whole allocation algorithm of compressed pages. 2006-12-11 14:27:43 +00:00
buf0rea.c branches/zip: Move the fields related to the least-recently-used algorithm 2006-11-30 12:27:49 +00:00
Makefile.am branches/zip: Add the first bits of the binary buddy system for allocating 2006-12-07 13:29:04 +00:00