Messages in this thread | | | Date | Fri, 7 Jul 2017 12:06:57 -0500 (CDT) | From | Christoph Lameter <> | Subject | Re: [PATCH v3] mm: Add SLUB free list pointer obfuscation |
| |
On Fri, 7 Jul 2017, Kees Cook wrote:
> If we also added a >0 offset, that would make things even less > deterministic. Though I wonder if it would make the performance impact > higher. The XOR patch right now is very light.
There would be barely any performance impact if you keep the offset within a cacheline since most objects start on a cacheline boundary. The processor has to fetch the cacheline anyways.
| |