lkml.org 
[lkml]   [2022]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 1/3] radix-tree: propagate all tags in idr tree
    On Tue, Jun 14, 2022 at 02:09:47PM -0400, Brian Foster wrote:
    > The IDR tree has hardcoded tag propagation logic to handle the
    > internal IDR_FREE tag and ignore all others. Fix up the hardcoded
    > logic to support additional tags.
    >
    > This is specifically to support a new internal IDR_TGID radix tree
    > tag used to improve search efficiency of pids with associated
    > PIDTYPE_TGID tasks within a pid namespace.

    Wouldn't it make sense to switch over to an xarray here rather
    then adding new features to the radix tree?

    \
     
     \ /
      Last update: 2022-06-15 13:13    [W:3.343 / U:0.104 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site