All of lore.kernel.org
 help / color / mirror / Atom feed
From: Harris, James R <james.r.harris at intel.com>
To: spdk@lists.01.org
Subject: Re: [SPDK] Memory buffer allocation in SPDK
Date: Wed, 07 Feb 2018 15:00:05 +0000	[thread overview]
Message-ID: <D545A357-5C00-4AC2-B809-AD14DAFF7729@intel.com> (raw)
In-Reply-To: 5a7a93c8.d4f4500a.21cf3.30c4@mx.google.com

[-- Attachment #1: Type: text/plain, Size: 910 bytes --]



From: SPDK <spdk-bounces(a)lists.01.org> on behalf of Ernest Zaslavsky <kreuzerkrieg(a)gmail.com>
Reply-To: Storage Performance Development Kit <spdk(a)lists.01.org>
Date: Tuesday, February 6, 2018 at 10:51 PM
To: Storage Performance Development Kit <spdk(a)lists.01.org>
Subject: Re: [SPDK] Memory buffer allocation in SPDK

Hi James,
Thanks for the info, sounds like we have a way to solve our problem. I have some additional questions. The spdk_mem_register() function, it just adds the region to the SPDK allocation map, right? It does not touch or modifies the memory in any way, right? Is it safe to say that we may register with SPDK all our pre-allocated memory when the application starts and just keep it that way?

Hi Ernest,

Correct – SPDK does not touch the buffer registered with spdk_mem_register() in any way – it only adds it to any registered translation maps.

-Jim


[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 4991 bytes --]

             reply	other threads:[~2018-02-07 15:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-07 15:00 Harris, James R [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-02-07 15:01 [SPDK] Memory buffer allocation in SPDK Ernest Zaslavsky
2018-02-07  5:51 Ernest Zaslavsky
2018-02-07  0:11 Harris, James R
2018-02-06 13:32 Ernest Zaslavsky
2016-12-13 16:05 [SPDK] Memory Buffer Allocation " Harris, James R
2016-12-13 15:49 yzhu
2016-12-13  4:46 Harris, James R
2016-12-13  4:13 yzhu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D545A357-5C00-4AC2-B809-AD14DAFF7729@intel.com \
    --to=spdk@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.