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-- 4.3 KB
Makefile -rw-r--r-- 719 bytes
w1_ds2405.c -rw-r--r-- 4.7 KB
w1_ds2406.c -rw-r--r-- 3.4 KB
w1_ds2408.c -rw-r--r-- 9.4 KB
w1_ds2413.c -rw-r--r-- 3.4 KB
w1_ds2423.c -rw-r--r-- 3.8 KB
w1_ds2431.c -rw-r--r-- 6.8 KB
w1_ds2433.c -rw-r--r-- 7.1 KB
w1_ds2438.c -rw-r--r-- 8.9 KB
w1_ds2760.c -rw-r--r-- 4.0 KB
w1_ds2760.h -rw-r--r-- 1.8 KB
w1_ds2780.c -rw-r--r-- 3.6 KB
w1_ds2780.h -rw-r--r-- 3.9 KB
w1_ds2781.c -rw-r--r-- 3.5 KB
w1_ds2781.h -rw-r--r-- 3.8 KB
w1_ds2805.c -rw-r--r-- 7.1 KB
w1_ds28e04.c -rw-r--r-- 9.7 KB
w1_smem.c -rw-r--r-- 1.9 KB
w1_therm.c -rw-r--r-- 17.4 KB

back to top