Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The page_size() returns unsigned int value that is after "bitwise not" is promoted to unsigned long (msg->arg.pagefault.address) value. Sinc e the value is unsigned promotion is done with 0 MSB that results in lost of MSB pagefault address bits. Cast page_size to unsigned long first to avoid such situation. Signed-off-by: Vladislav Khmelevsky <[email protected]>
- Loading branch information