Re: [PATCH -v3] x86: do not free zero sized per cpu areas

From: H. Peter Anvin
Date: Fri Mar 19 2010 - 19:36:52 EST


On 03/19/2010 04:24 PM, Yinghai Lu wrote:
>
> confused, do you mean like this
> if (start < end), find_overlapped_early will stop the loop.
>

No.

What I mean is that free_early_partial(), when start == end, is a
legitimate operation that doesn't free anything -- the range is zero
bytes long. Just return.

When start > end, there is an explicit error we should warn about.

-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/