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


Groups > linux.kernel > #1642237

[PATCH 0/3] xen/blkback: several fixes of resource management

From Juergen Gross <jgross@suse.com>
Newsgroups linux.kernel
Subject [PATCH 0/3] xen/blkback: several fixes of resource management
Date 2017-05-16 08:30 +0200
Message-ID <tHE9z-22D-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Destroying a Xen guest domain while it was doing I/Os via xen-blkback
leaked several resources, including references of the guest's memory
pages.

This patch series addresses those leaks by correcting usage of
reference counts and the sequence when to free which resource.

The series applies on top of commit 2d4456c73a487abe ("block:
xen-blkback: add null check to avoid null pointer dereference") in
Jens Axboe's tree kernel/git/axboe/linux-block.git

Juergen Gross (3):
  xen/blkback: fix disconnect while I/Os in flight
  xen/blkback: don't free be structure too early
  xen/blkback: don't use xen_blkif_get() in xen-blkback kthread

 drivers/block/xen-blkback/blkback.c |  3 ---
 drivers/block/xen-blkback/common.h  |  1 +
 drivers/block/xen-blkback/xenbus.c  | 15 ++++++++-------
 3 files changed, 9 insertions(+), 10 deletions(-)

-- 
2.12.0

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


Thread

[PATCH 0/3] xen/blkback: several fixes of resource management Juergen Gross <jgross@suse.com> - 2017-05-16 08:30 +0200
  [PATCH 3/3] xen/blkback: don't use xen_blkif_get() in xen-blkback kthread Juergen Gross <jgross@suse.com> - 2017-05-16 08:30 +0200
  [PATCH 2/3] xen/blkback: don't free be structure too early Juergen Gross <jgross@suse.com> - 2017-05-16 08:30 +0200
  Re: [PATCH 0/3] xen/blkback: several fixes of resource management Steven Haigh <netwiz@crc.id.au> - 2017-05-18 04:10 +0200
  Re: [PATCH 0/3] xen/blkback: several fixes of resource management Roger Pau Monné <roger.pau@citrix.com> - 2017-05-18 17:00 +0200
    Re: [PATCH 0/3] xen/blkback: several fixes of resource management Juergen Gross <jgross@suse.com> - 2017-05-18 17:10 +0200

csiph-web