]> git.baikalelectronics.ru Git - kernel.git/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)
commit7efabd13d664a36c4318ff2472795ec107d20ecf
tree016a79e653156e32766f17bd801ffd0e4dd3a79f
parent6e1d536fd12b34a721ef04f2d403b0d1b21f82c5
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