lkml.org 
[lkml]   [2012]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH 08/13] PCI: Add pci_bus_extend/shrink_top()
    From
    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/

    \
     
     \ /
      Last update: 2012-01-30 19:45    [W:6.332 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site