Hi guys, > Question is: How would you justify such a change? IOW I'm not convinced > (yet) this wants doing there.
You mean in this series? > Looking at the code, the flag is originally set in > alloc_domheap_pages(). So I guess it would make sense to do it in > free_domheap_pages(). We don't hold the heap_lock there. Is it safe to change count_info without it? Thanks. > For PGC_static, I don't think we can reach free_domheap_pages() with the > flag set (the pages should live in a separate pool). So I believe there > is nothing to do for them. > > Cheers, > > -- > Julien Grall