Re: [PATCH v2 0/6] kernfs: proposed locking and concurrency improvement

From: Tejun Heo
Date: Fri Dec 18 2020 - 10:01:29 EST


Hello,

On Fri, Dec 18, 2020 at 03:36:21PM +0800, Ian Kent wrote:
> Sounds like your saying it would be ok to add a lock to the
> attrs structure, am I correct?

Yeah, adding a lock to attrs is a lot less of a problem and it looks like
it's gonna have to be either that or hashed locks, which might actually make
sense if we're worried about the size of attrs (I don't think we need to).

Thanks.

--
tejun