On Fri, Mar 07, 2014 at 04:10:16PM +0800, WANG Chao wrote: [..] > } > > - specified_table_size = determine_tce_table_size((is_kdump_kernel() ? > - saved_max_pfn : max_pfn) * PAGE_SIZE); > + specified_table_size = determine_tce_table_size();
I don't think you can get rid of saved_max_pfn right away. What if somebody is using old first kernel and new second kernel. Then old kernel will still be using a table size which is smaller than 8M. Thanks Vivek -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/