Thread (18 messages) 18 messages, 5 authors, 2011-09-21

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

From: Dave Hansen <hidden>
Date: 2011-09-21 16:31:13
Also in: linux-arm-kernel, linux-media, lkml

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, 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/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help