Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755242Ab2EGCEL (ORCPT ); Sun, 6 May 2012 22:04:11 -0400 Received: from mail-pb0-f46.google.com ([209.85.160.46]:60718 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754931Ab2EGCEJ (ORCPT ); Sun, 6 May 2012 22:04:09 -0400 MIME-Version: 1.0 In-Reply-To: <20120507011722.GA8122@richard> References: <20120503065455.GA30042@richard> <20120504024721.GA6775@richard> <20120504045205.GA21624@richard> <20120506151715.GA7773@richard> <20120507011722.GA8122@richard> Date: Sun, 6 May 2012 19:04:09 -0700 X-Google-Sender-Auth: x7qrrjlgMQEag2rbOnNvpZOaCHs 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: 730 Lines: 19 On Sun, May 6, 2012 at 6:17 PM, Richard Yang wrote: > so this free space will be combined with the free space got from > parent, form a big space to meet the requirement. > > This is the general idea about probe_resource()? > > And this is the design decision to find the free space at the end > of top, even at the start we have more free space? no, probe_resource will get from start if space is big enough. if not, it will try to extend top. 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/