Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp3472304imm; Sun, 1 Jul 2018 22:54:46 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd/9GFb4R9UdZO/q5W44roH+KpRWfuN/67AiNgBcU2WGGuv65HeXuFpEro7mtIoq2r/rsKa X-Received: by 2002:a17:902:ac83:: with SMTP id h3-v6mr16856883plr.17.1530510886550; Sun, 01 Jul 2018 22:54:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530510886; cv=none; d=google.com; s=arc-20160816; b=A99JGqA20bkVtMIcpgvK2XDvM2/zLVsxQRKwmumT+ReUq3RXfl0fwBd3Zy1l5m9hu5 qZUpPRuNr1r4cIh752hBTaegh8lBz8e1Hj3Y02zCLvF0hBOBqGyVVKOoQ+/vQDvsvCeo RSg7D7UhwVH3O7KZYpGyPUBFZtvwQIIY0UB3RvjD3L4iLwk66N5rSsjlS2vnjnmc/cDN BkuhBryzKvYOvyghhxR/Yn/MMgrcSFrOO9KQkuACc/mtyHqHbLzZcq5LXPAx1MkORBF3 glRer++unIS4Vl/64Arsd618nur6dgoNtr04mTYOZZ4viUJ6U7YAfDWlUQvEmAkS3VUC R6gQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from :arc-authentication-results; bh=x6+lhVijnYhuNhBpX5C/7OuST5jd7zOS7Yvm/TLJPLY=; b=WWzkVWsDvSPG+U8ntwY/HTqypePqD0Xx2TG96sSM9njaOvK68dYN9gbmMg8udr/o9A cOlJgbsVhelYT24rnfjj8lXGNcKhpM509aIacao2NDas7QfFq8lePggHqPfoUXUgM20E 3shFbk27XrnUjxSiLUVEXRbgMSSIZ57WiCAp8nSkp4J3baMNXpLGBRniOtkY3QHoMGNI rMDyMUA60D0nVm58ktKB8iffjyPgtdYDV4fuvysi53l2aBG47xj+CLLxaDrveiG1AFx2 Q0F6NfQgJbVWpuWQ8Ni4MfA+l+kHjy6nmzhJ29IAj8bOIMOJMTdm0BJI97xgBdCM7QAn KhXQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e1-v6si5728626pgt.132.2018.07.01.22.54.32; Sun, 01 Jul 2018 22:54:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753336AbeGBFT4 (ORCPT + 99 others); Mon, 2 Jul 2018 01:19:56 -0400 Received: from mga18.intel.com ([134.134.136.126]:62491 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753325AbeGBFTz (ORCPT ); Mon, 2 Jul 2018 01:19:55 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Jul 2018 22:19:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,298,1526367600"; d="scan'208";a="63709690" Received: from yhuang-dev.sh.intel.com (HELO yhuang-dev) ([10.239.13.118]) by orsmga003.jf.intel.com with ESMTP; 01 Jul 2018 22:19:51 -0700 From: "Huang\, Ying" To: Matthew Wilcox Cc: Andrew Morton , , , "Kirill A. Shutemov" , Andrea Arcangeli , Michal Hocko , Johannes Weiner , Shaohua Li , Hugh Dickins , Minchan Kim , Rik van Riel , Dave Hansen , Naoya Horiguchi , Zi Yan , Daniel Jordan Subject: Re: [PATCH -mm -v4 03/21] mm, THP, swap: Support PMD swap mapping in swap_duplicate() References: <20180622035151.6676-1-ying.huang@intel.com> <20180622035151.6676-4-ying.huang@intel.com> <20180629060412.GI7646@bombadil.infradead.org> Date: Mon, 02 Jul 2018 13:19:51 +0800 In-Reply-To: <20180629060412.GI7646@bombadil.infradead.org> (Matthew Wilcox's message of "Thu, 28 Jun 2018 23:04:12 -0700") Message-ID: <87k1qexlhk.fsf@yhuang-dev.intel.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=ascii Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Matthew Wilcox writes: > On Fri, Jun 22, 2018 at 11:51:33AM +0800, Huang, Ying wrote: >> +++ b/mm/swap_state.c >> @@ -433,7 +433,7 @@ struct page *__read_swap_cache_async(swp_entry_t entry, gfp_t gfp_mask, >> /* >> * Swap entry may have been freed since our caller observed it. >> */ >> - err = swapcache_prepare(entry); >> + err = swapcache_prepare(entry, false); >> if (err == -EEXIST) { >> radix_tree_preload_end(); >> /* > > This commit should be just a textual conflict. Yes. Will check it. Best Regards, Huang, Ying