summaryrefslogtreecommitdiffstats
path: root/include/linux/workqueue.h
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@tv-sign.ru>2008-07-25 01:47:47 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-25 10:53:40 -0700
commit1a4d9b0aa0d3c50314e57525a5e5ec2cfc48b4c8 (patch)
tree2ea94cce9fe2cfbcfdc2fd25d33e57f31e0b2699 /include/linux/workqueue.h
parent565b9b14e7f48131bca58840aa404bbef058fa89 (diff)
downloadblackbird-op-linux-1a4d9b0aa0d3c50314e57525a5e5ec2cfc48b4c8.tar.gz
blackbird-op-linux-1a4d9b0aa0d3c50314e57525a5e5ec2cfc48b4c8.zip
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>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud