summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2017-09-06 12:15:31 +0200
committerChristoph Hellwig <hch@lst.de>2017-09-11 12:29:38 -0400
commit30f92d62e5b41a94de2d0bbd677a6ea2fcfed74f (patch)
tree660a37a0ab5e90cda0ed1433570e2ec49a10114c /scripts
parent92dc689563170b90ba844b8a2eb95e8a5eda2e83 (diff)
downloadkernel-30f92d62e5b41a94de2d0bbd677a6ea2fcfed74f.tar.gz
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 <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
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
e='2017-10-18 12:40:27 +0100'>2017-10-18net/core: Convert sk_timer users to use timer_setup()Kees Cook 2017-10-18net/core: Collapse redundant sk_timer callback data assignmentsKees Cook 2017-08-03X25: constify null_x25_addressJulia Lawall 2017-07-04net, x25: convert x25_neigh.refcnt from atomic_t to refcount_tReshetova, Elena 2017-07-04net, x25: convert x25_route.refcnt from atomic_t to refcount_tReshetova, Elena 2017-06-20net: manual clean code which call skb_put_[data:zero]yuan linyu 2017-06-16networking: introduce and use skb_put_data()Johannes Berg 2017-05-18net: x25: fix one potential use-after-free issuelinzhang 2017-03-09net: Work around lockdep limitation in sockets that use socketsDavid Howells 2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar 2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds 2016-12-17net/x25: use designated initializersKees Cook 2016-09-09net: x25: remove null checks on arrays calling_ae and called_aeColin Ian King