diff options
Diffstat (limited to 'components/mm/avl_adpt.c')
| -rw-r--r-- | components/mm/avl_adpt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/mm/avl_adpt.c b/components/mm/avl_adpt.c index f89f667685..22e4ff8330 100644 --- a/components/mm/avl_adpt.c +++ b/components/mm/avl_adpt.c @@ -117,6 +117,7 @@ rt_varea_t _aspace_bst_search_exceed(struct rt_aspace *aspace, void *start) if (cmp < 0) { + /* varae exceed start */ ptrdiff_t off = va_s - start; if (off < min_off) { @@ -127,6 +128,7 @@ rt_varea_t _aspace_bst_search_exceed(struct rt_aspace *aspace, void *start) } else if (cmp > 0) { + /* find the next huger varea */ node = node->avl_right; } else |
