* Michael Ellerman <mpe@xxxxxxxxxxxxxx> [2016-08-05 17:07:01]: > Srikar Dronamraju <srikar@xxxxxxxxxxxxxxxxxx> writes: > > > Fadump kernel reserves large chunks of memory even before the pages are > > initialized. This could mean memory that corresponds to several nodes might > > fall in memblock reserved regions. > > > ... > > Register the memory reserved by fadump, so that the cache sizes are > > calculated based on the free memory (i.e Total memory - reserved > > memory). > > The memory is reserved, with memblock_reserve(). Why is that not sufficient? > > cheers > Because at page initialization time, the kernel doesnt know how many pages are reserved. One way to do that would be to walk through the different memory reserved blocks and calculate the size. But Mel feels thats an overhead (from his reply to the other thread) esp for just one use case. -- Thanks and Regards Srikar Dronamraju -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>