A separate GC idea - multiple D GCs

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Sun Jan 23 12:30:03 UTC 2022


On Saturday, 22 January 2022 at 21:45:36 UTC, Elronnd wrote:
> On Saturday, 22 January 2022 at 19:43:33 UTC, Ola Fosheim 
> Grøstad wrote:
>> If you change the TLB, then affected address ranges should in 
>> general be flushed although maybe this is too pessimistic in 
>> the case of a fork.
>
> I assume you would only lose TLB, not cache.

I wouldn't make any assumptions, what I get from a quick Google 
search fits with what I've read on this topic before: on ARM a 
TLB flush implies a cache flush, and 
[tldp.org](https://tldp.org/LDP/khg/HyperNews/get/memory/flush.html) describes the pattern for Linux as: flush cache, modify, flush TLB.




More information about the Digitalmars-d mailing list