From: frog1120@gmail.com (J.Hwan Kim)
To: kernelnewbies@lists.kernelnewbies.org
Subject: How to allocate hugepage in kernel module?
Date: Thu, 09 Aug 2012 16:14:16 +0900 [thread overview]
Message-ID: <50236348.7040709@gmail.com> (raw)
Hi, everyone
How can I allocate physically contiguous huge page in kernel module ?
The routine of _get_fee_pages() fails whenever there are much free
memory in system.
I found the procedures for set hugepages with sysctl or
/proc/sys/vm/nr_hugepages
but I've not found the api for allocate the huge page in kernel.
Thanks in advnace.
Best Regards,
J.Hwan Kim
next reply other threads:[~2012-08-09 7:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-09 7:14 J.Hwan Kim [this message]
2012-08-09 8:59 ` How to allocate hugepage in kernel module? Denis Kirjanov
2012-08-10 0:00 ` J.Hwan Kim
2012-08-10 3:18 ` anish kumar
-- strict thread matches above, loose matches on Subject: below --
2012-08-12 6:48 Murali Annamneni
2012-08-12 7:47 aurum spark
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=50236348.7040709@gmail.com \
--to=frog1120@gmail.com \
--cc=kernelnewbies@lists.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.