Skip to content
Snippets Groups Projects
  • Matthew Wilcox's avatar
    ad3d6c72
    xarray: Add XArray load operation · ad3d6c72
    Matthew Wilcox authored
    
    The xa_load function brings with it a lot of infrastructure; xa_empty(),
    xa_is_err(), and large chunks of the XArray advanced API that are used
    to implement xa_load.
    
    As the test-suite demonstrates, it is possible to use the XArray functions
    on a radix tree.  The radix tree functions depend on the GFP flags being
    stored in the root of the tree, so it's not possible to use the radix
    tree functions on an XArray.
    
    Signed-off-by: default avatarMatthew Wilcox <willy@infradead.org>
    ad3d6c72
    History
    xarray: Add XArray load operation
    Matthew Wilcox authored
    
    The xa_load function brings with it a lot of infrastructure; xa_empty(),
    xa_is_err(), and large chunks of the XArray advanced API that are used
    to implement xa_load.
    
    As the test-suite demonstrates, it is possible to use the XArray functions
    on a radix tree.  The radix tree functions depend on the GFP flags being
    stored in the root of the tree, so it's not possible to use the radix
    tree functions on an XArray.
    
    Signed-off-by: default avatarMatthew Wilcox <willy@infradead.org>
Code owners
Assign users and groups as approvers for specific file changes. Learn more.