/* Clears the ZONE_OOM_LOCKED flag for all zones in the zonelist so that failed allocation attempts with zonelists containing them may now recall the OOM killer, if necessary.  */
void clear_zonelist_oom(struct zonelist *zonelist, gfp_t gfp_mask)
/* Clears the ZONE_OOM_LOCKED flag for all zones in the zonelist so that failed allocation attempts with zonelists containing them may now recall the OOM killer, if necessary.  */
void clear_zonelist_oom(struct zonelist *zonelist, gfp_t gfp_mask)
{
	struct zoneref *z;
	struct zone *zone;
	spin_lock(&zone_scan_lock);
	for_each_zone_zonelist(zone, z, zonelist, gfp_zone(gfp_mask)) {
		zone_clear_flag(zone, ZONE_OOM_LOCKED);
	}
	spin_unlock(&zone_scan_lock);
}