Re: [PATCH RESEND v4 2/3] mm/sparse: more check on mem_section number
From: Cong Wang <hidden>
Date: 2012-07-23 08:30:08
From: Cong Wang <hidden>
Date: 2012-07-23 08:30:08
On Mon, 23 Jul 2012 at 02:31 GMT, Gavin Shan [off-list ref] wrote:
Function __section_nr() was implemented to retrieve the corresponding memory section number according to its descriptor. It's possible that the specified memory section descriptor isn't existing in the global array. So here to add more check on that and report error for wrong case. Signed-off-by: Gavin Shan <redacted> Acked-by: David Rientjes <rientjes@google.com>
Reviewed-by: Cong Wang <redacted> -- 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>