druntime's PAGESIZE
    Mathias LANG 
    geod24 at gmail.com
       
    Sun Nov  1 12:51:25 UTC 2020
    
    
  
On Saturday, 31 October 2020 at 19:06:33 UTC, Denis Feklushkin 
wrote:
> Hi!
>
> Looks like some of these values are redundant:
>
> src/rt/lifetime.d
> 31:        PAGESIZE = 4096,
>
> src/gc/pooltable.d
> 181:    enum PAGESIZE = 4096;
>
> src/gc/impl/conservative/gc.d
> 1133:{   PAGESIZE =    4096,
>
> This is correct? Which ones are related to each other? Which 
> ones can be freely changed so that nothing (silently) breaks?
>
> On a small system these values seems too high.
I should probably come back and finalize 
https://github.com/dlang/druntime/pull/3074 then :)
    
    
More information about the Digitalmars-d
mailing list