]> git.baikalelectronics.ru Git - kernel.git/commit
trim task_work: get rid of hlist
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 27 Jun 2012 05:24:13 +0000 (09:24 +0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 22 Jul 2012 19:57:55 +0000 (23:57 +0400)
commit802410bf3760077780bc423f45eb9754b2ea80ac
tree09d695b3a0410afe15f7fd6006bc6c1effee151d
parentfb70400410b2d42c2736739037e372444e72af10
trim task_work: get rid of hlist

layout based on Oleg's suggestion; single-linked list,
task->task_works points to the last element, forward pointer
from said last element points to head.  I'd still prefer
much more regular scheme with two pointers in task_work,
but...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
include/linux/sched.h
include/linux/task_work.h
include/linux/tracehook.h
kernel/fork.c
kernel/task_work.c