Re: [RFC v2] memory-hotplug: remove MIGRATE_ISOLATE from free_area->free_list
From: Michal Nazarewicz
Date: Thu Sep 06 2012 - 08:51:42 EST
On Thu, Sep 06 2012, Lai Jiangshan wrote:
> +found:
> + next_pfn = page_to_pfn(page);
> + list_for_each_entry_from(page, &isolated_pages, lru) {
> + if (page_to_pfn(page) != next_pfn)
> + return false;
> + pfn = page_to_pfn(page);
+ pfn = page_to_pfn(page);
+ if (pfn != next_pfn)
+ return false;
> + next_pfn = pfn + (1UL << page_order(page));
> + if (next_pfn >= end_pfn)
> + return true;
> }
--
Best regards, _ _
.o. | Liege of Serenely Enlightened Majesty of o' \,=./ `o
..o | Computer Science, MichaÅ âmina86â Nazarewicz (o o)
ooo +----<email/xmpp: mpn@xxxxxxxxxx>--------------ooO--(_)--Ooo-- Attachment:
pgp00000.pgp
Description: PGP signature