Re: + memory-hotplug-fix-kswapd-looping-forever-problem-fix-fix.patch added to -mm tree
From: Andrew Morton <akpm@linux-foundation.org>
Date: 2012-07-20 21:22:15
From: Andrew Morton <akpm@linux-foundation.org>
Date: 2012-07-20 21:22:15
On Fri, 20 Jul 2012 08:50:57 +0900 Minchan Kim [off-list ref] wrote:
quoted
But, really, given how the structure is used, I think we're better off just making sure all archs clear them and maybe have a sanity check or two just in case. It's not like breakage on that front is gonna be subtle.Of course, it seems all archs seems to zero-out already as I mentioned (Not sure, MIPS) but Andrew doesn't want it. Andrew?
My point is that having to ensure that each arch zeroes out this structure is difficult/costly/unreliable/fragile. It would be better if we can reliably clear it at some well-known place in core MM. That might mean that the memory gets cleared twice on some architectures, but I doubt if that matters - it's a once-off thing. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>