diff options
author | 2014-02-04 11:26:12 +0100 | |
---|---|---|
committer | 2014-02-07 12:58:18 -0500 | |
commit | 2ed22e3c3bec5b92b9aba4afdef0cc5e6d859a11 (patch) | |
tree | 2f8931eda57be083e4270279f37d7781591bbd48 /drivers/block/xen-blkback/common.h | |
parent | Linux 3.13-rc6 (diff) | |
download | linux-2ed22e3c3bec5b92b9aba4afdef0cc5e6d859a11.tar.gz linux-2ed22e3c3bec5b92b9aba4afdef0cc5e6d859a11.tar.bz2 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 'drivers/block/xen-blkback/common.h')
0 files changed, 0 insertions, 0 deletions