OpenCloudOS-Kernel/tools/virtio/linux
Jens Axboe 9544bc5347 sg: remove ->sg_magic member
This was introduced more than a decade ago when sg chaining was
added, but we never really caught anything with it. The scatterlist
entry size can be critical, since drivers allocate it, so remove
the magic member. Recently it's been triggering allocation stalls
and failures in NVMe.

Tested-by: Jordan Glover <Golden_Miller83@protonmail.ch>
Acked-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-06-29 08:48:06 -06:00
..
bug.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
compiler.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
device.h tools/virtio: virtio_test tool 2010-12-09 16:00:22 +02:00
dma-mapping.h PCI: remove PCI_DMA_BUS_IS_PHYS 2018-05-07 07:15:41 +02:00
err.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
export.h tools/virtio: fix build after 4.2 changes 2015-09-09 22:03:30 +03:00
hrtimer.h tools/virtio: add linux/hrtimer.h stub 2012-02-28 09:13:14 +02:00
irqreturn.h tools/virtio: separate headers more. 2013-03-20 14:00:42 +10:30
kernel.h tools/virtio: more stubs to fix tools build 2018-01-29 12:02:54 -05:00
kmemleak.h tools/virtio: fix missing kmemleak_ignore symbol 2014-03-13 11:23:25 +10:30
module.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
printk.h tools/virtio: separate headers more. 2013-03-20 14:00:42 +10:30
ratelimit.h tools/virtio: separate headers more. 2013-03-20 14:00:42 +10:30
scatterlist.h sg: remove ->sg_magic member 2018-06-29 08:48:06 -06:00
slab.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
thread_info.h tools/virtio: more stubs to fix tools build 2018-01-29 12:02:54 -05:00
uaccess.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
uio.h tools/virtio: add vring_test. 2013-03-20 14:06:04 +10:30
virtio.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
virtio_byteorder.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
virtio_config.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
virtio_ring.h tools/virtio: separate headers more. 2013-03-20 14:00:42 +10:30
vringh.h tools/virtio: separate headers more. 2013-03-20 14:00:42 +10:30