Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752895AbbFIQtg (ORCPT ); Tue, 9 Jun 2015 12:49:36 -0400 Received: from mga03.intel.com ([134.134.136.65]:48818 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932708AbbFIQtO (ORCPT ); Tue, 9 Jun 2015 12:49:14 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,582,1427785200"; d="scan'208";a="708027242" Message-ID: <55771909.2020005@intel.com> Date: Tue, 09 Jun 2015 09:49:13 -0700 From: Dave Hansen User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Ingo Molnar , Mel Gorman CC: Andrew Morton , Rik van Riel , Hugh Dickins , Minchan Kim , Andi Kleen , H Peter Anvin , Linux-MM , LKML , Linus Torvalds , Peter Zijlstra , Thomas Gleixner Subject: Re: [PATCH 0/3] TLB flush multiple pages per IPI v5 References: <1433767854-24408-1-git-send-email-mgorman@suse.de> <20150608174551.GA27558@gmail.com> <20150609084739.GQ26425@suse.de> <20150609103231.GA11026@gmail.com> <20150609112055.GS26425@suse.de> <20150609124328.GA23066@gmail.com> <5577078B.2000503@intel.com> In-Reply-To: <5577078B.2000503@intel.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 851 Lines: 19 On 06/09/2015 08:34 AM, Dave Hansen wrote: > 2. We should measure flushing of ascending, adjacent virtual addresses > mapped with 4k pages since that is the normal case. Perhaps > vmalloc(16MB) or something. Now that I think about this a bit more, we really have two different patterns here: 1. flush_tlb_mm_range() style, which is contiguous virtual address flushing from an unmap-style operation. 2. Mel's new try_to_unmap_one() style, which are going to be relatively random virtual addresses. So, the "ascending adjacent" case is still interesting, but it wouldn't cover Mel's new case. -- 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/