[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170105095706.GA15566@lst.de>
Date: Thu, 5 Jan 2017 10:57:06 +0100
From: Christoph Hellwig <hch@....de>
To: 王金浦 <jinpuwang@...il.com>
Cc: Christoph Hellwig <hch@....de>, Jens Axboe <axboe@...nel.dk>,
mst@...hat.com, jasowang@...hat.com, linux-block@...r.kernel.org,
virtualization@...ts.linux-foundation.org,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] virtio_blk: avoid DMA to stack for the sense buffer
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
Powered by blists - more mailing lists