On Fri, Nov 07, 2025 at 11:04:01AM -0500, Mathieu Desnoyers wrote: > On 2025-11-07 10:53, Mathieu Desnoyers wrote: > [...] > > > > It would make sense to call an explicit percpu counter tree init > > function from start_kernel() between the call to mm_core_init() and the > > call to maple_tree_init(). This way it would be initialized right after > > mm, but given that the hierarchical counter tree is a lib that can be > > used for other purposes than mm accounting, I think it makes sense > > to call its init explicitly from start_kernel() rather than bury > > it within mm_core_init(). > See the following diff. If nobody object, I'll prepare a v8 which > includes it.
This seems reasonable to me, I see v8 is already posted. I will take a deeper look.
