Re: One problem in reassign pci bus number?

From: Yinghai Lu
Date: Fri May 04 2012 - 13:44:43 EST


On Thu, May 3, 2012 at 9:52 PM, Richard Yang <weiyang@xxxxxxxxxxxxxxxxxx> wrote:
>
> BTW, even if this value is returned by __find_res_top_free_size(), or
> returned after this function is called, the purpose of the
> __find_res_top_free_size() is to get the biggest free space under the
> first parameter?

__find_res_top_free_size() is used to get size just under top, and
then use it to calculate size above top that need to be extended.

at last will combine free size under top and allocated size above top
and return.

Yinghai
--
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/