Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759274Ab2EDRor (ORCPT ); Fri, 4 May 2012 13:44:47 -0400 Received: from mail-pz0-f45.google.com ([209.85.210.45]:32925 "EHLO mail-pz0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753125Ab2EDRop (ORCPT ); Fri, 4 May 2012 13:44:45 -0400 X-Greylist: delayed 456 seconds by postgrey-1.27 at vger.kernel.org; Fri, 04 May 2012 13:44:45 EDT MIME-Version: 1.0 In-Reply-To: <20120504045205.GA21624@richard> References: <20120410090306.GA7056@richard> <20120422155202.GA13540@richard> <20120503065455.GA30042@richard> <20120504024721.GA6775@richard> <20120504045205.GA21624@richard> Date: Fri, 4 May 2012 10:37:08 -0700 X-Google-Sender-Auth: CYxOnh-PYvqFImme6n9ApjohMhs Message-ID: Subject: Re: One problem in reassign pci bus number? From: Yinghai Lu To: Richard Yang Cc: Wei Yang , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 779 Lines: 19 On Thu, May 3, 2012 at 9:52 PM, Richard Yang 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/