diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2012-12-21 00:05:18 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-21 02:40:19 +0100 |
commit | bcc2b02f4c1b36bc67272df7119b75bac78525ab (patch) | |
tree | db4b0ad1693c2b25da06655b6e7dd409c85ec120 /mm/mempool.c | |
parent | exec: do not leave bprm->interp on stack (diff) | |
download | linux-bcc2b02f4c1b36bc67272df7119b75bac78525ab.tar.xz linux-bcc2b02f4c1b36bc67272df7119b75bac78525ab.zip |
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 <m.szyprowski@samsung.com>
Reviewed-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/mempool.c')
0 files changed, 0 insertions, 0 deletions