* stable request: mm: mlock: avoid increase mm->locked_vm on mlock() when already mlock2(,MLOCK_ONFAULT)
@ 2018-11-08 10:07 Rafael David Tinoco
2018-11-08 17:25 ` Sasha Levin
2018-12-06 11:11 ` Greg KH
0 siblings, 2 replies; 4+ messages in thread
From: Rafael David Tinoco @ 2018-11-08 10:07 UTC (permalink / raw)
To: gregkh; +Cc: stable, kirill.shutemov, wei.guo.simon, akpm
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
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: stable request: mm: mlock: avoid increase mm->locked_vm on mlock() when already mlock2(,MLOCK_ONFAULT)
2018-11-08 10:07 stable request: mm: mlock: avoid increase mm->locked_vm on mlock() when already mlock2(,MLOCK_ONFAULT) Rafael David Tinoco
@ 2018-11-08 17:25 ` Sasha Levin
2018-11-29 16:32 ` Rafael David Tinoco
2018-12-06 11:11 ` Greg KH
1 sibling, 1 reply; 4+ messages in thread
From: Sasha Levin @ 2018-11-08 17:25 UTC (permalink / raw)
To: Rafael David Tinoco, linux-mm
Cc: gregkh, stable, kirill.shutemov, wei.guo.simon, akpm
+ 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@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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: stable request: mm: mlock: avoid increase mm->locked_vm on mlock() when already mlock2(,MLOCK_ONFAULT)
2018-11-08 17:25 ` Sasha Levin
@ 2018-11-29 16:32 ` Rafael David Tinoco
0 siblings, 0 replies; 4+ messages in thread
From: Rafael David Tinoco @ 2018-11-29 16:32 UTC (permalink / raw)
To: Sasha Levin, linux-mm
Cc: Rafael David Tinoco, gregkh, stable, kirill.shutemov,
wei.guo.simon, akpm
On 11/8/18 3:25 PM, Sasha Levin wrote:
> + linux-mm@
Thanks Sasha,
>
> 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@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)
>>
ping ?
Related bug: https://bugs.linaro.org/show_bug.cgi?id=4043
v4.4 only.
Thank you!
--
Rafael D. Tinoco
Linaro Kernel Validation
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: stable request: mm: mlock: avoid increase mm->locked_vm on mlock() when already mlock2(,MLOCK_ONFAULT)
2018-11-08 10:07 stable request: mm: mlock: avoid increase mm->locked_vm on mlock() when already mlock2(,MLOCK_ONFAULT) Rafael David Tinoco
2018-11-08 17:25 ` Sasha Levin
@ 2018-12-06 11:11 ` Greg KH
1 sibling, 0 replies; 4+ messages in thread
From: Greg KH @ 2018-12-06 11:11 UTC (permalink / raw)
To: Rafael David Tinoco; +Cc: stable, kirill.shutemov, wei.guo.simon, akpm
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@gmail.com>
> Date: Fri Oct 7 20:59:40 2016
Where did you get that git commit id?
It's b155b4fde5bdde9fed439cd1f5ea07173df2ed31 in Linus's tree.
Something went really odd on your side here :(
>
> 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)
I've queued this up now, thanks for letting me know.
greg k-h
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-12-06 11:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-08 10:07 stable request: mm: mlock: avoid increase mm->locked_vm on mlock() when already mlock2(,MLOCK_ONFAULT) Rafael David Tinoco
2018-11-08 17:25 ` Sasha Levin
2018-11-29 16:32 ` Rafael David Tinoco
2018-12-06 11:11 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox