Re: /dev/mem and /dev/kmem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--- "Warrier, Sadanand (Sadanand)" <swarrier@lucent.com> wrote:
> Hello
>     What exactly is the difference between /dev/mem and /dev/kmem.
> While
> looking at the source code in char/mem.c I noticed that the mmap
> function
> for both are the same.  I believe that /dev/mem is the actual
> physical
> memory mapping. What is /dev/kmem used for?

/dev/mem represents the phyical memory, /dev/kmem represents
the kernel virtual address space.

Hope this helps,
Ravi.



__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux