[PATCH 0/5] uio hotplug support

From: Eric W. Biederman
Date: Mon Sep 20 2010 - 03:20:24 EST



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(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/