tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: PAX mprotect and JIT



> Aside: Do we need any additional memory barriers to synchronize
> writing to code with executing the code in memory?

On some CPU architectures you do (eg, the Super-H used by the
Dreamcast, at least when the D$ is configured write-back, and probably
even if it's configured WT if you don't flush the I$).

Well, you need something.  I'm not sure how fair "memory barriers" is
as a term for cache pushes/flushes.

/~\ The ASCII				  Mouse
\ / Ribbon Campaign
 X  Against HTML		mouse%rodents-montreal.org@localhost
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B


Home | Main Index | Thread Index | Old Index