kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Regarding high mem
@ 2012-10-16 12:17 Kshemendra KP
  2012-10-16 18:00 ` Mulyadi Santosa
  2012-10-17  8:34 ` Chetan Nanda
  0 siblings, 2 replies; 6+ messages in thread
From: Kshemendra KP @ 2012-10-16 12:17 UTC (permalink / raw)
  To: kernelnewbies

   On x86 kernel is normally split into 3GB (user) : 1 GB (Kernel) spaces.
Kernel can only directly
   manipulate 1 GB (around 889 MB) from the PAGE_OFFSET (0xC0000000). The
user space
   memofy below PAGE_OFFSET kernel can't directly access, it considers this
memory as
   high memory. Kernel needs to kmap()/kmap_atomic() map user page and
access that region.

   If the memory is above 4 GB with page extension, it is clear that kernel
can't access it as
   kernel uses "void *" and/or  "unsigned long" to hold the address. But it
is not clear for me
   why kernel's can't directly access memory below PAGE_OFFSET ( 0-3GB)
directly.


Regards

Kshemendra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20121016/64397843/attachment.html 

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-10-17 21:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-16 12:17 Regarding high mem Kshemendra KP
2012-10-16 18:00 ` Mulyadi Santosa
2012-10-17  8:34 ` Chetan Nanda
2012-10-17  8:52   ` Kshemendra KP
2012-10-17 13:56     ` Chetan Nanda
2012-10-17 21:00     ` Rik van Riel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).