My pc has 64M memory, now I want to map the 63-64M mem into kernel, so I call: vremap( 63*1024*1024, 1024*1024 ) ; 1.If this block of memory has been occupied by others, does vremap() return fail. Otherwise I will crash the system. 2.After vremap(), does this block of memory marked alloced, and other mem request does not get any page of this block? 3.Are there any way to know which phy mem is free? |