Re: stable request: mm: mlock: avoid increase mm->locked_vm on mlock() when already mlock2(,MLOCK_ONFAULT)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



+ linux-mm@

This is actually upstream commit
b155b4fde5bdde9fed439cd1f5ea07173df2ed31.

On Thu, Nov 08, 2018 at 08:07:35AM -0200, Rafael David Tinoco wrote:
Hello Greg,

Could you please consider backporting to v4.4 the following commit:

commit b5b5b6fe643391209b08528bef410e0cf299b826
Author: Simon Guo <wei.guo.simon@xxxxxxxxx>
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



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux