All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sadanand Warrier <sadanandwarrier@gmail.com>
To: kernelnewbies@kernelnewbies.org
Subject: Contiguous Memory Allocator (CMA)
Date: Tue, 21 Dec 2021 09:35:33 -0500	[thread overview]
Message-ID: <CADJuq2wCLDStwfiWSQNr9bNKjW5cqvGm_UkgKCpJ4E-GLXgkCQ@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 535 bytes --]

Hello
    Is CMA still supported as described in this document
https://lwn.net/Articles/396707/ ?
Or has it changed and there is a newer version which details how to
allocate a chunk of contiguous memory on bootup and then use it with a
loadable kernel module?
What I want to do is allocate a chunk of contiguous memory at boot time and
use it with a loadable driver.
It will be a vanilla Centos kernel and I wonder if they are compiled with
the CMA enabled.
When I check dmesg I see
 " 0K cma-reserved" so it still exists.

Thanks

S

[-- Attachment #1.2: Type: text/html, Size: 749 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

             reply	other threads:[~2021-12-21 14:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-21 14:35 Sadanand Warrier [this message]
2022-01-08 12:22 ` Contiguous Memory Allocator (CMA) FMDF
2022-01-08 13:37   ` Sadanand Warrier
2022-01-08 22:14     ` FMDF
2022-01-08 22:49       ` Sadanand Warrier

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=CADJuq2wCLDStwfiWSQNr9bNKjW5cqvGm_UkgKCpJ4E-GLXgkCQ@mail.gmail.com \
    --to=sadanandwarrier@gmail.com \
    --cc=kernelnewbies@kernelnewbies.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.