lkml.org 
[lkml]   [2002]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject
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/

\
 
 \ /
  Last update: 2005-03-22 13:25    [W:0.026 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site