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:47 +0000 (13:50 -0500)
commit8e3b6653bf5bc3f64a6bc50d2fdce57ea5bbd4e8
treed1edf65691953baf7ae553c5a2d1641bfa3603d6
parent8aa41af5ff417e3260034a0b4d059db99e6c91d3
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.024271 seconds and 4 git commands to generate.