From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752625AbcBLSmM (ORCPT ); Fri, 12 Feb 2016 13:42:12 -0500 Received: from mga09.intel.com ([134.134.136.24]:46333 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751361AbcBLSmK (ORCPT ); Fri, 12 Feb 2016 13:42:10 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,436,1449561600"; d="scan'208";a="910915689" Subject: Re: [PATCHv2 17/28] thp: skip file huge pmd on copy_huge_pmd() To: "Kirill A. Shutemov" , Hugh Dickins , Andrea Arcangeli , Andrew Morton References: <1455200516-132137-1-git-send-email-kirill.shutemov@linux.intel.com> <1455200516-132137-18-git-send-email-kirill.shutemov@linux.intel.com> Cc: Vlastimil Babka , Christoph Lameter , Naoya Horiguchi , Jerome Marchand , Yang Shi , Sasha Levin , linux-kernel@vger.kernel.org, linux-mm@kvack.org From: Dave Hansen Message-ID: <56BE2781.7060808@intel.com> Date: Fri, 12 Feb 2016 10:42:09 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <1455200516-132137-18-git-send-email-kirill.shutemov@linux.intel.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/11/2016 06:21 AM, Kirill A. Shutemov wrote: > File pmds can be safely skip on copy_huge_pmd(), we can re-fault them > later. COW for file mappings handled on pte level. Is this different from 4k pages? I figured we might skip copying file-backed ptes on fork, but I couldn't find the code.