On Tue, Jan 17, 2017 at 11:16:07PM +0100, Vlastimil Babka wrote: > Since commit c33d6c06f60f ("mm, page_alloc: avoid looking up the first zone in > a zonelist twice") we have a wrong check for NULL preferred_zone, which can > theoretically happen due to concurrent cpuset modification. We check the > zoneref pointer which is never NULL and we should check the zone pointer. > > Fixes: c33d6c06f60f ("mm, page_alloc: avoid looking up the first zone in a zonelist twice") > Signed-off-by: Vlastimil Babka <vbabka@xxxxxxx> Acked-by: Mel Gorman <mgorman@xxxxxxxxxxxxxxxxxxx> -- Mel Gorman SUSE Labs -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>