O'Reilly logo

Hands-On System Programming with Linux by Kaiwan N Billimoria

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Indirection

By introducing paging, we have actually introduced a level of indirection: we no longer think of a (virtual) address as an absolute offset from zero, but rather as a relative quantity: va = (page, offset).

We think of each virtual address as associated with a page number and an offset from the beginning of that page. This is called using one level of indirection.

So each time a process refers to a virtual address (and of course, note that this is happening almost all of the time), the system must translate the virtual address to the corresponding physical address based on the PTs for that process.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required