From: Christoph Hellwig <hch@lst.de>
To: 王金浦 <jinpuwang@gmail.com>
Cc: Christoph Hellwig <hch@lst.de>, Jens Axboe <axboe@kernel.dk>,
mst@redhat.com, jasowang@redhat.com, linux-block@vger.kernel.org,
virtualization@lists.linux-foundation.org,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] virtio_blk: avoid DMA to stack for the sense buffer
Date: Thu, 5 Jan 2017 10:57:06 +0100 [thread overview]
Message-ID: <20170105095706.GA15566@lst.de> (raw)
In-Reply-To: <CAD9gYJKe5wbQkMGvVhZ0MUbLAAFumubk+k-nVhMDiha9FEQNTg@mail.gmail.com>
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
next prev parent reply other threads:[~2017-01-05 9:57 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-04 5:25 4.10 and -stable fix for virtio_blk and virtually mapped stacks Christoph Hellwig
2017-01-04 5:25 ` [PATCH] virtio_blk: avoid DMA to stack for the sense buffer Christoph Hellwig
2017-01-04 7:44 ` Jason Wang
2017-01-09 13:35 ` Christoph Hellwig
2017-01-09 15:56 ` Jens Axboe
2017-01-04 15:47 ` 王金浦
2017-01-05 9:57 ` Christoph Hellwig [this message]
2017-01-05 10:37 ` 王金浦
2017-01-05 11:17 ` Christoph Hellwig
2017-01-09 16:33 ` Michael S. Tsirkin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170105095706.GA15566@lst.de \
--to=hch@lst.de \
--cc=axboe@kernel.dk \
--cc=jasowang@redhat.com \
--cc=jinpuwang@gmail.com \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mst@redhat.com \
--cc=virtualization@lists.linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).