Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752676AbaB1AUE (ORCPT ); Thu, 27 Feb 2014 19:20:04 -0500 Received: from mta-out.inet.fi ([195.156.147.13]:33302 "EHLO kirsi1.inet.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751163AbaB1AUC (ORCPT ); Thu, 27 Feb 2014 19:20:02 -0500 Date: Fri, 28 Feb 2014 02:18:58 +0200 From: "Kirill A. Shutemov" To: Dave Hansen Cc: Linus Torvalds , "Kirill A. Shutemov" , Andrew Morton , Mel Gorman , Rik van Riel , Andi Kleen , Matthew Wilcox , Alexander Viro , Dave Chinner , Ning Qu , linux-mm , linux-fsdevel , Linux Kernel Mailing List , anton@samba.org, Paul Mackerras , Benjamin Herrenschmidt Subject: Re: [PATCHv3 1/2] mm: introduce vm_ops->map_pages() Message-ID: <20140228001858.GC8034@node.dhcp.inet.fi> References: <1393530827-25450-1-git-send-email-kirill.shutemov@linux.intel.com> <1393530827-25450-2-git-send-email-kirill.shutemov@linux.intel.com> <530FB55F.2070106@linux.intel.com> <530FBD8F.7090304@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <530FBD8F.7090304@linux.intel.com> User-Agent: Mutt/1.5.22.1-rc1 (2013-10-16) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 27, 2014 at 02:34:55PM -0800, Dave Hansen wrote: > Kirill's git test suite runs did show that it _can_ hurt in some cases. And see last use-case for how much it can hurt. :) It shouldn't differs much for the same *number* of pages between [u]archs unless setup of the pte is significantly more expensive or page fault is faster. But of course, I can move FAULT_AROUND_PAGES to arch/x86/ and let architecture mantainers to decide if they want the feature. ;) -- Kirill A. Shutemov -- 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/