mirror of
https://github.com/schoebel/mars
synced 2024-12-17 20:24:52 +00:00
mem: add cond_resched()
This commit is contained in:
parent
aba543090f
commit
1a5d22e428
@ -691,6 +691,7 @@ void _free_all(void)
|
||||
void *data = _get_free(order, __LINE__);
|
||||
if (!data)
|
||||
break;
|
||||
cond_resched();
|
||||
__brick_block_free(data, order, __LINE__);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user