QNX From The Board Up #17 - mmap() PRIVATE vs. SHARED
Dive into more internals of mmap() to understand files in memory, the semantics of MAP_PRIVATE vs. MAP_SHARED, and how these flags impact memory sharing and efficiency in QNX.
Dive into more internals of mmap() to understand files in memory, the semantics of MAP_PRIVATE vs. MAP_SHARED, and how these flags impact memory sharing and efficiency in QNX.
We sat down and talked candidly with some of our favorite QNX interns to see what they think about working at QNX.
Take a quick break from memory to implement some common utilities like ls, shutdown, and uname on your own custom image. Simple, right? Right??
Learn about the relationship with physical memory addresses and how we can leverage that to finally draw something on the screen!
Check out what's new in the September software release from the QNX Everywhere team.
Another quick detour to talk about free() and releasing memory.
Let's find the boundaries for virtual memory addresses then see what happens if you try to push past them!
In this second post about memory allocation, we take a look at memory management units (MMUs), and virtual and physical addressing.
Take an introductory look at mmap() to allocate memory, then use it to write your own version of malloc(). (And build a KISS version of cat for your custom image!)
Enjoy this quick detour from our regularly-scheduled program for a (fun!) look at inspecting the kernel (and other processes) to see exactly what's running and how they are communicating.
Take a look at the relationship between the "Kernel" (aka "kernel code") and the "Kernel Process".
QNX had a great time at Hack The 6ix this year in Toronto! Here's a recap of what we saw.