linux/include
Nick Piggin 8519fb30e4 [PATCH] mm: compound release fix
Compound pages on SMP systems can now often be freed from pagetables via
the release_pages path.  This uses put_page_testzero which does not handle
compound pages at all.  Releasing constituent pages from process mappings
decrements their count to a large negative number and leaks the reference
at the head page - net result is a memory leak.

The problem was hidden because the debug check in put_page_testzero itself
actually did take compound pages into consideration.

Fix the bug and the debug check.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Acked-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-02-07 16:12:33 -08:00
..
acpi
asm-alpha [PATCH] __cmpxchg() must really always be inlined on alpha 2006-02-07 16:12:31 -08:00
asm-arm [ARM] 3284/1: S3C2400 - adds support to GPIO 2006-02-01 21:24:23 +00:00
asm-arm26
asm-cris [PATCH] include/asm-*/bitops.h: fix more "~0UL >> size" typos 2006-02-03 08:32:02 -08:00
asm-frv [PATCH] include/asm-*/bitops.h: fix more "~0UL >> size" typos 2006-02-03 08:32:02 -08:00
asm-generic
asm-h8300 [PATCH] include/asm-*/bitops.h: fix more "~0UL >> size" typos 2006-02-03 08:32:02 -08:00
asm-i386 [PATCH] Fix "value computed is not used" compile warnings with gcc-4.1 2006-02-05 11:06:54 -08:00
asm-ia64 Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 2006-02-06 15:46:39 -08:00
asm-m32r
asm-m68k
asm-m68knommu
asm-mips [MIPS] TX49x7: Fix reporting of the CPU name and PCI clock 2006-02-07 13:30:26 +00:00
asm-parisc
asm-powerpc
asm-ppc
asm-s390 [PATCH] s390: compile fix: missing defines in asm-s390/io.h 2006-02-03 08:32:01 -08:00
asm-sh
asm-sh64
asm-sparc
asm-sparc64
asm-um
asm-v850 [PATCH] include/asm-*/bitops.h: fix more "~0UL >> size" typos 2006-02-03 08:32:02 -08:00
asm-x86_64 [PATCH] x86_64: Fix the node cpumask of a cpu going down 2006-02-07 16:12:31 -08:00
asm-xtensa
keys
linux [PATCH] mm: compound release fix 2006-02-07 16:12:33 -08:00
math-emu
media
mtd
net [NETFILTER]: nf_conntrack: check address family when finding protocol module 2006-02-04 23:51:17 -08:00
pcmcia
rdma
rxrpc
scsi
sound
video