Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 10 Dec 2001 08:58:48 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 10 Dec 2001 08:58:39 -0500 Received: from lightning.swansea.linux.org.uk ([194.168.151.1]:8712 "EHLO the-village.bc.nu") by vger.kernel.org with ESMTP id ; Mon, 10 Dec 2001 08:58:22 -0500 Subject: Re: mm question To: volodya@mindspring.com Date: Mon, 10 Dec 2001 14:07:39 +0000 (GMT) Cc: alan@lxorguk.ukuu.org.uk (Alan Cox), linux-kernel@vger.kernel.org In-Reply-To: from "volodya@mindspring.com" at Dec 10, 2001 08:47:58 AM X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: From: Alan Cox Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org > It does not have to be contiguous. I was thinking of simply starting with > the smallest address and trying to free the pages until the needed amount > is available. But I have no idea how to properly do locking or force the > page to be swapped out or something. You can simply get_free_page() 300K of pages. However you can't land them in a given band other than the existing "below 16Mb" "below 4Gb" "anywhere" bands. Alan - 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/