Top "Memory-mapping" questions

a technique whereby computer peripherals may be addressed as though they formed part of the main memory of the computer

How to access physical addresses from user space in Linux?

On a ARM based system running Linux, I have a device that's memory mapped to a physical address. From a …

linux memory arm memory-address memory-mapping
How does copy_from_user from the Linux kernel work internally?

How exactly does the copy_from_user() function work internally? Does it use any buffers or is there any memory …

linux linux-kernel memory-mapping
Memory-mapped files in Java

I've been trying to write some very fast Java code that has to do a lot of I/O. I'm …

java memory-mapping
Convert a pointer to an array in C++

The CreateFileMapping function returns a pointer to a memory mapped file, and I want to treat that memory mapping as …

c++ arrays pointers memory-mapping
Binary search in a sorted (memory-mapped ?) file in Java

I am struggling to port a Perl program to Java, and learning Java as I go. A central component of …

java nio large-files binary-search memory-mapping
Why 16-bit address with 12-bit offset results in 4KB page size?

I'm reading the "Modern Operating System" book. And I'm confused about the "Page Size". In the book, the author says, …

memory-management operating-system virtual-memory memory-mapping
Reading a memory mapped block of data into a structure

I've been playing around with memory mapping today on VC++ 2008 and I still haven't completely understood how to use it …

c++ windows memory-mapping