From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by ozlabs.org (Postfix) with ESMTP id EC3522C0096 for ; Fri, 17 Aug 2012 04:30:11 +1000 (EST) Date: Thu, 16 Aug 2012 20:29:44 +0200 From: Andrea Arcangeli To: "Kirill A. Shutemov" Subject: Re: [PATCH v3 6/7] mm: make clear_huge_page cache clear only around the fault address Message-ID: <20120816182944.GN11188@redhat.com> References: <1345130154-9602-1-git-send-email-kirill.shutemov@linux.intel.com> <1345130154-9602-7-git-send-email-kirill.shutemov@linux.intel.com> <20120816161647.GM11188@redhat.com> <20120816164356.GA30106@shutemov.name> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20120816164356.GA30106@shutemov.name> Cc: linux-mips@linux-mips.org, Andi Kleen , Alex Shi , Robert Richter , linuxppc-dev@lists.ozlabs.org, x86@kernel.org, Hugh Dickins , linux-kernel@vger.kernel.org, Jan Beulich , Andy Lutomirski , Johannes Weiner , linux-mm@kvack.org, linux-sh@vger.kernel.org, Ingo Molnar , Mel Gorman , "H. Peter Anvin" , sparclinux@vger.kernel.org, Thomas Gleixner , Tim Chen , Andrew Morton , KAMEZAWA Hiroyuki List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, Aug 16, 2012 at 07:43:56PM +0300, Kirill A. Shutemov wrote: > Hm.. I think with static_key we can avoid cache overhead here. I'll try. Could you elaborate on the static_key? Is it some sort of self modifying code? > Thanks, for review. Could you take a look at huge zero page patchset? ;) I've noticed that too, nice :). I'm checking some detail on the wrprotect fault behavior but I'll comment there.