]> git.baikalelectronics.ru Git - kernel.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)
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>
Tue, 4 Jun 2019 02:16:19 +0000 (22:16 -0400)
commit0e9a663c80824a138600cb2f58ea9e6c4dc70bf9
treeed56ab02746e05cf590da0e5f67445213e342332
parent5a4ffce0901d7371f33c6c2cfee713903c0e2782
xen-blkfront: switch kcalloc to kvcalloc for large array allocation

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>
drivers/block/xen-blkfront.c