]> Git Repo - linux.git/commit
workqueues: insert_work: use "list_head *" instead of "int tail"
authorOleg Nesterov <[email protected]>
Fri, 25 Jul 2008 08:47:47 +0000 (01:47 -0700)
committerLinus Torvalds <[email protected]>
Fri, 25 Jul 2008 17:53:40 +0000 (10:53 -0700)
commit1a4d9b0aa0d3c50314e57525a5e5ec2cfc48b4c8
tree2ea94cce9fe2cfbcfdc2fd25d33e57f31e0b2699
parent565b9b14e7f48131bca58840aa404bbef058fa89
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 <[email protected]>
Cc: Jarek Poplawski <[email protected]>
Cc: Max Krasnyansky <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
kernel/workqueue.c
This page took 0.049905 seconds and 4 git commands to generate.