From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx120.postini.com [74.125.245.120]) by kanga.kvack.org (Postfix) with SMTP id CCDCA6B004D for ; Tue, 8 Jan 2013 00:03:49 -0500 (EST) Message-ID: <50EBA8AB.2060003@zytor.com> Date: Mon, 07 Jan 2013 21:03:39 -0800 From: "H. Peter Anvin" MIME-Version: 1.0 Subject: Re: [RFC]x86: clearing access bit don't flush tlb References: <20130107081213.GA21779@kernel.org> <50EAE66B.1020804@redhat.com> <50EB4CB9.9010104@zytor.com> <20130108045519.GB2459@kernel.org> In-Reply-To: <20130108045519.GB2459@kernel.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Shaohua Li Cc: Rik van Riel , linux-mm@kvack.org, linux-kernel@vger.kernel.org, akpm@linux-foundation.org, mingo@redhat.com, hughd@google.com On 01/07/2013 08:55 PM, Shaohua Li wrote: > > I searched a little bit, the change (doing TLB flush to clear access bit) is > made between 2.6.7 - 2.6.8, I can't find the changelog, but I found a patch: > http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.7-rc2/2.6.7-rc2-mm2/broken-out/mm-flush-tlb-when-clearing-young.patch > > The changelog declaims this is for arm/ppc/ppc64. > Not really. It says that those have stumbled over it already. It is true in general that this change will make very frequently used pages (which stick in the TLB) candidates for eviction. x86 would seem to be just as affected, although possibly with a different frequency. Do we have any actual metrics on anything here? -hpa -- 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