Re: FAILED: patch "[PATCH] vm_is_stack: use for_each_thread() rather then buggy" failed to apply to 3.10-stable tree

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

 



Cc: Zhang Zhen <zhenzhang.zhang@xxxxxxxxxx>

On 2014/9/4 7:29, Greg KH wrote:
> On Wed, Sep 03, 2014 at 04:25:30PM -0700, Greg KH wrote:
>> On Wed, Sep 03, 2014 at 04:01:22PM -0700, David Rientjes wrote:
>>> On Wed, 3 Sep 2014, gregkh@xxxxxxxxxxxxxxxxxxx wrote:
>>>
>>>>
>>>> The patch below does not apply to the 3.10-stable tree.
>>>
>>> It applies fine to linux-3.10.53.
>>
>> Well, yes, but it breaks the build :)
>>
>>>> If someone wants it applied there, or to any other stable or longterm
>>>> tree, then please email the backport, including the original git commit
>>>> id to <stable@xxxxxxxxxxxxxxx>.
>>>>
>>>
>>> I'm assuming that this is a report that the build fails when it's applied, 
>>> although that's not clear.  It requires commit 
>>> 0c740d0afc3b ("introduce for_each_thread() to replace the buggy 
>>> while_each_thread()") to build.
>>
>> Ok, I'll queue that up before this one and see if that works better...
> 
> Nope, that one doesn't apply cleanly, and the backport wasn't "obvious"
> so I'll have to keep this one out of 3.10-stable for now.  Unless
> someone wants to provide me a backport of 0c740d0afc3b that works?
> 

Coincidently we're backporting another bugfix that needs the same prerequisites
as this one does.

You can cherry-pick those upstream commits:

80628ca06c5d  kernel/fork.c:copy_process(): unify CLONE_THREAD-or-thread_group_leader code
0c740d0afc3b  introduce for_each_thread() to replace the buggy while_each_thread()
1da4db0cd5c8  oom_kill: change oom_kill.c to use for_each_thread()
4449a51a7c28  vm_is_stack: use for_each_thread() rather then buggy while_each_thread()

The first two commits are prerequisites, and 1da4db0cd5c8 fixes a bug
we encountered.

Credit goes to Zhang Zhen.

--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




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