From: Carter Cheng <cartercheng@gmail.com>
To: kernelnewbies@kernelnewbies.org
Subject: which functions are used for dynamically allocating memory in the kernel?
Date: Wed, 28 Nov 2018 22:14:08 +0800 [thread overview]
Message-ID: <CALS6=qWAo1kjOgJK06TrZUCaoQequaxxQn7Xi30OisCvbN-3VA@mail.gmail.com> (raw)
Message-ID: <20181128141408.Mnc7141W748CH5qVgiitT0rkswTcSNn2-A0yoJHJ7GY@z> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 259 bytes --]
Hello,
I am curious which sets of functions return pointers for the purpose of
dynamic allocating memory in the kernel? I am aware of get_free_pages
family, kmalloc, vmalloc, the slab allocator and mempools are there any
others?
Thanks in advance,
Carter.
[-- Attachment #1.2: Type: text/html, Size: 357 bytes --]
[-- Attachment #2: Type: text/plain, Size: 170 bytes --]
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
next reply other threads:[~2018-11-28 14:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-28 14:14 Carter Cheng [this message]
2018-11-28 14:14 ` which functions are used for dynamically allocating memory in the kernel? Carter Cheng
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='CALS6=qWAo1kjOgJK06TrZUCaoQequaxxQn7Xi30OisCvbN-3VA@mail.gmail.com' \
--to=cartercheng@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).