From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933092AbYAaKcR (ORCPT ); Thu, 31 Jan 2008 05:32:17 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932260AbYAaKbs (ORCPT ); Thu, 31 Jan 2008 05:31:48 -0500 Received: from one.firstfloor.org ([213.235.205.2]:58568 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1765566AbYAaKbr (ORCPT ); Thu, 31 Jan 2008 05:31:47 -0500 Date: Thu, 31 Jan 2008 12:06:10 +0100 From: Andi Kleen To: Andrew Morton Cc: Andi Kleen , Peter Zijlstra , hugh@veritas.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, npiggin@suse.de, riel@redhat.com, mztabzr@0pointer.de, mpm@selenic.com Subject: Re: [PATCH] mm: MADV_WILLNEED implementation for anonymous memory Message-ID: <20080131110610.GA31090@one.firstfloor.org> References: <1201714139.28547.237.camel@lappy> <20080130144049.73596898.akpm@linux-foundation.org> <1201769040.28547.245.camel@lappy> <20080131011227.257b9437.akpm@linux-foundation.org> <1201772118.28547.254.camel@lappy> <20080131014702.705f1040.akpm@linux-foundation.org> <1201773206.28547.259.camel@lappy> <20080131021949.92715ba4.akpm@linux-foundation.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080131021949.92715ba4.akpm@linux-foundation.org> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Yeah, the 2.5 switch to physical scanning killed us there. > > I still don't know why my allocate-swapspace-according-to-virtual-address > change didn't help. Much. Marcelo played with that a bit too. I've been thinking about just always doing swap on > page clusters. Any reason swapping couldn't be done on e.g. 1MB chunks? -Andi