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

Dave Hansen dave at linux.vnet.ibm.com
Wed Sep 21 12:30:51 EDT 2011


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




More information about the linux-arm-kernel mailing list