The HyperNews Linux KHG Discussion Pages

Question: use phy mem

Forum: The Linux Kernel Hackers' Guide
Keywords: vremap()?
Date: Wed, 12 Nov 1997 07:57:22 GMT
From: WYB <[email protected]>

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?