| From: |
| ebiederm@xmission.com (Eric W. Biederman) |
| To: |
| "Hans J. Koch" <hjk@linutronix.de> |
| Subject: |
| [PATCH 0/5] uio hotplug support |
| Date: |
| Mon, 20 Sep 2010 00:19:59 -0700 |
| Message-ID: |
| <m139t451b4.fsf_-_@fess.ebiederm.org> |
| Cc: |
| Greg Kroah-Hartman <gregkh@suse.de>, linux-kernel@vger.kernel.org,
Thomas Gleixner <tglx@linutronix.de> |
| Archive-link: |
| Article, Thread
|
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/