Am 20.03.2017 um 12:55 schrieb Jiri Slaby:
> On 03/19/2017, 01:58 PM, Michal Hocko wrote:
>> On Sat 18-03-17 05:23:12, Mike Galbraith wrote:
>>> (adds a couple CCs)
>>> On Fri, 2017-03-17 at 22:09 +0100, Christian Mauderer wrote:
>>>> I run across a problem with an application using wine on OpenSUSE 42.1.
>>>> After some search, I found out that it is a known bug and that there is
>>>> an fix available:
>>>> Basically the (backported) Dirty COW fix misses some adaptions in a
>>>> second file and that leads to problems in some very special cases. For
>>>> details please see the LKML thread with the fix:
>>>> Is there any chance that this patch will be backported to the OpenSUSE
>>>> 42.1 Kernel too? If I have seen it right, the OpenSUSE 42.2 Kernel is
>>>> also affected.
>>> Hm, it's tagged for stable, but doesn't seem to be taking wing.
>> Just for the reference, it is 8310d48b125d ("mm/huge_memory.c: respect
>> FOLL_FORCE/FOLL_COW for thp"). SLE12-SP2 doesn't have this fix either.
>> Could you push this to 3.12 stable Jiri, or should I post it there?
> Please provide a backport and send to stable@vger, it does not apply at all.
the Ubuntu people ported the patch back to their kernel. It applies
cleanly onto the openSUSE-42.1 branch of
You can find this version of the patch here:
I only tried whether it applies but not whether it would build. Would it
be useful for you if I would build a test kernel with the patch and try
it on one of my machines?
Neither that applies. And if I force that, it does not build in 3.12:
mm/huge_memory.c: In function ‘can_follow_write_pmd’:
mm/huge_memory.c:1232:56: error: implicit declaration of function
((flags & FOLL_FORCE) && (flags & FOLL_COW) &&