Hi Linas, > The attached patch adds support for automatic struct page * lookup > for the 'page' command. By typing 'page -s <vaddr>', it will find > the mem_map[] entry that corresponds to vaddr, and display that. > (To do this manually is a bit tedious; besides chasing non-exported > symbols in System.map, one has to do some hex multiplication by > sizeof(struct page); so this patch automates that.)
We cant play with mem_map directly when NUMA/DISCONTIGMEM is enabled, check out discontigmem_pfn_to_page for the nasty details. Anton --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe.
