From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f49.google.com (mail-wg0-f49.google.com [74.125.82.49]) by kanga.kvack.org (Postfix) with ESMTP id 192F66B0035 for ; Thu, 14 Aug 2014 03:16:23 -0400 (EDT) Received: by mail-wg0-f49.google.com with SMTP id k14so677087wgh.8 for ; Thu, 14 Aug 2014 00:16:22 -0700 (PDT) Received: from e06smtp13.uk.ibm.com (e06smtp13.uk.ibm.com. [195.75.94.109]) by mx.google.com with ESMTPS id g18si4870554wjq.139.2014.08.14.00.16.20 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 14 Aug 2014 00:16:21 -0700 (PDT) Received: from /spool/local by e06smtp13.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 14 Aug 2014 08:16:20 +0100 Received: from b06cxnps4074.portsmouth.uk.ibm.com (d06relay11.portsmouth.uk.ibm.com [9.149.109.196]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id DB3BC2190046 for ; Thu, 14 Aug 2014 08:16:01 +0100 (BST) Received: from d06av04.portsmouth.uk.ibm.com (d06av04.portsmouth.uk.ibm.com [9.149.37.216]) by b06cxnps4074.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id s7E7GIsT32309450 for ; Thu, 14 Aug 2014 07:16:18 GMT Received: from d06av04.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av04.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s7E7GFKQ005654 for ; Thu, 14 Aug 2014 01:16:18 -0600 Date: Thu, 14 Aug 2014 09:16:14 +0200 From: Martin Schwidefsky Subject: Re: [PATCH v14 5/8] s390: add pmd_[dirty|mkclean] for THP Message-ID: <20140814091614.4a0d5178@mschwide> In-Reply-To: <1407981212-17818-6-git-send-email-minchan@kernel.org> References: <1407981212-17818-1-git-send-email-minchan@kernel.org> <1407981212-17818-6-git-send-email-minchan@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Minchan Kim Cc: Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Michael Kerrisk , Linux API , Hugh Dickins , Johannes Weiner , Rik van Riel , KOSAKI Motohiro , Mel Gorman , Jason Evans , Zhang Yanfei , "Kirill A. Shutemov" , Heiko Carstens , Dominik Dingel , Christian Borntraeger , linux-s390@vger.kernel.org, Gerald Schaefer On Thu, 14 Aug 2014 10:53:29 +0900 Minchan Kim wrote: > MADV_FREE needs pmd_dirty and pmd_mkclean for detecting recent > overwrite of the contents since MADV_FREE syscall is called for > THP page but for s390 pmds only referenced bit is available > because there is no free bit left in the pmd entry for the > software dirty bit so this patch adds dumb pmd_dirty which > returns always true by suggesting by Martin. > > They finally find a solution in future. > http://marc.info/?l=linux-api&m=140440328820808&w=2 The solution is already there, see git commit 152125b7a882df36. You can drop this patch. -- blue skies, Martin. "Reality continues to ruin my life." - Calvin. -- 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/ . Don't email: email@kvack.org