The offset is not expressed in page size units, but 4096-byte units.
From the man page:
The mmap2() system call provides the same interface as mmap(2),
except that the final argument specifies the offset into the file
in 4096-byte units (instead of bytes, as is done by mmap(2)).
The offset is not expressed in page size units, but 4096-byte units.
From the man page:
The mmap2() system call provides the same interface as mmap(2),
except that the final argument specifies the offset into the file
in 4096-byte units (instead of bytes, as is done by mmap(2)).