merge from dev

This commit is contained in:
Daan Leijen 2024-12-20 13:57:24 -08:00
commit 3903f09b28
4 changed files with 4 additions and 4 deletions

View file

@ -609,7 +609,7 @@ static inline bool mi_page_immediate_available(const mi_page_t* page) {
}
// is more than 7/8th of a page in use?
static inline bool mi_page_mostly_used(const mi_page_t* page) {
static inline bool mi_page_is_mostly_used(const mi_page_t* page) {
if (page==NULL) return true;
uint16_t frac = page->reserved / 8U;
return (page->reserved - page->used <= frac);