Hello Greg,
Could you please consider backporting to v4.4 the following commit:
commit b5b5b6fe643391209b08528bef410e0cf299b826 Author: Simon Guo wei.guo.simon@gmail.com Date: Fri Oct 7 20:59:40 2016
mm: mlock: avoid increase mm->locked_vm on mlock() when already mlock2(,MLOCK_ONFAULT)
It seems to be a trivial fix for:
https://bugs.linaro.org/show_bug.cgi?id=4043 (mlock203.c LTP test failing on v4.4)
Thanks in advance, -- Rafael D. Tinoco Linaro Kernel Validation Team