[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAE9FiQWM4OTFp5NN+KOXxNREQxNWipDjWbbPPiHHJsb6yFmuiQ@mail.gmail.com>
Date: Fri, 4 May 2012 10:37:08 -0700
From: Yinghai Lu <yinghai@...nel.org>
To: Richard Yang <weiyang@...ux.vnet.ibm.com>
Cc: Wei Yang <weiyang.kernel@...il.com>, linux-pci@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: One problem in reassign pci bus number?
On Thu, May 3, 2012 at 9:52 PM, Richard Yang <weiyang@...ux.vnet.ibm.com> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists