@a2_4am Cache invalidation is famously one of the two unsolved problems of computer science!
I don't think I understand the RTS case you're describing. I had assumed that RTS would be how far-called exported subroutines normally transfer control back to the return trampoline, whose entry point would have been pushed onto the return stack during the far-call process. But it sounds like that isn't the mechanism?