]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
xen-blkfront: switch kcalloc to kvcalloc for large array allocation
authorRoger Pau Monne <roger.pau@citrix.com>
Fri, 3 May 2019 15:04:01 +0000 (17:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Jun 2019 10:19:18 +0000 (12:19 +0200)
commit11901477bc2486041f4c44a136e394b1fcef4489
tree4932d81967494ce6a8e1ed30b359a766a8088605
parentd8a303bd8452396a928f5ca2c7957167b2d185f0
xen-blkfront: switch kcalloc to kvcalloc for large array allocation

commit 1d5c76e66433382a1e170d1d5845bb0fed7467aa upstream.

There's no reason to request physically contiguous memory for those
allocations.

[boris: added CC to stable]

Cc: stable@vger.kernel.org
Reported-by: Ian Jackson <ian.jackson@citrix.com>
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/block/xen-blkfront.c