UserfaultFD: Extension for non cooperative uffd usage
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | uffd: Tossing bits aroundfs/ | +28 | 0 replies | |
| 2/3 | uffd: Introduce the v2 APIfs/ include/ | +62 | 4 replies | |
| 3/3 | uffd: Introduce fork() notificationfs/ include/ include/ +1 more | +194 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] UserfaultFD: Extension for non cooperative uffd usage
Hi,
On the recent LSF Andrea presented his userfault-fd patches and I had shown some issues that appear in usage scenarios when the monitor task and mm task do not cooperate to each other on VM changes (and fork()-s).
Here's the implementation of the extended uffd API that would help us to address those issues.
As proof of concept I've implemented only fix for fork() case, but I also plan to add the mremap() and exit() notifications, both are also required for such non-cooperative usage.
More details about the extension itself is in patch #2 and the fork() notification description is in patch #3.
Comments and suggestion are warmly welcome :)
Andrea, what's the best way to go on with the patches -- would you prefer to include them in your git tree or should I instead continue with them on my own, re-sending them when required? Either way would be OK for me.
Thanks,
Pavel