Return-Path: Received: from mx2.suse.de ([195.135.220.15]:43875 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752485AbdDJQOD (ORCPT ); Mon, 10 Apr 2017 12:14:03 -0400 Date: Mon, 10 Apr 2017 18:13:59 +0200 From: Michal Hocko To: Greg KH Cc: Ben Hutchings , keno@juliacomputing.com, akpm@linux-foundation.org, gthelen@google.com, hughd@google.com, keescook@chromium.org, kirill.shutemov@linux.intel.com, luto@kernel.org, npiggin@gmail.com, oleg@redhat.com, torvalds@linux-foundation.org, w@1wt.eu, stable@vger.kernel.org, stable-commits@vger.kernel.org Subject: Re: Patch "mm/huge_memory.c: respect FOLL_FORCE/FOLL_COW for thp" has been added to the 4.4-stable tree Message-ID: <20170410161359.GL4618@dhcp22.suse.cz> References: <14918369578070@kroah.com> <1491839297.2409.51.camel@decadent.org.uk> <20170410160451.GA5425@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20170410160451.GA5425@kroah.com> Sender: stable-owner@vger.kernel.org List-ID: On Mon 10-04-17 18:04:51, Greg KH wrote: > On Mon, Apr 10, 2017 at 04:48:17PM +0100, Ben Hutchings wrote: > > On Mon, 2017-04-10 at 17:09 +0200, gregkh@linuxfoundation.org wrote: > > > This is a note to let you know that I've just added the patch titled > > > > > > ����mm/huge_memory.c: respect FOLL_FORCE/FOLL_COW for thp > > > > > > to the 4.4-stable tree which can be found at: > > > ����http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary > > > > > > The filename of the patch is: > > > �����mm-huge_memory.c-respect-foll_force-foll_cow-for-thp.patch > > > and it can be found in the queue-4.4 subdirectory. > > > > > > If you, or anyone else, feels it should not be added to the stable tree, > > > please let know about it. > > > > > > > > > From 303681d5d538d81b5e23754515202b5b9febd2e9 Mon Sep 17 00:00:00 2001 > > > From: Keno Fischer > > > Date: Tue, 24 Jan 2017 15:17:48 -0800 > > > Subject: mm/huge_memory.c: respect FOLL_FORCE/FOLL_COW for thp > > > > > > From: Keno Fischer > > > > > > commit 8310d48b125d19fcd9521d83b8293e63eb1646aa upstream. > > [...] > > > �- Drop change to follow_devmap_pmd() > > > �- pmd_dirty() is not available; check the page flags as in older > > > ���backports of can_follow_write_pte() > > > �- Adjust context] > > [...] > > > > Aside from the fact that I got this backport wrong, I don't think you > > need the main change here. In 4.4, all arches that define > > CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE also define pmd_dirty(). > > Hm, ok, but Keno said people are still hitting this issue on 4.4-stable. > > So, what should I do? I'll go drop this from my queue for now, but as I > don't know what to do to test this, I'm at a loss... The changelog of the said patch contains the reproducer... -- Michal Hocko SUSE Labs