15 lines
515 B
C
15 lines
515 B
C
|
|
// hakmem_tiny_refill_p0_stub.c
|
||
|
|
// Provide a default implementation of sll_refill_batch_from_ss when
|
||
|
|
// HAKMEM_TINY_P0_BATCH_REFILL is not compiled in. This keeps tiny_alloc_fast
|
||
|
|
// free to select batch mode at runtime (HAKMEM_TINY_REFILL_BATCH=1).
|
||
|
|
|
||
|
|
#include "hakmem_tiny.h"
|
||
|
|
|
||
|
|
// Declared in hakmem_tiny.c via hakmem_tiny_refill.inc.h
|
||
|
|
int sll_refill_small_from_ss(int class_idx, int max_take);
|
||
|
|
|
||
|
|
int sll_refill_batch_from_ss(int class_idx, int max_take) {
|
||
|
|
return sll_refill_small_from_ss(class_idx, max_take);
|
||
|
|
}
|
||
|
|
|