]> git.baikalelectronics.ru Git - kernel.git/commit
kernel: workqueue: clarify wq_worker_last_func() caller requirements
authorJohannes Weiner <hannes@cmpxchg.org>
Fri, 8 Mar 2019 00:29:30 +0000 (16:29 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 8 Mar 2019 02:32:01 +0000 (18:32 -0800)
commit9c7a45c60b6d8095387edf0a9b499d94abef327a
tree396305027606c8acc1418ac9d2475b5a370aa9ff
parent6bc7dc1d8797282bfd6f5d44d3fb457871058f3e
kernel: workqueue: clarify wq_worker_last_func() caller requirements

This function can only be called safely from very specific scheduler
contexts.  Document those.

Link: http://lkml.kernel.org/r/20190206150528.31198-1-hannes@cmpxchg.org
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Suggested-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/workqueue.c