Why the page tables are needed for lowmem?

sandeep kumar coolsandyforyou at gmail.com
Wed Jun 18 23:21:29 EDT 2014


Hi All

i was going through mm initialization code, and saw paging_init()
implementation.
it has a function map_lowmem().

I was wondering why do we need page table entries for lowmem ??

because all the pages in lowmem can be addressed by kernel logical address
and differ only an offset from the physical address. Why cant we simply add
that offset to the virtual(logical) address and get the job done. Why waste
some memory for creating PTEs for them?

can any one clarify?


-- 
With regards,
Sandeep Kumar Anantapalli,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140619/074f3dab/attachment.html 


More information about the Kernelnewbies mailing list