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
File | Mode | Size |
---|---|---|
Makefile | -rw-r--r-- | 383 bytes |
generic_mpih-add1.c | -rw-r--r-- | 2.0 KB |
generic_mpih-lshift.c | -rw-r--r-- | 2.1 KB |
generic_mpih-mul1.c | -rw-r--r-- | 1.9 KB |
generic_mpih-mul2.c | -rw-r--r-- | 1.9 KB |
generic_mpih-mul3.c | -rw-r--r-- | 1.9 KB |
generic_mpih-rshift.c | -rw-r--r-- | 2.1 KB |
generic_mpih-sub1.c | -rw-r--r-- | 2.0 KB |
longlong.h | -rw-r--r-- | 39.5 KB |
mpi-bit.c | -rw-r--r-- | 1.5 KB |
mpi-cmp.c | -rw-r--r-- | 1.6 KB |
mpi-inline.h | -rw-r--r-- | 3.3 KB |
mpi-internal.h | -rw-r--r-- | 7.8 KB |
mpi-pow.c | -rw-r--r-- | 8.4 KB |
mpicoder.c | -rw-r--r-- | 9.0 KB |
mpih-cmp.c | -rw-r--r-- | 2.0 KB |
mpih-div.c | -rw-r--r-- | 5.8 KB |
mpih-mul.c | -rw-r--r-- | 14.2 KB |
mpiutil.c | -rw-r--r-- | 2.7 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...