Jeremy Fitzhardinge wrote: > Jeremy Fitzhardinge wrote: > >> 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.. > > 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