android_kernel_samsung_msm8976/drivers
Nick Piggin f9aed0e253 [PATCH] sg: use compound pages
sg increments the refcount of constituent pages in its higher order memory
allocations when they are about to be mapped by userspace.  This is done so
the subsequent get_page/put_page when doing the mapping and unmapping does not
free the page.

Move over to the preferred way, that is, using compound pages instead.  This
fixes a whole class of possible obscure bugs where a get_user_pages on a
constituent page may outlast the user mappings or even the driver.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Cc: Hugh Dickins <hugh@veritas.com>
Cc: Douglas Gilbert <dougg@torque.net>
Cc: James Bottomley <James.Bottomley@steeleye.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-22 07:54:01 -08:00
..
acorn
acpi
amba
atm
base
block
bluetooth
cdrom
char [PATCH] tb0219: convert to the new platform device interface 2006-03-22 07:53:56 -08:00
connector
cpufreq
crypto
dio
edac
eisa
fc4
firmware [PATCH] dcdbas: convert to the new platform device interface 2006-03-22 07:53:56 -08:00
hwmon
i2c
ide
ieee1394
infiniband
input
isdn
macintosh
mca
md [PATCH] dm: bio split bvec fix 2006-03-22 07:53:55 -08:00
media Revert "V4L/DVB (3543): Fix Makefile to adapt to bt8xx/ conversion" 2006-03-21 14:51:37 -08:00
message
mfd
misc
mmc
mtd
net [netdrvr] pcnet32: other source formatting cleanups 2006-03-21 16:22:47 -05:00
nubus
oprofile
parisc
parport
pci
pcmcia
pnp
rapidio
s390
sbus
scsi [PATCH] sg: use compound pages 2006-03-22 07:54:01 -08:00
serial [PATCH] vr41xx: convert to the new platform device interface 2006-03-22 07:53:56 -08:00
sh
sn
spi
tc
telephony
usb
video [PATCH] i810fb_cursor(): use GFP_ATOMIC 2006-03-22 07:53:55 -08:00
w1
zorro
Kconfig
Makefile