This solution still needs a way for the kernel to let the process know when it's memory was relinquished.
POSIX_FADV_VOLATILE as a corresponding call for this task and it would be better overall if this lock/unlock||unPOSIX_FADV_VOLATILE/POSIX_FADV_VOLATILE didn't have many options.