Re:Virtual Memory Tricks
by andrewmu on Tuesday November 07, 2017 @06:55AM
(#15642620)
One use is tagged pointers, using the top unused address bits for e.g. type information (https://en.wikipedia.org/wiki/Tagged_pointer)
[ Parent
| on HN ]
Re:Virtual Memory Tricks
by nemanjaboric on Tuesday November 07, 2017 @09:22AM
(#15643547)
We're using this technique to stuff the file descriptor with the accompanying object for the epoll registration, so one can check if the (reusable) object was reused for something else while registered with other file descriptor in the epoll: https://github.com/sociomantic-tsunami/ocean/blob/ee4f78d527...