On Thu, 2016-08-18 at 18:17 +0200, Peter Meerwald-Stadler wrote: > instead of calling sysconf() directly, add function pa_page_size() > which uses the guestimate 4096 in case sysconf(_SC_PAGE_SIZE) fails > > using PA_ONCE to only evaluate sysconf() once > > the name macro.h/.c is a bit unfortunate when adding functions I'd prefer removing the PA_PAGE_SIZE macro and using pa_page_size() directly. The function can be added to core-util.[ch]. --Â Tanu