Re: [PATCH 1/3] fixup! mm: alloc_contig_freed_pages() added

From: Dave Hansen
Date: Wed Sep 21 2011 - 12:31:13 EST


On Wed, 2011-09-21 at 18:26 +0200, Michal Nazarewicz wrote:
> - page += 1 << order;
> +
> + if (zone_pfn_same_memmap(pfn - count, pfn))
> + page += count;
> + else
> + page = pfn_to_page(pfn);
> }

That all looks sane to me and should fix the bug I brought up.

-- Dave

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/