linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* question about __bootmem_alloc_core
@ 2002-03-19  9:46 jason.xia
  0 siblings, 0 replies; only message in thread
From: jason.xia @ 2002-03-19  9:46 UTC (permalink / raw)
  To: linux-kernel

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!



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-03-19  9:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-19  9:46 question about __bootmem_alloc_core jason.xia

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).