From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail203.messagelabs.com (mail203.messagelabs.com [216.82.254.243]) by kanga.kvack.org (Postfix) with SMTP id 4DADE6B0033 for ; Mon, 17 Oct 2011 10:42:28 -0400 (EDT) From: Andrea Arcangeli Subject: thp: gup_fast s390/sparc tail refcounting [was Re: [PATCH] thp: tail page refcounting fix #6] Date: Mon, 17 Oct 2011 16:41:54 +0200 Message-Id: <1318862517-7042-1-git-send-email-aarcange@redhat.com> In-Reply-To: <1316793432.9084.47.camel@twins> References: <1316793432.9084.47.camel@twins> Sender: owner-linux-mm@kvack.org List-ID: To: Peter Zijlstra Cc: Andrew Morton , Minchan Kim , Michel Lespinasse , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Hugh Dickins , Johannes Weiner , Rik van Riel , Mel Gorman , KOSAKI Motohiro , Shaohua Li , "Paul E. McKenney" , Benjamin Herrenschmidt Hello everyone, These last three patches are incremental with the ones sent yesterday (that in turn are incremental with the hugepage mapcount tail refcounting race fix in -mm). These should complete the gup_fast arch updates to support the tail page mapcount refcounting. sh is the only other one supporting gup_fast and hugetlbfs, but it looked ok already so it requires no changes (it uses get_page). The arch requiring updates can easily be found by searching: find arch/ -name hugetlbpage.c -or -name gup.c I'm still uncertain why all these page_cache_get/add_speculative in various gup.c and the pte change checks are needed there but I didn't alter those, so if it worked before it'll still work the same. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org