[lkml]   [2003]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectmmaping /dev/mem

I have a problem mmaping /dev/mem on some address in RAM. I am aware of
caveats,but I am trying to mmap a region which I am sure is not in use by the
kernel(some additional code does this and returns a physical address which is
what I use for mmap). The mmap call itself succeeds and /proc/pid/maps also
shows that region, but I am unable to see what I write in target memory.I also
tried with the O_SYNC flag as I was wondering is caching had anything to do
with the results that I was seeing.No effect.
This however works with a mem= option and when the mmap region falls out of the
mem= boundary.
any clues?
Please cc as I am not subscribed

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:33    [W:0.047 / U:0.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site