On Mon, Jul 17, 2023 at 1:58 PM Like Xu <like.xu.linux@xxxxxxxxx> wrote: > > - Use a different data type to track the producers and consumers so that lookups > > don't require a linear walk. AIUI, the "tokens" used to match producers and > > consumers are just kernel pointers, so I _think_ XArray would perform reasonably > > well. > > My measurements show that there is little performance gain from optimizing lookups. How did you test this? Paolo