Where does vmi_apply_boot_page_allocations ever get called?
Because I need a hook for "do stuff after mem_map is valid" too.
J
Quoted 1 line · Jeremy Fitzhardinge
Because I need a hook for "do stuff after
mem_mapis valid" too.
Oh, #ifdef CONFIG_DEBUG_PAGE_TYPE. I was wondering when struct page grew a "type" field.
J
Quoted 4 lines · Jeremy Fitzhardinge
Quoted 2 lines · Jeremy Fitzhardinge
Because I need a hook for "do stuff after
mem_mapis valid" too.
We didn't add a hook, but I can say it was somewhere in arch/i386/kernel/setup.c - should be after zone_sizes_init().
I'm no longer sure how to resurrect the original debug code, but it is still too useful to jettison at this point. It was difficult to get all the nuances right..
Quoted 4 lines
Oh, #ifdef
CONFIG_DEBUG_PAGE_TYPE. I was wondering when struct page grew a "type" field.
Yeah, this was private debugging for verifying that page typing was always accurate. Turned off because we couldn't justify taking a struct page field.
Zach