From: mindentropy@gmail.com (mindentropy)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Regarding remap_pfn_page
Date: Thu, 21 Jul 2011 22:12:59 +0530 [thread overview]
Message-ID: <201107212212.59630.mindentropy@gmail.com> (raw)
In-Reply-To: <CAAYFAvoeyOH1GGX1h1zqGoJrphoD2qyqfQ-SHPiSZeP4W3Zzjw@mail.gmail.com>
>So your question is rather more confined : Whether you can allocate
>physically cotigous memory of 16MB, right? Mapping is not an issue
>here. proper error handling will anyways tell you whether you
>succeeded or not. I think with kmalloc, you may not get memory larger
>than 4MB.
Yes mapping was never an issue. Contiguous physical frames is an issue.
kmalloc limitation is 128KB. __get_page_frames with order higher that 10
would have higher chances of failing. I guess I need to grab as much
contiguous memory as possible during boot time. My /proc/buddyinfo on a 512MB
RAM machine paints a depressing picture of contiguous chunks.
next prev parent reply other threads:[~2011-07-21 16:42 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-19 17:56 Regarding remap_pfn_page mindentropy
2011-07-20 17:18 ` Rajat Sharma
2011-07-20 17:41 ` mindentropy
2011-07-20 17:54 ` mindentropy
2011-07-20 18:29 ` mindentropy
2011-07-21 7:42 ` Rajat Sharma
2011-07-21 16:42 ` mindentropy [this message]
2011-07-21 17:56 ` Mulyadi Santosa
2011-07-21 18:18 ` mindentropy
2011-07-21 18:23 ` Rajat Sharma
2011-07-21 18:37 ` mindentropy
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=201107212212.59630.mindentropy@gmail.com \
--to=mindentropy@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.