Branch: Tag:

2012-07-03

2012-07-03 15:10:24 by Arne Goedeke <el@laramies.com>

use same amount of pages, as the old allocator

88:   #else   #include "gjalloc.h"   static struct block_allocator callable_allocator -  = BA_INIT(sizeof(struct callable), 2*4096/sizeof(struct callable)); +  = BA_INIT_PAGES(sizeof(struct callable), 2*PIKE_MALLOC_PAGE_SIZE);      void really_free_callable(struct callable * c) {    EXIT_BLOCK(c);