Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1551875

Re: [PATCH] virtio_blk: avoid DMA to stack for the sense buffer

From 王金浦 <jinpuwang@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] virtio_blk: avoid DMA to stack for the sense buffer
Date 2017-01-05 11:50 +0100
Message-ID <sWdMm-1OF-3@gated-at.bofh.it> (permalink)
References <sVMj7-di-3@gated-at.bofh.it> <sVMj7-di-9@gated-at.bofh.it> <sVVZ7-6Ac-9@gated-at.bofh.it> <sWd03-1dl-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


2017-01-05 10:57 GMT+01:00 Christoph Hellwig <hch@lst.de>:
> On Wed, Jan 04, 2017 at 04:47:03PM +0100, 王金浦 wrote:
>> This sounds scary.
>> Could you share how to reproduce it, this should go into stable if
>> it's the case.
>
> Step 1: Build your kernel with CONFIG_VMAP_STACK=y
> Step 2: issue a SG_IO ioctl, e.g. sg_inq /dev/vda
>
Thanks, so it's only relevant to kernel > 4.9, as  CONFIG_VMAP_STACK
only introduced in 4.9 kernel.

Regards,
Jinpu

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] virtio_blk: avoid DMA to stack for the sense buffer Christoph Hellwig <hch@lst.de> - 2017-01-04 06:30 +0100
  Re: [PATCH] virtio_blk: avoid DMA to stack for the sense buffer Jason Wang <jasowang@redhat.com> - 2017-01-04 08:50 +0100
    Re: [PATCH] virtio_blk: avoid DMA to stack for the sense buffer Christoph Hellwig <hch@lst.de> - 2017-01-09 14:40 +0100
      Re: [PATCH] virtio_blk: avoid DMA to stack for the sense buffer Jens Axboe <axboe@kernel.dk> - 2017-01-09 17:00 +0100
  Re: [PATCH] virtio_blk: avoid DMA to stack for the sense buffer 王金浦 <jinpuwang@gmail.com> - 2017-01-04 16:50 +0100
    Re: [PATCH] virtio_blk: avoid DMA to stack for the sense buffer Christoph Hellwig <hch@lst.de> - 2017-01-05 11:00 +0100
      Re: [PATCH] virtio_blk: avoid DMA to stack for the sense buffer 王金浦 <jinpuwang@gmail.com> - 2017-01-05 11:50 +0100
        Re: [PATCH] virtio_blk: avoid DMA to stack for the sense buffer Christoph Hellwig <hch@lst.de> - 2017-01-05 12:20 +0100
  Re: [PATCH] virtio_blk: avoid DMA to stack for the sense buffer "Michael S. Tsirkin" <mst@redhat.com> - 2017-01-09 17:40 +0100

csiph-web