I wanted to know the kernel's usage of physical memory at any point of time. This would include the physical pages it used for maintaining its data structures, code, etc.
min_low_pfn gives me the lowest usable pfn, after kernel image. This however does not include data structures like mem_map, etc. Is there a way to retrieve all pfns used by the kernel.