On Wed, 19 Dec 2012 16:57:03 -0800 ebiederm at xmission.com (Eric W. Biederman) wrote: > Andrew Morton <akpm at linux-foundation.org> writes: > > > Is there any way in which we can move some of this logic into the > > kernel? In this case, add some kernel code which uses PageBuddy() on > > behalf of makedumpfile, rather than replicating the PageBuddy() logic > > in userspace? > > All that exists when makedumpfile runs is a core file. So it would have > to be something like a share library that builds with the kernel and > then makedumpfile loads. Can we omit free pages from that core file? And/or add a section to that core file which flags free pages?