kernel-ark/drivers/scsi
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
..
aacraid Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6 2006-02-16 12:47:44 -08:00
aic7xxx
aic7xxx_old
arm
dpt
ibmvscsi
lpfc
megaraid [SCSI] megaraid_sas: fix physical disk handling 2006-02-27 21:36:46 -06:00
pcmcia [SCSI] scsi: aha152x pcmcia driver needs spi transport 2006-03-05 08:00:47 -06:00
qla2xxx [PATCH] qla2xxx: Correct lun assignment during IOCB submission. 2006-02-07 10:54:07 -06:00
sym53c8xx_2 [SCSI] Fix uninitialised width and speed in sym2 2006-02-28 09:36:14 -06:00
.gitignore
3w-9xxx.c
3w-9xxx.h
3w-xxxx.c
3w-xxxx.h
53c7xx_d.h_shipped
53c7xx_u.h_shipped
53c7xx.c
53c7xx.h
53c7xx.scr
53c700_d.h_shipped
53c700.c
53c700.h
53c700.scr
a100u2w.c
a100u2w.h
a2091.c
a2091.h
a3000.c
a3000.h
advansys.c
advansys.h
aha152x.c [SCSI] aha152x: fix variable use before initialisation and other bugs 2006-02-28 11:20:45 -06:00
aha152x.h [SCSI] aha152x: fix variable use before initialisation and other bugs 2006-02-28 11:20:45 -06:00
aha1542.c
aha1542.h
aha1740.c
aha1740.h
ahci.c [PATCH] ahci: enable prefetching for PACKET commands 2006-03-11 21:48:53 -05:00
aic7xxx_old.c
amiga7xx.c
amiga7xx.h
ata_piix.c [PATCH] ata_piix: rename PIIX_FLAG_IGN_PRESENT to PIIX_FLAG_IGNORE_PCS 2006-03-05 00:36:28 -05:00
atari_dma_emul.c
atari_NCR5380.c
atari_scsi.c
atari_scsi.h
atp870u.c
atp870u.h
blz1230.c
blz2060.c
BusLogic.c
BusLogic.h
bvme6000.c
bvme6000.h
ch.c
constants.c
cyberstorm.c
cyberstormII.c
dc395x.c
dc395x.h
dec_esp.c
dmx3191d.c
dpt_i2o.c
dpti.h
dtc.c
dtc.h
eata_generic.h
eata_pio.c
eata_pio.h
eata.c
esp.c [SCSI] esp: fix eh locking 2006-02-22 14:35:52 -08:00
esp.h
fastlane.c
fcal.c
fcal.h
fd_mcs.c
fdomain.c
fdomain.h
FlashPoint.c
g_NCR5380_mmio.c
g_NCR5380.c
g_NCR5380.h
gdth_ioctl.h
gdth_kcompat.h
gdth_proc.c
gdth_proc.h
gdth.c
gdth.h
gvp11.c
gvp11.h
hosts.c
hosts.h
ibmmca.c
ibmmca.h
ide-scsi.c
imm.c
imm.h
in2000.c
in2000.h
initio.c
initio.h
ipr.c [SCSI] ipr: Fix adapter initialization failure 2006-02-12 11:05:44 -06:00
ipr.h [SCSI] ipr: Fix adapter initialization failure 2006-02-12 11:05:44 -06:00
ips.c
ips.h
iscsi_tcp.c [PATCH] slab: Remove SLAB_NO_REAP option 2006-03-22 07:53:59 -08:00
iscsi_tcp.h
jazz_esp.c [SCSI] Delete duplicate driver template. 2006-02-28 09:36:11 -06:00
Kconfig SCSI_AACRAID: add a help text 2006-03-20 20:21:24 +01:00
lasi700.c
libata-bmdma.c [libata] Move PCI IDE BMDMA-related code to new file libata-bmdma.c. 2006-02-09 05:15:27 -05:00
libata-core.c [PATCH] libata: move IDENTIFY info printing from ata_dev_read_id() to ata_dev_configure() 2006-03-16 19:22:57 -05:00
libata-scsi.c [PATCH] libata: implement port_task 2006-03-11 17:57:20 -05:00
libata.h [PATCH] libata: implement port_task 2006-03-11 17:57:20 -05:00
mac53c94.c [PATCH] drivers/scsi/mac53c94.c __iomem annotations 2006-02-07 20:57:14 -05:00
mac53c94.h
mac_esp.c
mac_scsi.c
mac_scsi.h
Makefile [libata] Move PCI IDE BMDMA-related code to new file libata-bmdma.c. 2006-02-09 05:15:27 -05:00
mca_53c9x.c
megaraid.c [SCSI] megaraid_legacy: kobject_register failure 2006-02-12 11:11:09 -06:00
megaraid.h [SCSI] megaraid_legacy: kobject_register failure 2006-02-12 11:11:09 -06:00
mesh.c
mesh.h
mvme16x.c
mvme16x.h
mvme147.c
mvme147.h
ncr53c8xx.c
ncr53c8xx.h
NCR53c406a.c
NCR53C9x.c
NCR53C9x.h
NCR5380.c
NCR5380.h
NCR_D700.c
NCR_D700.h
NCR_Q720.c
NCR_Q720.h
nsp32_debug.c
nsp32_io.h
nsp32.c
nsp32.h
oktagon_esp.c
oktagon_io.S
osst_detect.h
osst_options.h
osst.c
osst.h
pas16.c
pas16.h
pci2000.h
pdc_adma.c [PATCH] libata: kill sht->max_sectors 2006-02-12 14:36:30 -05:00
pluto.c
pluto.h
ppa.c
ppa.h
psi240i.c
psi240i.h
psi_chip.h
ql1040_fw.h
ql1280_fw.h
ql12160_fw.h
qla1280.c
qla1280.h
qlogicfas408.c
qlogicfas408.h
qlogicfas.c
qlogicfc_asm.c
qlogicfc.c
qlogicpti_asm.c
qlogicpti.c
qlogicpti.h
raid_class.c
sata_mv.c [libata] sata_mv: fix irq port status usage 2006-03-20 19:49:54 -05:00
sata_nv.c [PATCH] libata: kill sht->max_sectors 2006-02-12 14:36:30 -05:00
sata_promise.c [PATCH] sata_promise: Support FastTrak TX4300/TX4310 2006-03-04 12:20:06 -05:00
sata_promise.h
sata_qstor.c Merge branch 'upstream-fixes' 2006-02-20 16:55:56 -05:00
sata_sil24.c [PATCH] sata_sil24: lengthen softreset timeout 2006-03-11 19:29:42 -05:00
sata_sil.c [PATCH] sata_sil: cosmetic flag/constant changes 2006-03-05 02:39:55 -05:00
sata_sis.c [PATCH] libata: kill sht->max_sectors 2006-02-12 14:36:30 -05:00
sata_svw.c [PATCH] libata: kill sht->max_sectors 2006-02-12 14:36:30 -05:00
sata_sx4.c [PATCH] libata: kill sht->max_sectors 2006-02-12 14:36:30 -05:00
sata_uli.c [PATCH] libata: kill sht->max_sectors 2006-02-12 14:36:30 -05:00
sata_via.c [PATCH] libata: kill sht->max_sectors 2006-02-12 14:36:30 -05:00
sata_vsc.c Merge branch 'master' 2006-02-20 02:16:23 -05:00
script_asm.pl
scsi_debug.c
scsi_debug.h
scsi_devinfo.c [SCSI] Add Brownie to blacklist 2006-03-02 22:44:06 -06:00
scsi_error.c Merge branch 'master' 2006-03-01 14:45:47 -05:00
scsi_ioctl.c
scsi_lib.c [SCSI] scsi: scsi command retries off by one fix 2006-02-27 21:38:39 -06:00
scsi_logging.h
scsi_module.c
scsi_priv.h
scsi_proc.c
scsi_scan.c [SCSI] scsi: handle ->slave_configure return value 2006-02-27 21:26:45 -06:00
scsi_sysctl.c
scsi_sysfs.c [SCSI] fix wrong context bugs in SCSI 2006-02-14 11:15:11 -06:00
scsi_transport_fc.c [SCSI] scsi_transport_fc: fix FC_HOST_NUM_ATTRS 2006-03-09 11:00:59 -05:00
scsi_transport_iscsi.c [PATCH] scsi_transport_iscsi gfp_t annotations 2006-02-07 20:58:21 -05:00
scsi_transport_sas.c
scsi_transport_spi.c
scsi_typedefs.h
scsi.c
scsi.h
scsicam.c
sd.c [PATCH] sd: fix memory corruption with broken mode page headers 2006-02-26 09:09:49 -08:00
seagate.c
seagate.h
sg.c [PATCH] sg: use compound pages 2006-03-22 07:54:01 -08:00
sgiwd93.c
sim710.c
sr_ioctl.c Allocate 96 bytes for SCSI sense data reply 2006-03-06 17:41:44 -08:00
sr_vendor.c
sr.c
sr.h
st_options.h
st.c
st.h
sun3_NCR5380.c
sun3_scsi_vme.c
sun3_scsi.c
sun3_scsi.h
sun3x_esp.c
sym53c416.c
sym53c416.h
t128.c
t128.h
tmscsim.c
tmscsim.h
u14-34f.c
ultrastor.c
ultrastor.h
wd33c93.c
wd33c93.h
wd7000.c
zalon.c