Oleg Nesterov 1a4d9b0aa0 workqueues: insert_work: use "list_head *" instead of "int tail"
insert_work() inserts the new work_struct before or after cwq->worklist,
depending on the "int tail" parameter. Change it to accept "list_head *"
instead, this shrinks .text a bit and allows us to insert the barrier
after specific work_struct.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Jarek Poplawski <jarkao2@gmail.com>
Cc: Max Krasnyansky <maxk@qualcomm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-07-25 10:53:40 -07:00
..
2008-07-23 17:47:32 -07:00
2008-05-01 08:03:59 -07:00
2008-07-25 10:53:38 -07:00
2008-07-25 10:53:40 -07:00
2008-03-30 14:18:41 -07:00
2007-07-16 09:05:50 -07:00
2008-06-24 10:52:55 -05:00
2008-07-02 15:06:24 -06:00
2008-07-25 10:53:29 -07:00
2008-07-16 18:02:33 -07:00
2007-07-16 09:05:50 -07:00
2008-05-23 20:39:40 +02:00
2008-02-06 10:41:02 -08:00
2008-07-25 10:53:29 -07:00
2008-04-30 08:29:53 -07:00
2008-02-08 09:22:31 -08:00