On Mon, 2020-09-14 at 20:35 +0900, Alexey A. wrote:
> may be different for GNOME with JIT'ed code
> potentially getting swapped out
How to recognize JIT'ed code? Do you mean that we shouldn't lock it?
I don't think you can protect it using your tool, as it lives in
anonymous mappings. If it is reclaimed it will be written to swap.
Said differently, that memory is executable code, but it behaves like
other process memory such as the heap or the stack.
Benjamin