Re: [PATCH 8/8] nfsd: hold net namespace reference in nfsd_file

From: Jeff Layton

Date: Mon Jun 01 2026 - 14:28:49 EST


On Mon, 2026-06-01 at 18:50 +0100, Al Viro wrote:
> That means that each nfsd_file_alloc()/nfsd_file_free() is now touching
> the same cacheline on kernels with netns enabled.  Scalability implications
> might be interesting...

That's a very good point.

There are some alternatives. Let me play around with them and see if I
can find something better.

Thanks for the review,
--
Jeff Layton <jlayton@xxxxxxxxxx>