Revision 30f92d62e5b41a94de2d0bbd677a6ea2fcfed74f authored by Akinobu Mita on 06 September 2017, 10:15:31 UTC, committed by Christoph Hellwig on 11 September 2017, 16:29:38 UTC
The initial chunk size for host memory buffer allocation is currently
PAGE_SIZE << MAX_ORDER.  MAX_ORDER order allocation is usually failed
without CONFIG_DMA_CMA.  So the HMB allocation is retried with chunk size
PAGE_SIZE << (MAX_ORDER - 1) in general, but there is no problem if the
retry allocation works correctly.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
[hch: rebased]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Cc: stable@vger.kernel.org
1 parent 92dc689
History
File Mode Size
Kconfig -rw-r--r-- 3.4 KB
Makefile -rw-r--r-- 637 bytes
blk.c -rw-r--r-- 8.7 KB
btt.c -rw-r--r-- 36.2 KB
btt.h -rw-r--r-- 5.6 KB
btt_devs.c -rw-r--r-- 9.0 KB
bus.c -rw-r--r-- 28.1 KB
claim.c -rw-r--r-- 8.3 KB
core.c -rw-r--r-- 17.8 KB
dax_devs.c -rw-r--r-- 3.4 KB
dimm.c -rw-r--r-- 2.4 KB
dimm_devs.c -rw-r--r-- 16.1 KB
e820.c -rw-r--r-- 2.1 KB
label.c -rw-r--r-- 31.0 KB
label.h -rw-r--r-- 4.6 KB
namespace_devs.c -rw-r--r-- 64.6 KB
nd-core.h -rw-r--r-- 4.8 KB
nd.h -rw-r--r-- 11.4 KB
pfn.h -rw-r--r-- 1.6 KB
pfn_devs.c -rw-r--r-- 17.6 KB
pmem.c -rw-r--r-- 14.2 KB
pmem.h -rw-r--r-- 1.2 KB
region.c -rw-r--r-- 4.5 KB
region_devs.c -rw-r--r-- 28.2 KB

back to top