I assume that you have gone through Chapter 1, Kernel Workspace Setup, and have appropriately prepared a guest Virtual Machine (VM) running Ubuntu 18.04 LTS (or a later stable release) and installed all the required packages. If not, I highly recommend you do this first.
To get the most out of this book, I strongly recommend you first set up the workspace
environment, including cloning this book's GitHub repository (https://github.com/PacktPublishing/Linux-Kernel-Programming) for the code, and work on it in a hands-on fashion.
Refer to Hands-On System Programming with Linux, Kaiwan N Billimoria, Packt (https://www.packtpub.com/networking-and-servers/hands-system-programming-linux) as a prerequisite to this chapter (essential reading, really):
- Chapter 1, Linux System Architecture
- Chapter 2, Virtual Memory