workqueue: add support for lazy workqueues
authorJens Axboe <jens.axboe@oracle.com>
Mon, 24 Aug 2009 07:48:33 +0000 (09:48 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 24 Aug 2009 07:50:58 +0000 (09:50 +0200)
commitf5f06ca1cc3b3bfac51422ddcd95248954e90738
tree079e7e65485e584189f893be15da1a664d6653b4
parent2fef7756cf2bcae79e9a62ce85f1300ab1147d42
workqueue: add support for lazy workqueues

Lazy workqueues are like normal workqueues, except they don't
start a thread per CPU by default. Instead threads are started
when they are needed, and exit when they have been idle for
some time.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
include/linux/workqueue.h
kernel/workqueue.c