You could override free with your own allocator that makes freeing null run the syscalls to wipe out the TLB cache. Because reasons.