On 07/18/2014 12:55 AM, Wang Nan wrote:
> +     if (!zone_is_empty(movable_zone))
> +             if (zone_spans_pfn(movable_zone, start_pfn) ||
> +                             (zone_end_pfn(movable_zone) <= start_pfn))
> +                     zone = movable_zone;
> +

It's nice that you hit so many architectures, but is there a way to do
this that doesn't involve copying and pasting the same bit of code in to
each architecture?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to