mariadb/buf
marko e5e1a17414 branches/zip: Fix some bugs in the buddy allocator.
buf_buddy_alloc_zip(): Calculate the address with char* aritmetics.

buf_buddy_alloc_clean(): Acquire a mutex on the block before
calling buf_LRU_free_block().

buf_buddy_relocate(): Remove the bogus assertion about src and dst
being buddies of each other.  Use mach_read_from_4() instead of
page_get_space_id() and page_get_page_no() to avoid page alignment
assertions.

buf_buddy_free_low(): Replace bogus assertions.
2006-12-18 11:23:58 +00:00
..
buf0buddy.c branches/zip: Fix some bugs in the buddy allocator. 2006-12-18 11:23:58 +00:00
buf0buf.c branches/zip: Minor improvements. 2006-12-15 15:05:18 +00:00
buf0flu.c branches/zip: Minor improvements. 2006-12-15 15:05:18 +00:00
buf0lru.c branches/zip: Minor improvements. 2006-12-15 15:05:18 +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