Use 4096 as Linux page size for now

This commit is contained in:
Jeremy Soller
2018-12-26 19:57:08 -07:00
parent 7aa789575a
commit 51b093b598
+2 -1
View File
@@ -240,7 +240,8 @@ impl Pal for Sys {
}
fn getpagesize() -> c_int {
e(unsafe { syscall!(GETPAGESIZE) }) as c_int
//TODO
4096
}
fn getpgid(pid: pid_t) -> pid_t {