From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com [9.17.195.106]) by e38.co.us.ibm.com (8.13.1/8.13.1) with ESMTP id mA47ZUS0022536 for ; Tue, 4 Nov 2008 00:35:30 -0700 Received: from d03av04.boulder.ibm.com (d03av04.boulder.ibm.com [9.17.195.170]) by d03relay04.boulder.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id mA47aGGr119212 for ; Tue, 4 Nov 2008 00:36:16 -0700 Received: from d03av04.boulder.ibm.com (loopback [127.0.0.1]) by d03av04.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id mA47aGqf029655 for ; Tue, 4 Nov 2008 00:36:16 -0700 Subject: Re: [linux-pm] [PATCH] hibernation should work ok with memory hotplug From: Dave Hansen In-Reply-To: <200811040808.36464.rjw@sisk.pl> References: <20081029105956.GA16347@atrey.karlin.mff.cuni.cz> <1225751665.12673.511.camel@nimitz> <1225771353.6755.16.camel@nigel-laptop> <200811040808.36464.rjw@sisk.pl> Content-Type: text/plain Date: Mon, 03 Nov 2008 23:36:14 -0800 Message-Id: <1225784174.12673.547.camel@nimitz> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: "Rafael J. Wysocki" Cc: Nigel Cunningham , Matt Tolentino , linux-pm@lists.osdl.org, Dave Hansen , linux-kernel@vger.kernel.org, linux-mm@kvack.org, pavel@suse.cz, Mel Gorman , Andy Whitcroft , Andrew Morton List-ID: On Tue, 2008-11-04 at 08:08 +0100, Rafael J. Wysocki wrote: > A pfn always refers to specific page frame and/or struct page, so yes. > However, in one of the nodes these pfns are sort of "invalid" (they point > to struct pages belonging to other zones). AFAICS. Part of this problem is getting out of the old zone mindset. It used to be that there were one, two, or three zones, set up at boot, with static ranges. These never had holes, never changed, and were always stacked up nice and tightly on top of one another. It ain't that way no more. Now, the zones are much more truly "allocation pools". They're bunches of memory with similar attributes and hypervisors or firmware can hand them to the OS in very interesting ways. This means that the attributes that help us pool the memory together have less and less to do with physical addresses. A given physical address a decreasing chance of being related to its neighbor. -- Dave -- 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