From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753443Ab1ARUe0 (ORCPT ); Tue, 18 Jan 2011 15:34:26 -0500 Received: from mx1.redhat.com ([209.132.183.28]:45930 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752780Ab1ARUeZ (ORCPT ); Tue, 18 Jan 2011 15:34:25 -0500 Date: Tue, 18 Jan 2011 21:32:37 +0100 From: Andrea Arcangeli To: Michal Simek Cc: linux-mm@kvack.org, Linus Torvalds , Andrew Morton , linux-kernel@vger.kernel.org, Marcelo Tosatti , Adam Litke , Avi Kivity , Hugh Dickins , Rik van Riel , Mel Gorman , Dave Hansen , Benjamin Herrenschmidt , Ingo Molnar , Mike Travis , KAMEZAWA Hiroyuki , Christoph Lameter , Chris Wright , bpicco@redhat.com, KOSAKI Motohiro , Balbir Singh , "Michael S. Tsirkin" , Peter Zijlstra , Johannes Weiner , Daisuke Nishimura , Chris Mason , Borislav Petkov Subject: Re: [PATCH 13 of 66] export maybe_mkwrite Message-ID: <20110118203237.GF9506@random.random> References: <15324c9c30081da3a740.1288798068@v2.random> <4D344EAF.1080401@petalogix.com> <20110117143345.GQ9506@random.random> <4D35A3D6.4070801@monstr.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D35A3D6.4070801@monstr.eu> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 18, 2011 at 03:29:42PM +0100, Michal Simek wrote: > Of course: Look for example at this page: > http://www.monstr.eu/wiki/doku.php?id=log:2011-01-18_11_51_49#linux_next Ok now I see, the problem is the lack of pte_mkwrite with MMU=n. So either we apply your patch or we move the maybe_mkwrite at the top of huge_mm.h (before #ifdef CONFIG_TRANSPARENT_HUGEPAGE), it's up to you... From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail202.messagelabs.com (mail202.messagelabs.com [216.82.254.227]) by kanga.kvack.org (Postfix) with SMTP id 7FD716B0092 for ; Tue, 18 Jan 2011 15:33:42 -0500 (EST) Date: Tue, 18 Jan 2011 21:32:37 +0100 From: Andrea Arcangeli Subject: Re: [PATCH 13 of 66] export maybe_mkwrite Message-ID: <20110118203237.GF9506@random.random> References: <15324c9c30081da3a740.1288798068@v2.random> <4D344EAF.1080401@petalogix.com> <20110117143345.GQ9506@random.random> <4D35A3D6.4070801@monstr.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D35A3D6.4070801@monstr.eu> Sender: owner-linux-mm@kvack.org To: Michal Simek Cc: linux-mm@kvack.org, Linus Torvalds , Andrew Morton , linux-kernel@vger.kernel.org, Marcelo Tosatti , Adam Litke , Avi Kivity , Hugh Dickins , Rik van Riel , Mel Gorman , Dave Hansen , Benjamin Herrenschmidt , Ingo Molnar , Mike Travis , KAMEZAWA Hiroyuki , Christoph Lameter , Chris Wright , bpicco@redhat.com, KOSAKI Motohiro , Balbir Singh , "Michael S. Tsirkin" , Peter Zijlstra , Johannes Weiner , Daisuke Nishimura , Chris Mason , Borislav Petkov List-ID: On Tue, Jan 18, 2011 at 03:29:42PM +0100, Michal Simek wrote: > Of course: Look for example at this page: > http://www.monstr.eu/wiki/doku.php?id=log:2011-01-18_11_51_49#linux_next Ok now I see, the problem is the lack of pte_mkwrite with MMU=n. So either we apply your patch or we move the maybe_mkwrite at the top of huge_mm.h (before #ifdef CONFIG_TRANSPARENT_HUGEPAGE), it's up to you... -- 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 policy in Canada: sign http://dissolvethecrtc.ca/ Don't email: email@kvack.org