question about __bootmem_alloc_core

jason.xia (dark_knight@linuxfreemail.com)
Tue, 19 Mar 2002 01:46:30 -0800


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!

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/