From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934552AbZHEOei (ORCPT ); Wed, 5 Aug 2009 10:34:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S934510AbZHEOeh (ORCPT ); Wed, 5 Aug 2009 10:34:37 -0400 Received: from mx2.redhat.com ([66.187.237.31]:51470 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934496AbZHEOeg (ORCPT ); Wed, 5 Aug 2009 10:34:36 -0400 Message-ID: <4A79984C.2010508@redhat.com> Date: Wed, 05 Aug 2009 10:33:48 -0400 From: Rik van Riel Organization: Red Hat, Inc User-Agent: Thunderbird 2.0.0.17 (X11/20080915) MIME-Version: 1.0 To: Avi Kivity CC: Wu Fengguang , "Dike, Jeffrey G" , "Yu, Wilfred" , "Kleen, Andi" , Andrea Arcangeli , Hugh Dickins , Andrew Morton , Christoph Lameter , KOSAKI Motohiro , Mel Gorman , LKML , linux-mm , KVM list Subject: Re: [RFC] respect the referenced bit of KVM guest pages? References: <20090805024058.GA8886@localhost> <4A793B92.9040204@redhat.com> <4A794008.6030204@redhat.com> In-Reply-To: <4A794008.6030204@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Avi Kivity wrote: > The attached patch implements this. The attached page requires each page to go around twice before it is evicted, but they will still get evicted in the order in which they were made present. FIFO page replacement was shown to be a bad idea in the 1960's and it is still a terrible idea today. -- All rights reversed.