Messages in this thread | | | Date | Mon, 30 Jan 2012 10:42:01 -0800 | Subject | Re: [PATCH 08/13] PCI: Add pci_bus_extend/shrink_top() | From | Yinghai Lu <> |
| |
On Mon, Jan 30, 2012 at 7:50 AM, Bjorn Helgaas <bhelgaas@google.com> wrote: > On Fri, Jan 27, 2012 at 6:49 PM, Yinghai Lu <yinghai@kernel.org> wrote: >> extend or shrink bus and parent buses top (subordinate) >> >> extended range is verified safe range, and stop at recorded parent_res. ... > This makes me nervous for the same reason as > pci_bus_update_busn_res_end() -- we're changing res->end for resources > already in a tree. How do we know the tree remains consistent? >
Yes, we already try to allocate near the top and later pad the top. So it is safe to just adjust 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/
| |