Re: [PATCH v5 5/7] revocable: Add fops replacement

From: Jason Gunthorpe

Date: Thu Oct 23 2025 - 10:51:37 EST


On Thu, Oct 23, 2025 at 10:22:01PM +0800, Tzung-Bi Shih wrote:

> I was misunderstanding about the "sync" we were discussing for
> misc_deregister_sync(). The "sync", is analogous to synchronize_srcu()
> of revocable_provider_revoke() in the revocable version [1], doesn't wait
> for closing all opened files.

Yes, and my remark is we don't need to obfuscate simple locks in core
kernel code.

Jason