Ok so this means that the adresses used by the kernel don't go through the paging mechanism (PGD,PMD,PTE) ?
They do go through the paging mechanism, all memory addresses do that when the paging bit is set. But the kernel sets up the pages so that the memory for the kernel is contiguous, hence you can use those macros. But the user space addresses can be non contiguous.
/Michael
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/