From: "jason.xia" <dark_knight@linuxfreemail.com>
To: linux-kernel@vger.kernel.org
Subject: question about __bootmem_alloc_core
Date: Tue, 19 Mar 2002 01:46:30 -0800 [thread overview]
Message-ID: <200203190946.g2J9kUR16022@superglide.netfx-2000.net> (raw)
Hi:
I'm reading the codes about linux memory managemnet. and now
I'm puzzled by some codes about __bootmem_alloc_core.
This function can return a memory address for a memory block.
and it has a parameter "goal" with it to get a preferred address.
But when prev call of this function get a memory block < PAGE_SIZE,
and then call this function with parameter goal and cause
start != bdata->last_pos+1 , the perv memblock has not been
marked reserved and the info will be lost.
I'm not sure can this happened?
Thanks.
__best regards__
jason
Get your own FREE E-mail address at http://www.linuxfreemail.com
Linux FREE Mail is 100% FREE, 100% Linux, 100% better, and 100% yours!
reply other threads:[~2002-03-19 9:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=200203190946.g2J9kUR16022@superglide.netfx-2000.net \
--to=dark_knight@linuxfreemail.com \
--cc=linux-kernel@vger.kernel.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).