Loading
RDMA/hns: Alloc MTR memory before alloc_mtt()
maillist inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I91AFK CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6afc859518319d78164ec616e736af45acbf1cec ---------------------------------------------------------------------- MTR memory allocation do not depend on allocation of mtt. This patch moves the allocation of mtr before mtt in preparation for the following optimization. Signed-off-by:Chengchang Tang <tangchengchang@huawei.com> Signed-off-by:
Junxian Huang <huangjunxian6@hisilicon.com> Link: https://lore.kernel.org/r/20240113085935.2838701-4-huangjunxian6@hisilicon.com Signed-off-by:
Leon Romanovsky <leon@kernel.org> Signed-off-by:
Juan Zhou <zhoujuan51@h-partners.com>