Re: Virtual and Linear addresses

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

 



pandari kashyap wrote:
Tavi,
[...]
1. Why can't Kernel access physical addresses? . For ex:-, if there is a
line of code that looks like the following inside the kernel
(*(char*)0xffff0000) = 'a' ;

Then what kind of address is 0xffff0000 if we assume that the system has 2GB
of RAM. Is it Linear or physical?. In case it is linear what if we want to
store 'a' in physical address 0xffff0000??

http://kerneltrap.org/node/2450
+ google

2. What is the difference and philosophy between kmalloc and vmalloc?

2.2 in http://www.fenrus.org/how-to-not-write-a-device-driver-paper.pdf
+ google

Thanks for your help in advance?

Search archives first ?

--
-o--=O`C  /. .\   (+)
 #oo'L O      o    |
<___=E M    ^--    |  (you're barking up the wrong tree)


--
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