]> git.baikalelectronics.ru Git - kernel.git/commit
tty: make the kref destructor occur asynchronously
authorAlan Cox <alan@linux.intel.com>
Sat, 19 Sep 2009 20:13:22 +0000 (13:13 -0700)
committerLive-CD User <linux@linux.site>
Sat, 19 Sep 2009 20:13:22 +0000 (13:13 -0700)
commit412d3f23a6804a0ed00a8078a88cebd09c9d9b70
tree9a340199b17a680ea41ac65bf5b8ff0c5d84cb14
parenta747f0c082904eb87eaf07377c6debbab18d50e8
tty: make the kref destructor occur asynchronously

We want to be able to sleep in the destructor for USB at least. It isn't a
hot path so just pushing it to a work queue doesn't really cause any
difficulty.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/tty_io.c