Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753961AbbGaOpd (ORCPT ); Fri, 31 Jul 2015 10:45:33 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57641 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752092AbbGaOpc (ORCPT ); Fri, 31 Jul 2015 10:45:32 -0400 Message-ID: <55BB8A00.4070509@redhat.com> Date: Fri, 31 Jul 2015 16:45:20 +0200 From: Jerome Marchand User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: "Kirill A. Shutemov" , Andrew Morton , Andrea Arcangeli , Hugh Dickins CC: Dave Hansen , Mel Gorman , Rik van Riel , Vlastimil Babka , Christoph Lameter , Naoya Horiguchi , Steve Capper , "Aneesh Kumar K.V" , Johannes Weiner , Michal Hocko , Sasha Levin , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCHv9 02/36] rmap: add argument to charge compound page References: <1437402069-105900-1-git-send-email-kirill.shutemov@linux.intel.com> <1437402069-105900-3-git-send-email-kirill.shutemov@linux.intel.com> In-Reply-To: <1437402069-105900-3-git-send-email-kirill.shutemov@linux.intel.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="mM5Rd0JOMFwAQebSdxtu0nR9AUuWk12Qc" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2308 Lines: 60 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --mM5Rd0JOMFwAQebSdxtu0nR9AUuWk12Qc Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 07/20/2015 04:20 PM, Kirill A. Shutemov wrote: > We're going to allow mapping of individual 4k pages of THP compound > page. It means we cannot rely on PageTransHuge() check to decide if > map/unmap small page or THP. >=20 > The patch adds new argument to rmap functions to indicate whether we wa= nt > to operate on whole compound page or only the small page. >=20 > Signed-off-by: Kirill A. Shutemov > Tested-by: Sasha Levin > Tested-by: Aneesh Kumar K.V > Acked-by: Vlastimil Babka Acked-by: Jerome Marchand > --- > include/linux/rmap.h | 12 +++++++++--- > kernel/events/uprobes.c | 4 ++-- > mm/huge_memory.c | 16 ++++++++-------- > mm/hugetlb.c | 4 ++-- > mm/ksm.c | 4 ++-- > mm/memory.c | 14 +++++++------- > mm/migrate.c | 8 ++++---- > mm/rmap.c | 48 +++++++++++++++++++++++++++++++----------= ------- > mm/swapfile.c | 4 ++-- > mm/userfaultfd.c | 2 +- > 10 files changed, 68 insertions(+), 48 deletions(-) --mM5Rd0JOMFwAQebSdxtu0nR9AUuWk12Qc Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJVu4oFAAoJEHTzHJCtsuoCfqUH/ip6+HMzOwxmX5vsXDY3PKzL krZNDHpXA3m1NlbxiApfNeAu8raV33MQx4b4IJHKL7Q+8cnTSjtTp7LwqBCqGhLx ufi2ORxU6Xo1ogISd6A2JCyiSlKfYzBAAqEu53peFdEOWE/1Wr4UPZpUMPHelipm c6QedVQ5eqRjpxWkcSun5hp+5AKUGwkNQC92qNCyV5ZKTe2ogDfSJPaBLy96Q2T8 kyJwzyOXWzAE1onAJY+q3jaKkh0xI81kvEZKvAXQ2tVrRqCP4LP2WOqCJhZAbGE4 ajDXMDBosUTzOfQZr+LTK3SqVKu5HJ/UHo9PgtEtVMF8TX882XimpXwgOCsj1PE= =9Dxr -----END PGP SIGNATURE----- --mM5Rd0JOMFwAQebSdxtu0nR9AUuWk12Qc-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/