Re: [PATCH] ipc: Convert ipcs_idr to XArray
From: Matthew Wilcox
Date: Tue Apr 21 2020 - 14:33:49 EST
On Mon, Apr 20, 2020 at 10:06:03AM -0700, Matthew Wilcox wrote:
> On Mon, Apr 20, 2020 at 05:35:20PM +0200, Manfred Spraul wrote:
> > Would it be possible to use something like
> >
> > xa_alloc(,entry=NULL,)
> >
> > new->seq = ...
> >
> > xa_store(,entry=new,);
>
> Yes, that would absolutely be possible, and some users do exactly that.
> I thought that creating a new message queue / semaphore set / shared
> memory segment would be performance sensitive.
Updated: