Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/rump/net/lib/libshmif



11.03.2011, 12:26, "Antti Kantee" <pooka%netbsd.org@localhost>:
> Log Message:
> Don't assume rump kernel PAGE_SIZE and host page size are the same.

Why can they be different? I asked myself this question when I was writing
a tests for kern/44310: write to /dev/bpf truncates size_t to int.
In the end, I just used sysconf(_SC_PAGE_SIZE). If rump_sysconf doesn't
exist, should it be added?

-- 
Alex


Home | Main Index | Thread Index | Old Index