All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 42b9e0c8 authored by Vikram Narayanan's avatar Vikram Narayanan

microkernel: Do not BUG on rb_empty_root

parent 66d0fa4d
...@@ -217,6 +217,10 @@ void __lcd_mem_itree_exit(void) ...@@ -217,6 +217,10 @@ void __lcd_mem_itree_exit(void)
* They should be empty if all LCDs (isolated and non-isolated) * They should be empty if all LCDs (isolated and non-isolated)
* were torn down properly. * were torn down properly.
*/ */
BUG_ON(!RB_EMPTY_ROOT(&lcd_physical_mem_itree.root)); //BUG_ON(!RB_EMPTY_ROOT(&lcd_physical_mem_itree.root));
BUG_ON(!RB_EMPTY_ROOT(&lcd_vmalloc_mem_itree.root)); if (!RB_EMPTY_ROOT(&lcd_physical_mem_itree.root))
printk("%s, possible memory leak, check lcd_physical_mem_itree.root\n", __func__);
//BUG_ON(!RB_EMPTY_ROOT(&lcd_vmalloc_mem_itree.root));
if (!RB_EMPTY_ROOT(&lcd_vmalloc_mem_itree.root))
printk("%s, possible memory leak, check lcd_vmalloc_mem_itree.root\n", __func__);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment