Fix: Don't nest get online cpus
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 13 Dec 2017 18:40:42 +0000 (13:40 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 13 Dec 2017 18:50:51 +0000 (13:50 -0500)
commit2fea28c13568025a6797755207266286cecd0a89
tree16a7065f514d2293cb40d5fd2973040d57ba3c02
parent0d2154e80e2ea79466f478be062845c6a9ebdb10
Fix: Don't nest get online cpus

Since the cpu hotplug refactoring in the Linux kernel, CPU hotplug
"online cpus" read lock cannot be nested anymore.

Fix this by disabling preemption around the section instead.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lib/ringbuffer/ring_buffer_frontend.c
This page took 0.025813 seconds and 4 git commands to generate.