[igt-dev] [igt PATCH v2 1/1] lib: Incrementally mlock()

Ashutosh Dixit ashutosh.dixit at intel.com
Fri Feb 22 16:12:34 UTC 2019


On Thu, Feb 21 2019 at 07:03:57 PM, Caz Yokoyama <caz.yokoyama at intel.com> wrote:
>  	__igt_waitchildren();
> -	igt_assert(!mlock(can_mlock, *can_mlock));

This is also wrong. The parent process needs to lock the memory for the
calculation of the amount of locked memory to be correct. Also explains
why this tests runs for so long with this patch.


More information about the igt-dev mailing list