Skip to content

uio hotplug support

Eric W. Biederman lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 5 patches 9 repliesIn review

Patches in v1 No applies recorded yet

None of the 5 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] uio hotplug support

Implement the ability to hotunplug a uio device while file handles are still open without crashing.

I have written the code very carefully, and this survives my basic testing. So at the very least this is better than what is present in uio today.

I have implemented the ``locking'' for hotunplug support in a generic library, that should be reusable to make this kind of support easier to add in other pieces of the kernel.

Eric W. Biederman (5):
uio: Simplify the lifetime logic of struct uio_device.
uio: Kill unused vma_count.
uio: Remove unused uio_info mmap method.
libunload: A library to help remove open files
uio: Implement hotunplug support, using libunload

---
 drivers/uio/uio.c          |  326 ++++++++++++++++++++++++++++++--------------
 fs/Makefile                |    2 +-
 fs/libunload.c             |  166 ++++++++++++++++++++++
 include/linux/uio_driver.h |   11 +--
 include/linux/unload.h     |   33 +++++
 5 files changed, 426 insertions(+), 112 deletions(-)