I am working on a 64 bits x86 Linux computer.
On this architecture, each process has its own 64bits address memory space.
Memory blocks are mapped to physical memory (or swap) by MMU component.
Now, i am wondering how works Kernel memory. If i write a linux kernel module with this code:
char * address;
address = 0x.....;
*address = 0x42;
Where this 0x42 will be written ? Directly in physical memory ?
Or does linux kernel as a 64 bits memory space, like any user and process ?
Thanks