Skip to contentSkip to conversation

Where does vmi_apply_boot_page_allocations ever get called?

DISCUSSION Jeremy Fitzhardinge 2 participants 3 messages Mar 1, 2007 virtio core

lore
Share & tools
lore
#1 lore raw
Quoted 1 line · Jeremy Fitzhardinge

Because I need a hook for "do stuff after mem_map is valid" too.

Oh, #ifdef CONFIG_DEBUG_PAGE_TYPE. I was wondering when struct page grew a "type" field.

J

#2 lore raw
Quoted 4 lines · Jeremy Fitzhardinge
Quoted 2 lines · Jeremy Fitzhardinge

Because I need a hook for "do stuff after mem_map is 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