Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753924AbaFJVVJ (ORCPT ); Tue, 10 Jun 2014 17:21:09 -0400 Received: from qmta09.emeryville.ca.mail.comcast.net ([76.96.30.96]:50284 "EHLO qmta09.emeryville.ca.mail.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753665AbaFJVVI (ORCPT ); Tue, 10 Jun 2014 17:21:08 -0400 Date: Tue, 10 Jun 2014 16:21:04 -0500 (CDT) From: Christoph Lameter To: "Kirill A. Shutemov" cc: "Kirill A. Shutemov" , Andrew Morton , Andrea Arcangeli , Dave Hansen , Hugh Dickins , Mel Gorman , Rik van Riel , Vlastimil Babka , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH, RFC 00/10] THP refcounting redesign In-Reply-To: <20140610204640.GA9594@node.dhcp.inet.fi> Message-ID: References: <1402329861-7037-1-git-send-email-kirill.shutemov@linux.intel.com> <20140610204640.GA9594@node.dhcp.inet.fi> Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 10 Jun 2014, Kirill A. Shutemov wrote: > Could you elaborate here? The page migration scheme works by locking and also putting in a fake pte to ensure that any accesses cause a page fault which will then block. In the THP case we would need a fake pmd. That allows effectively to force all accesses to the page to stop. Then you do the page migration (and you could do the splitting etc) and then replace the fake pmd/pte with real ones. See the page migration code. > Agreed. The patchset drops tail page refcounting. Great. Step in the right diretion. -- 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/