Fix: workqueue: struct urcu_work vs rcu_head mixup
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sun, 9 Dec 2018 11:37:09 +0000 (06:37 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 16 Dec 2021 20:43:55 +0000 (15:43 -0500)
commita74e66614120ba98109a48244fab30fcce92ff83
treea019d308b9870293912b36296407d3df73128558
parent24db930feb7bed607505420905f23ffc1040c9a7
Fix: workqueue: struct urcu_work vs rcu_head mixup

The workqueue code was derived from call-rcu, and its API
expects a struct urcu_work for work items, but it internally iterates
over struct rcu_head.

This is not an issue at runtime because both structures have the
exact same layout and content, but it is a type mixup nevertheless.

Use the right type in the implementation.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
workqueue.c
This page took 0.023479 seconds and 4 git commands to generate.