On Thu, Dec 11, 2025 at 12:47:16PM +0900, Wolfram Sang wrote:
Replying late to this thread, I don't think this is right for V4L2. When it comes to solving the .remove() vs. userspace race, I think the right solution is at the cdev level.
Isn't there even prototype code from Dan Williams?
"[PATCH 1/3] cdev: Finish the cdev api with queued mode support"
I mentioned that in my LPC talk in 2022 :-) I think we should merge that (or a rebased, possibly improved version of it). I've meant to try plumbing that series in V4L2 but couldn't find the time so far.