diff options
author | Matt Rushton <mrushton@amazon.com> | 2014-02-04 11:26:12 +0100 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2014-02-07 12:58:18 -0500 |
commit | 2ed22e3c3bec5b92b9aba4afdef0cc5e6d859a11 (patch) | |
tree | 2f8931eda57be083e4270279f37d7781591bbd48 /virt/kvm/iodev.h | |
parent | 802eee95bde72fd0cd0f3a5b2098375a487d1eda (diff) | |
download | talos-obmc-linux-2ed22e3c3bec5b92b9aba4afdef0cc5e6d859a11.tar.gz talos-obmc-linux-2ed22e3c3bec5b92b9aba4afdef0cc5e6d859a11.zip |
xen-blkback: fix memory leak when persistent grants are used
Currently shrink_free_pagepool() is called before the pages used for
persistent grants are released via free_persistent_gnts(). This
results in a memory leak when a VBD that uses persistent grants is
torn down.
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: "Roger Pau Monné" <roger.pau@citrix.com>
Cc: Ian Campbell <Ian.Campbell@citrix.com>
Reviewed-by: David Vrabel <david.vrabel@citrix.com>
Cc: linux-kernel@vger.kernel.org
Cc: xen-devel@lists.xen.org
Cc: Anthony Liguori <aliguori@amazon.com>
Signed-off-by: Matt Rushton <mrushton@amazon.com>
Signed-off-by: Matt Wilson <msw@amazon.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'virt/kvm/iodev.h')
0 files changed, 0 insertions, 0 deletions