Content-Type: multipart/mixed; boundary="===============7094406167448003723==" MIME-Version: 1.0 From: yzhu Subject: [SPDK] Memory Buffer Allocation in SPDK Date: Mon, 12 Dec 2016 23:13:09 -0500 Message-ID: <01acc08b07afdca4b70a587cc00c99dd@cs.fsu.edu> List-ID: To: spdk@lists.01.org --===============7094406167448003723== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi All, Is there any way to directly use the memory allocated by the malloc() = function? The spdk_malloc() allocates a pinned memory buffer in huge = page, and the spdk_nvme_ns_cmd_write also uses the pinned memory for = write. However, if we allocate a memory buffer by malloc(), how could we = directly write data to NVMe device by SPDK without copying data to the = buffer allocated by spdk_malloc()? Thanks, Yue --===============7094406167448003723==--