diff options
Diffstat (limited to 'lib/resource.h')
-rw-r--r-- | lib/resource.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/resource.h b/lib/resource.h index b56bcff5..48e62985 100644 --- a/lib/resource.h +++ b/lib/resource.h @@ -93,6 +93,10 @@ void sl_free(slab *, void *); void buffer_realloc(void **buf, unsigned *size, unsigned need, unsigned item_size); +/* Allocator of whole pages; for use in slabs and other high-level allocators. */ +u64 get_page_size(void); +void *alloc_page(void); +void free_page(void *); #ifdef HAVE_LIBDMALLOC /* |