hse icon indicating copy to clipboard operation
hse copied to clipboard

Retrieve PAGE_SIZE from getconf

Open tristan957 opened this issue 3 years ago • 2 comments

Emit a warning if PAGE_SIZE isn't 4096 since we don't test on platforms which don't have a PAGE_SIZE equal to 4096.

Signed-off-by: Tristan Partin [email protected]

tristan957 avatar Apr 22 '22 17:04 tristan957

Using getconf is not cross-build friendly. I am wondering if getconf is distributed for cross builds at all.

tristan957 avatar Apr 22 '22 18:04 tristan957

I think we should probably expose build options for providing PAGE_SIZE and LEVEL1_DCACHE_LINESIZE. Otherwise we can't support cross builds.

tristan957 avatar Apr 22 '22 19:04 tristan957

Don't really pay attention to this PR yet, but sure I will change to UL

tristan957 avatar Sep 09 '22 21:09 tristan957