diff options
author | Akinobu Mita <[email protected]> | 2017-09-06 12:15:31 +0200 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2017-09-11 12:29:38 -0400 |
commit | 30f92d62e5b41a94de2d0bbd677a6ea2fcfed74f (patch) | |
tree | 660a37a0ab5e90cda0ed1433570e2ec49a10114c /tools/perf/util/trace-event-scripting.c | |
parent | 92dc689563170b90ba844b8a2eb95e8a5eda2e83 (diff) |
nvme-pci: use appropriate initial chunk size for HMB allocation
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 <[email protected]>
[hch: rebased]
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Keith Busch <[email protected]>
Cc: [email protected]
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions