]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - kernel/fork.c
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)
commit158e1645e07f3e9f7e4962d7a0997f5c3b98311b
tree09d695b3a0410afe15f7fd6006bc6c1effee151d
parent41f9d29f09ca0b22c3631e8a39676e74cda9bcc0
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