From: Marek Szyprowski Date: Thu, 20 Dec 2012 23:05:18 +0000 (-0800) Subject: mm: cma: WARN if freed memory is still in use X-Git-Tag: v3.8-rc1~12^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcc2b02f4c1b36bc67272df7119b75bac78525ab;p=pandora-kernel.git mm: cma: WARN if freed memory is still in use Memory returned to free_contig_range() must have no other references. Let kernel to complain loudly if page reference count is not equal to 1. [rientjes@google.com: support sparsemem] Signed-off-by: Marek Szyprowski Reviewed-by: Kyungmin Park Acked-by: Michal Nazarewicz Signed-off-by: David Rientjes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed