]> err.no Git - linux-2.6/commit
workqueue: introduce workqueue_struct->singlethread
authorOleg Nesterov <oleg@tv-sign.ru>
Wed, 9 May 2007 09:34:13 +0000 (02:34 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 9 May 2007 19:30:52 +0000 (12:30 -0700)
commitcce1a1656c9a3fdc6c6c1029b576e4ab6ecaac37
tree016a79e653156e32766f17bd801ffd0e4dd3a79f
parentb1f4ec172f75bc2f5cc4f4be69b5587660a955d2
workqueue: introduce workqueue_struct->singlethread

Add explicit workqueue_struct->singlethread flag.  This lessens .text a
little, but most importantly this allows us to manipulate wq->list without
changine the meaning of is_single_threaded().

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/workqueue.c