Dear All,

          Can you please clarify my doubt on /dev/mem

         When I open /dev/mem, Is that entire physical address space is
associated to /dev/mem or only the system memory ?
         * If I can mmap the kernel memory in read write mode, I can screw
up the whole kernel. Is that right ?
         * Suppose I map a random memory page frame (let's assume it is a
free page) from physical address 1abde000 to 1abdf000,
           then will the page allocator not allocate this page to to any
other task or to the kernel ?

Thanks,
Prabhu

Reply via email to