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-- 649 bytes
Makefile -rw-r--r-- 295 bytes
channel.c -rw-r--r-- 23.5 KB
channel_mgmt.c -rw-r--r-- 33.1 KB
connection.c -rw-r--r-- 10.6 KB
hv.c -rw-r--r-- 9.9 KB
hv_balloon.c -rw-r--r-- 42.4 KB
hv_fcopy.c -rw-r--r-- 9.8 KB
hv_kvp.c -rw-r--r-- 19.6 KB
hv_snapshot.c -rw-r--r-- 10.2 KB
hv_util.c -rw-r--r-- 14.0 KB
hv_utils_transport.c -rw-r--r-- 8.0 KB
hv_utils_transport.h -rw-r--r-- 2.1 KB
hyperv_vmbus.h -rw-r--r-- 10.3 KB
ring_buffer.c -rw-r--r-- 12.4 KB
vmbus_drv.c -rw-r--r-- 40.0 KB

back to top