buflib: update BUFLIB_ALLOC_OVERHEAD
Allocation overhead should be 5 units, not 6. Change-Id: I30aa0925aa49eb25d232f7de2bf8b8ce1509d862
This commit is contained in:
parent
59edcc57a2
commit
3090cf0da4
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ struct buflib_context
|
||||||
* BUFLIB_ALLOC_OVERHEAD + requested bytes + strlen(<name passed to
|
* BUFLIB_ALLOC_OVERHEAD + requested bytes + strlen(<name passed to
|
||||||
* buflib_alloc_ex()) + pad to pointer size
|
* buflib_alloc_ex()) + pad to pointer size
|
||||||
*/
|
*/
|
||||||
#define BUFLIB_ALLOC_OVERHEAD (6*sizeof(union buflib_data))
|
#define BUFLIB_ALLOC_OVERHEAD (5*sizeof(union buflib_data))
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Callbacks used by the buflib to inform allocation that compaction
|
* Callbacks used by the buflib to inform allocation that compaction
|
||||||
|
|
Loading…
Reference in a new issue