mem: Page sizes
notYuriy opened this issue · 3 comments
notYuriy commented
Current API to get page sizes is a mess. As a case study, what should be a correct way to determine page size for the shared memory object that can be mapped both in user and kernel space?
N00byEdge commented
On this: I'm heavily considering dropping the second arugment to page_size()
and just enforcing uniform page sizes for the entire address space.
notYuriy commented
I agree. We would need universe page sizes anyways since some memory objects could be shared between kernel and user processes
notYuriy commented
Reopening since the function for getting page sizes still requires context which should not be the case