From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750995AbVHJV4r (ORCPT ); Wed, 10 Aug 2005 17:56:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750996AbVHJV4q (ORCPT ); Wed, 10 Aug 2005 17:56:46 -0400 Received: from dvhart.com ([64.146.134.43]:16258 "EHLO localhost.localdomain") by vger.kernel.org with ESMTP id S1750987AbVHJV4q (ORCPT ); Wed, 10 Aug 2005 17:56:46 -0400 Date: Wed, 10 Aug 2005 14:56:41 -0700 From: "Martin J. Bligh" Reply-To: "Martin J. Bligh" To: Pavel Machek , Daniel Phillips Cc: Nick Piggin , Benjamin Herrenschmidt , linux-kernel , Linux Memory Management , Hugh Dickins , Linus Torvalds , Andrew Morton , Andrea Arcangeli Subject: Re: [RFC][patch 0/2] mm: remove PageReserved Message-ID: <1256640000.1123711001@flay> In-Reply-To: <20050810215022.GA2465@elf.ucw.cz> References: <42F57FCA.9040805@yahoo.com.au> <1123577509.30257.173.camel@gaston> <42F87C24.4080000@yahoo.com.au> <200508100522.51297.phillips@arcor.de> <20050810215022.GA2465@elf.ucw.cz> X-Mailer: Mulberry/2.1.2 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org --On Wednesday, August 10, 2005 23:50:22 +0200 Pavel Machek wrote: > Hi! > >> > Swsusp is the main "is valid ram" user I have in mind here. It >> > wants to know whether or not it should save and restore the >> > memory of a given `struct page`. >> >> Why can't it follow the rmap chain? > > It is walking physical memory, not memory managment chains. I need > something like: Can you not use page_is_ram(pfn) ? M.