work with memory in QNX

Hello Friends, I need information about how is tha manner that QNX
manipulate their virtual memory or in general memory… for example… what
methods is used to manipulate, for example in UNIX are used swaping,
pagination, segmentation … or how QNX assume that need virtual memory,
owing to QNX doesnt have swap…


thansk a lot

from Peru


Javier Melendez

Javier Melendez <javier@barreda.com.pe> wrote:

Hello Friends, I need information about how is tha manner that QNX
manipulate their virtual memory or in general memory… for example… what
methods is used to manipulate, for example in UNIX are used swaping,
pagination, segmentation … or how QNX assume that need virtual memory,
owing to QNX doesnt have swap…

Virtual memory is more than just swap/page to disk. What we do, essentially,
is use the MMU to give each process its own completely independent address
space, and then assign pages of ram to different processes as they ask for
them. This also means that pages that are linear in the address space of
a process (virtual address space) may not be linear in physical address
space of the processor, and it means that all process’ address spaces are
protected from harm by other processes.

-David

QNX Training Services
I do not answer technical questions by email.