Re: [PATCH v7 1/3] revocable: Revocable resource management
From: Danilo Krummrich
Date: Fri Jan 16 2026 - 11:41:52 EST
On Fri Jan 16, 2026 at 5:04 PM CET, Laurent Pinchart wrote:
> Based on the discussions we had at LPC, the revocable resource management API
> is not the right solution to handle races between device removal and userspace
> access.
Please see: https://lore.kernel.org/all/DFQ5D44A0348.PZJIGPL972N@xxxxxxxxxx/
> It is however a possibly useful tool for races between producers and consumers
> *inside the kernel*.
Do you have an example for such a case?