Hi All, On 4/17/07, Rajat Jain <rajat.noida.india@xxxxxxxxx> wrote:
Hi Adil, > > So that means the Zone DMA (on x86 upto 16MB) is mapped first i.e. to > 0xC0000000? > > Furthermore the virtual field in the page structure coresponds to this > kernel logical address and it never changes if the page belongs to > ZONE_NORMAL? IMHO, yes.
Does that also mean that the kernel image is loaded in the RAM memory region corresponding to ZONE_DMA? I am concluding this from the fact that the kernel image (bzImage) is loaded at the *physical location* 0x100000 (which corresponds to 1048576 or 1 MB). - as mentioned in Understanding the Linux Kernel (Booting process). If that is right, does this effect any DMA'able devices' way of addressing the 16MB of dedicated DMA zone - or am I confusing ZONE_DMA and DMA'ble memory? Also, in my understanding, pages allocated using kmalloc are from ZONE_NORMAL. Hence, if the above argument is right, does that mean that we can use *only* the (<total physical RAM> - 16MB)physical memory OR (896MB virtual - 16MB of Zone_DMA)virtual addresses?? Hope I am atleast clear about my doubt ;). Thanks, Regards, Shreyansh -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ