I am working on a Linux module for IA64. My current problem is that the driver uses the PAGE_SIZE and PAGE_SHIFT macros for dma page allocation. The problem I am having is tha
One way to find the page size is to obtain it from smaps for a process.
For example:
cd /proc/1 grep -i pagesize smaps KernelPageSize: 4 kB MMUPageSize: 4 kB